071f1b1120
pkgsrc changes: - Move more definitions to Makefile.common, drop some that had default values. - Depend on py-OpenSSL and py-ZopeInterface. - Add do-test target. - Remove patch-aa and install all bin/ script with plain names, not with ${PYVERSSUFFIX} appended. setup.py is now much, much simpler, and rewriting the patch would be difficult. It doesn't matter anyway, as I tried really hard to install py-OpenSSL for both python24 and python25 and it just doesn't work.
23 lines
675 B
Makefile
23 lines
675 B
Makefile
# $NetBSD: Makefile,v 1.9 2008/08/22 21:49:08 epg Exp $
|
|
|
|
PKGNAME= py-twisted-docs-${TWISTED_VERSION}
|
|
COMMENT= Framework for writing networked applications
|
|
.include "../../net/py-twisted/Makefile.common"
|
|
|
|
NO_CONFIGURE= yes
|
|
NO_BUILD= yes
|
|
USE_TOOLS+= pax
|
|
|
|
HTMLDIR= share/doc/py-twisted-docs
|
|
DOC_SRCDIR= ${WRKSRC}/doc
|
|
PLIST_SRC= ${WRKDIR}/.PLIST_SRC
|
|
|
|
INSTALLATION_DIRS= ${HTMLDIR}
|
|
|
|
do-install:
|
|
cd ${DOC_SRCDIR} && pax -rw -pe * ${DESTDIR}${PREFIX}/${HTMLDIR}
|
|
cd ${DESTDIR}${PREFIX} && ${FIND} ${HTMLDIR} -type f -print >>${PLIST_SRC}
|
|
cd ${DESTDIR}${PREFIX} && ${FIND} -d ${HTMLDIR} -type d -print | \
|
|
${SED} -e "s/^/@dirrm /" >>${PLIST_SRC}
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|