a16fc84f19
WRKSRC= ${WRKDIR} This is much cleaner, much more indicative of what happens, and removes another of the negative definitions (NO_.* = value).
32 lines
806 B
Makefile
32 lines
806 B
Makefile
# $NetBSD: Makefile,v 1.11 2001/09/09 20:36:32 agc Exp $
|
|
#
|
|
|
|
DISTNAME= html-2.0
|
|
PKGNAME= py-html-docs-2.0
|
|
CATEGORIES= lang
|
|
MASTER_SITES= http://www.python.org/ftp/python/doc/2.0/
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MAINTAINER= tsarna@netbsd.org
|
|
HOMEPAGE= http://www.python.org/doc/
|
|
COMMENT= HTML Documentation for Python
|
|
|
|
DIST_SUBDIR= python
|
|
|
|
WRKSRC= ${WRKDIR}
|
|
|
|
NO_CONFIGURE= yes
|
|
NO_BUILD= yes
|
|
|
|
HTMLDIR= share/doc/html/python
|
|
PLIST_SRC= ${WRKDIR}/.PLIST_SRC
|
|
|
|
do-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/${HTMLDIR}
|
|
${CAT} ${PKGDIR}/PLIST.pre >${PLIST_SRC}
|
|
(cd ${WRKSRC}; ${PAX} -r -w -v -p e [a-z]* ${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"
|