31 lines
920 B
Makefile
31 lines
920 B
Makefile
# $NetBSD: Makefile,v 1.2 2004/02/27 15:16:12 mpasternak 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= dotz@irc.pl
|
|
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"
|