either because they themselves are not ready or because a dependency isn't. This is annotated by PYTHON_VERSIONS_INCOMPATIBLE= 33 # not yet ported as of x.y.z or PYTHON_VERSIONS_INCOMPATIBLE= 33 # py-foo, py-bar respectively, please use the same style for other packages, and check during updates. Use versioned_dependencies.mk where applicable. Use REPLACE_PYTHON instead of handcoded alternatives, where applicable. Reorder Makefile sections into standard order, where applicable. Remove PYTHON_VERSIONS_INCLUDE_3X lines since that will be default with the next commit. Whitespace cleanups and other nits corrected, where necessary.
29 lines
878 B
Makefile
29 lines
878 B
Makefile
# $NetBSD: Makefile,v 1.8 2014/01/25 10:38:19 thomasklausner Exp $
|
|
|
|
DISTNAME= py-gtk2-docs
|
|
PKGNAME= py-gtk2-docs-1
|
|
WRKSRC= ${WRKDIR}
|
|
CATEGORIES= devel
|
|
MASTER_SITES= http://www.moeraki.com/pygtktutorial/ \
|
|
http://www.moeraki.com/pygtkreference/
|
|
DISTFILES= pygtk2tutorial.tgz pygtk2reference.tgz
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://www.moeraki.com/
|
|
COMMENT= Tutorial and reference manual for PyGTK 2.0
|
|
|
|
NO_BUILD= # yes, certainly
|
|
NO_CONFIGURE= # heck, why not!
|
|
USE_TOOLS+= pax
|
|
|
|
HTMLDIR= share/doc/${DISTNAME}
|
|
DOC_SRCDIR= ${WRKSRC}
|
|
PLIST_SRC= ${WRKDIR}/.PLIST_SRC
|
|
|
|
do-install:
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/${HTMLDIR}
|
|
${CAT} ${PKGDIR}/PLIST.pre >${PLIST_SRC}
|
|
cd ${DOC_SRCDIR} && pax -rw -pe pygtk* ${DESTDIR}${PREFIX}/${HTMLDIR}
|
|
cd ${DESTDIR}${PREFIX} && ${FIND} ${HTMLDIR} -type f -print >>${PLIST_SRC}
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|