31 lines
930 B
Makefile
31 lines
930 B
Makefile
# $NetBSD: Makefile,v 1.4 2006/05/19 16:51:33 ykomatsu 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!
|
|
|
|
HTMLDIR= share/doc/${DISTNAME}
|
|
DOC_SRCDIR= ${WRKSRC}
|
|
PLIST_SRC= ${WRKDIR}/.PLIST_SRC
|
|
|
|
do-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/${HTMLDIR}
|
|
${CAT} ${PKGDIR}/PLIST.pre >${PLIST_SRC}
|
|
cd ${DOC_SRCDIR} && ${PAX} -rw -pe pygtk* ${PREFIX}/${HTMLDIR}
|
|
cd ${PREFIX} && ${FIND} ${HTMLDIR} -type f -print >>${PLIST_SRC}
|
|
cd ${PREFIX} && ${FIND} -d ${HTMLDIR} -type d -print | \
|
|
${SED} -e "s/^/@dirrm /" >>${PLIST_SRC}
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|