pkgsrc-wip/php-doc/Makefile.template
Michal Pasternak 542e9f21d6 PLIST fix
2003-12-15 17:43:06 +00:00

31 lines
1,011 B
Makefile

# $NetBSD: Makefile.template,v 1.2 2003/12/15 17:43:06 mpasternak Exp $
# $Id: Makefile.template,v 1.2 2003/12/15 17:43:06 mpasternak Exp $
DISTNAME= php_manual_${PHP_DOC_LANG}
PKGNAME= php-doc-${PHP_DOC_LANG}-20031217
WRKSRC= ${WRKDIR}
CATEGORIES= misc
MASTER_SITES= ${PHP_DOC_MASTER_SITES}
MAINTAINER= dotz@irc.pl
HOMEPAGE= http://www.php.net/
COMMENT= ${PHP_DOC_LANG_DESC} documentation for PHP
NO_CONFIGURE= # defined
NO_BUILD= # defined
NO_CHECKSUM= # defined
HTMLDIR= share/doc/${PKGNAME}
DOC_SRCDIR= ${WRKSRC}
PLIST_SRC= ${WRKDIR}/.PLIST_SRC
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/${HTMLDIR}
cd ${DOC_SRCDIR} && ${PAX} -rw -pe [a-z]* ${PREFIX}/${HTMLDIR}
${ECHO} "@comment This PLIST was autogenerated" >${PLIST_SRC}
cd ${PREFIX} && ${FIND} ${HTMLDIR} -type f -print >>${PLIST_SRC}
cd ${PREFIX} && ${FIND} -d ${HTMLDIR} -type d -print | \
${SED} -e "s/^/@dirrm /" >>${PLIST_SRC}
.include "../../wip/php-doc/Makefile.common"
.include "../../mk/bsd.pkg.mk"