Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Oct 2013 14:30:30 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r332117 - head/graphics/py-pyglet
Message-ID:  <201310301430.r9UEUUPp008577@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Wed Oct 30 14:30:29 2013
New Revision: 332117
URL: http://svnweb.freebsd.org/changeset/ports/332117

Log:
  - Support staging
  - Use new LIB_DEPENDS syntax

Modified:
  head/graphics/py-pyglet/Makefile

Modified: head/graphics/py-pyglet/Makefile
==============================================================================
--- head/graphics/py-pyglet/Makefile	Wed Oct 30 14:24:19 2013	(r332116)
+++ head/graphics/py-pyglet/Makefile	Wed Oct 30 14:30:29 2013	(r332117)
@@ -10,18 +10,20 @@ PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 MAINTAINER=	amdmi3@FreeBSD.org
 COMMENT=	Cross-platform windowing and multimedia library for Python
 
-LIB_DEPENDS=	freetype:${PORTSDIR}/print/freetype2 \
-		fontconfig:${PORTSDIR}/x11-fonts/fontconfig
+LIB_DEPENDS=	libfreetype.so:${PORTSDIR}/print/freetype2 \
+		libfontconfig.so:${PORTSDIR}/x11-fonts/fontconfig
 
 USE_PYTHON=	yes
-USE_PYDISTUTILS=	yes
+USE_PYDISTUTILS=yes
 USE_GL=		gl glu
 USE_OPENAL=	al
 
 PORTDOCS=	*
 PORTEXAMPLES=	*
 
-NO_STAGE=	yes
+OPTIONS_DEFINE=	DOCS EXAMPLES
+OPTIONS_DEFAULT=DOCS EXAMPLES
+
 .include <bsd.port.options.mk>
 
 .if ${ARCH} != "i386"
@@ -29,13 +31,7 @@ IGNORE=		crashes or doesn't work on !i38
 .endif
 
 post-install:
-.if ${PORT_OPTIONS:MDOCS}
-	${MKDIR} ${DOCSDIR}
-	cd ${WRKSRC}/doc && ${COPYTREE_SHARE} \* ${DOCSDIR}
-.endif
-.if ${PORT_OPTIONS:MEXAMPLES}
-	${MKDIR} ${EXAMPLESDIR}
-	cd ${WRKSRC}/examples && ${COPYTREE_SHARE} \* ${EXAMPLESDIR}
-.endif
+	cd ${WRKSRC}/doc && ${COPYTREE_SHARE} \* ${STAGEDIR}${DOCSDIR}/
+	cd ${WRKSRC}/examples && ${COPYTREE_SHARE} \* ${STAGEDIR}${EXAMPLESDIR}/
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310301430.r9UEUUPp008577>