31 lines
853 B
Makefile
31 lines
853 B
Makefile
# $NetBSD: Makefile,v 1.2 2005/08/14 08:02:56 toshii Exp $
|
|
#
|
|
|
|
DISTNAME= html-2.4.1
|
|
PKGNAME= ${DISTNAME:S/html/py24-html-docs/}
|
|
CATEGORIES= lang python
|
|
MASTER_SITES= http://www.python.org/ftp/python/doc/2.4.1/
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MAINTAINER= minskim@NetBSD.org
|
|
HOMEPAGE= http://www.python.org/doc/
|
|
COMMENT= HTML Documentation for Python
|
|
|
|
WRKSRC= ${WRKDIR}/Python-Docs-2.4.1/
|
|
DIST_SUBDIR= python
|
|
|
|
NO_CONFIGURE= yes
|
|
NO_BUILD= yes
|
|
|
|
HTMLDIR= share/doc/html/python2.4
|
|
PLIST_SRC= ${WRKDIR}/.PLIST_SRC
|
|
|
|
do-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/${HTMLDIR}
|
|
${CAT} ${PKGDIR}/PLIST.pre >${PLIST_SRC}
|
|
cd ${WRKSRC} && ${PAX} -rw -pe [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"
|