- Add LICENSE
- Convert to options helper - Add NO_ARCH
This commit is contained in:
@@ -11,13 +11,17 @@ DISTNAME= PyRTF-${PORTVERSION}
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= Library to create RTF documents using the Python language
|
||||
|
||||
USES= python
|
||||
USE_PYTHON= distutils autoplist
|
||||
LICENSE= GPLv1
|
||||
|
||||
USES= python
|
||||
USE_PYTHON= autoplist distutils
|
||||
NO_ARCH= yes
|
||||
|
||||
EXAMPLESDIR= ${PREFIX}/share/examples/py-rtf
|
||||
PORTEXAMPLES= *
|
||||
|
||||
post-install:
|
||||
OPTIONS_DEFINE= EXAMPLES
|
||||
|
||||
post-install-EXAMPLES-on:
|
||||
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user