diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2017-02-05 20:50:46 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2017-02-05 20:50:46 +0800 |
commit | 79a7d97508838da6bfa3a148b874dd5da15c8d31 (patch) | |
tree | d7d96b41c07db62df6036a28b400ce9529cfeb57 /accessibility | |
parent | 4ab62795a642b0a1619f41204522cdd0578a4d26 (diff) | |
download | freebsd-ports-gnome-79a7d97508838da6bfa3a148b874dd5da15c8d31.tar.gz freebsd-ports-gnome-79a7d97508838da6bfa3a148b874dd5da15c8d31.tar.zst freebsd-ports-gnome-79a7d97508838da6bfa3a148b874dd5da15c8d31.zip |
- Add LICENSE
- Switch to options helpers
- Pet portlint
Diffstat (limited to 'accessibility')
-rw-r--r-- | accessibility/py-papi/Makefile | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/accessibility/py-papi/Makefile b/accessibility/py-papi/Makefile index c56078c29548..6c5d9e929211 100644 --- a/accessibility/py-papi/Makefile +++ b/accessibility/py-papi/Makefile @@ -11,6 +11,9 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= ports@FreeBSD.org COMMENT= ATK accessibility wrapper for python +LICENSE= BSD2CLAUSE +LICENSE_FILE= ${WRKSRC}/COPYING + USES= pkgconfig python:2 USE_GNOME= atk USE_PYTHON= autoplist distutils @@ -21,11 +24,11 @@ EXAMPLES= atkaction.py atkapplication.py atkcapi.c atktext.py atkvalue.py \ OPTIONS_DEFINE= EXAMPLES post-patch: - ${REINPLACE_CMD} -i "" -e 's|: docfiles|: []|g' ${WRKSRC}/setup.py + @${REINPLACE_CMD} -i "" -e 's|: docfiles|: []|g' ${WRKSRC}/setup.py -post-install: - @${INSTALL} -d ${STAGEDIR}${EXAMPLESDIR}/ - @cd ${WRKSRC}/doc/examples && \ +post-install-EXAMPLES-on: + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/ + cd ${WRKSRC}/doc/examples && \ ${INSTALL_DATA} ${EXAMPLES} ${STAGEDIR}${EXAMPLESDIR}/ .include <bsd.port.mk> |