diff options
author | bapt <bapt@FreeBSD.org> | 2014-04-05 06:41:46 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2014-04-05 06:41:46 +0800 |
commit | b988222c59693bc773869b701a30eabcfe74b0b9 (patch) | |
tree | 93a9be76384fd4feb6e0d2808c73e7abe4cc7570 /audio | |
parent | a2eb1149f8e693dfd8d5b8a51f88a6f0b26a8c30 (diff) | |
download | freebsd-ports-gnome-b988222c59693bc773869b701a30eabcfe74b0b9.tar.gz freebsd-ports-gnome-b988222c59693bc773869b701a30eabcfe74b0b9.tar.zst freebsd-ports-gnome-b988222c59693bc773869b701a30eabcfe74b0b9.zip |
Support stage
Convert DOCS option into EXAMPLES
Diffstat (limited to 'audio')
-rw-r--r-- | audio/py-openal/Makefile | 16 | ||||
-rw-r--r-- | audio/py-openal/pkg-plist | 8 |
2 files changed, 7 insertions, 17 deletions
diff --git a/audio/py-openal/Makefile b/audio/py-openal/Makefile index 007c84d57c3c..8a9b2816b791 100644 --- a/audio/py-openal/Makefile +++ b/audio/py-openal/Makefile @@ -3,7 +3,7 @@ PORTNAME= openal PORTVERSION= 0.1.6 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= audio python MASTER_SITES= http://download.gna.org/pyopenal/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -12,27 +12,25 @@ DISTNAME= PyOpenAL-${PORTVERSION} MAINTAINER= acm@FreeBSD.org COMMENT= PyOpenAL is a binding of OpenAL for Python +OPTIONS_DEFINE= EXAMPLES + DIST_SUBDIR= python USES= openal:al,alut -NO_STAGE= yes USE_PYTHON= yes USE_PYDISTUTILS= yes -PYDISTUTILS_PKGNAME= PyOpenAL +PYDISTUTILS_AUTOPLIST= yes WRKSRC= ${WRKDIR}/PyOpenAL-${PORTVERSION} EXAMPLESDIR= ${PREFIX}/share/examples/py-openal +PORTEXAMPLES= * OPTIONS_DEFINE= DOCS -.include <bsd.port.options.mk> - post-patch: @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ ${WRKSRC}/setup.py post-install: -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${EXAMPLESDIR} - ${INSTALL_DATA} ${WRKSRC}/demo/* ${EXAMPLESDIR} -.endif + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/demo/* ${STAGEDIR}${EXAMPLESDIR} .include <bsd.port.mk> diff --git a/audio/py-openal/pkg-plist b/audio/py-openal/pkg-plist deleted file mode 100644 index d46c14af3cb4..000000000000 --- a/audio/py-openal/pkg-plist +++ /dev/null @@ -1,8 +0,0 @@ -%%PYTHON_SITELIBDIR%%/pyopenal/__init__.py -%%PYTHON_SITELIBDIR%%/pyopenal/__init__.pyc -%%PYTHON_SITELIBDIR%%/pyopenal/__init__.pyo -%%PYTHON_SITELIBDIR%%/_openal.so -%%PORTDOCS%%%%EXAMPLESDIR%%/demo.py -%%PORTDOCS%%%%EXAMPLESDIR%%/sword.wav -%%PORTDOCS%%@dirrm %%EXAMPLESDIR%% -@dirrm %%PYTHON_SITELIBDIR%%/pyopenal |