diff options
author | acm <acm@FreeBSD.org> | 2009-04-29 23:27:14 +0800 |
---|---|---|
committer | acm <acm@FreeBSD.org> | 2009-04-29 23:27:14 +0800 |
commit | 7012a138352277fae494ab6f1b3fcf40768ff675 (patch) | |
tree | 98a382883f2734f8d6e18e44e376888bbf357b16 /graphics/py-soya3d/Makefile | |
parent | 6a97cf49f0ac74b4fdaf1235cfc6cb9128f9e9b2 (diff) | |
download | freebsd-ports-graphics-7012a138352277fae494ab6f1b3fcf40768ff675.tar.gz freebsd-ports-graphics-7012a138352277fae494ab6f1b3fcf40768ff675.tar.zst freebsd-ports-graphics-7012a138352277fae494ab6f1b3fcf40768ff675.zip |
- Use correctly NOPORTDOCS and NOPORTEXAMPLES
- Fix pkg-plist
- Bump PORTREVISION
Suggested by: itetcu
Diffstat (limited to 'graphics/py-soya3d/Makefile')
-rw-r--r-- | graphics/py-soya3d/Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/graphics/py-soya3d/Makefile b/graphics/py-soya3d/Makefile index aa05d481048..620304e7f36 100644 --- a/graphics/py-soya3d/Makefile +++ b/graphics/py-soya3d/Makefile @@ -7,7 +7,7 @@ PORTNAME= soya3d PORTVERSION= 0.14 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= graphics python MASTER_SITES= http://download.gna.org/soya/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -43,7 +43,7 @@ MAN1= soya_editor.1 INSTALL_DIR= ${INSTALL} -d -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} SOYATUTVER= 0.14 -.if !defined(NOPORTDOCS) +.if !defined(NOPORTEXAMPLES) DISTFILES+= SoyaTutorial-${SOYATUTVER}${EXTRACT_SUFX} .endif @@ -57,11 +57,14 @@ post-patch: @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/setup.py post-install: -.if !defined(NOPORTDOCS) +.if !defined(NOPORTEXAMPLES) @${INSTALL_DIR} ${EXAMPLESDIR} @${CP} -R ${WRKDIR}/SoyaTutorial-${SOYATUTVER}/tutorial/* ${EXAMPLESDIR} @${FIND} ${EXAMPLESDIR}/* -type f -print0 | \ ${XARGS} -0 ${CHMOD} ${SHAREMODE} +.endif + +.if !defined(NOPORTDOCS) @${INSTALL_DIR} ${DOCSDIR} .for FILE in AUTHORS README @${INSTALL_DATA} ${WRKDIR}/SoyaTutorial-${SOYATUTVER}/${FILE} ${DOCSDIR} |