- Add LICENSE

- Switch to options helpers
- Pet portlint
This commit is contained in:
Dmitry Marakasov 2017-02-05 12:50:46 +00:00
parent ed1c866570
commit 9bcecac54a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=433399

View file

@ -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>