6bd0d65c65
- New, optional Makefile variable HOMEPAGE, specifies a URL for the home page of the software if it has one. - The value of HOMEPAGE is used to add a link from the README.html files. - pkglint updated to know about it. The "correct" location for HOMEPAGE in the Makefile is after MAINTAINER, in that same section.
31 lines
803 B
Makefile
31 lines
803 B
Makefile
# $NetBSD: Makefile,v 1.2 1998/08/20 15:17:08 tsarna Exp $
|
|
#
|
|
|
|
DISTNAME= html-1.5.1
|
|
PKGNAME= py-html-docs-1.5.1
|
|
CATEGORIES= lang
|
|
MASTER_SITES= ftp://ftp.python.org/pub/python/doc/
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= tsarna@netbsd.org
|
|
HOMEPAGE= http://www.python.org/doc/
|
|
|
|
EXTRACT_ONLY=
|
|
NO_CONFIGURE= yes
|
|
NO_BUILD= yes
|
|
|
|
HTMLDIR= share/doc/python-html
|
|
PLIST_SRC= ${WRKDIR}/.PLIST_SRC
|
|
|
|
do-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/${HTMLDIR}
|
|
${CAT} ${PKGDIR}/PLIST.pre >${PLIST_SRC}
|
|
(cd ${PREFIX}/${HTMLDIR}; \
|
|
${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} \
|
|
${_DISTDIR}/${DISTNAME}${EXTRACT_SUFX} \
|
|
${EXTRACT_AFTER_ARGS})
|
|
(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"
|