1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-29 21:39:24 +00:00
freebsd-ports/lang/php_doc/Makefile
Dirk Froemberg ef4004ca00 Chase distfiles.
PR:		ports/27561
2001-05-23 21:40:55 +00:00

60 lines
1.4 KiB
Makefile

# New ports collection makefile for: php_doc
# Date created: Sun Apr 22 14:51:32 CEST 2001
# Whom: Dirk Froemberg <dirk@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= php_doc
PORTVERSION= 1.0
PORTREVISION= 1
CATEGORIES?= lang
MASTER_SITES= http://www.php.net/${PHP_DISTDIR}/ \
http://php.he.net/${PHP_DISTDIR}/ \
http://www.php3.de/${PHP_DISTDIR}/ \
http://au.php.net:81/${PHP_DISTDIR}/ \
http://at.php.net/${PHP_DISTDIR}/ \
http://br.php.net/${PHP_DISTDIR}/ \
http://php.easydns.com/${PHP_DISTDIR}/ \
http://www.php.cz/${PHP_DISTDIR}/ \
http://php3.globe.de/${PHP_DISTDIR}/
DISTNAME= manual
MAINTAINER= dirk@FreeBSD.org
PHP_DISTDIR= manual/${PHP_LANG}
DIST_SUBDIR= php/${PHP_LANG}
NO_BUILD= YES
NO_WRKSUBDIR= YES
SLAVEDIRS= french/php_doc german/php_doc
PHP_LANG?= en
PHPDOCDIR= ${PREFIX}/share/doc/php
.if ${PHP_LANG} != en
PKGNAMEPREFIX= ${PHP_LANG}-
PLIST= ${PKGDIR}/pkg-plist.${PHP_LANG}
PHPDOCDIR= ${PREFIX}/share/doc/${PHP_LANG}-php
.endif
PLIST_SUB= PHPDOCDIR=${PHPDOCDIR:S/^${PREFIX}\///}
.if ${PHP_LANG} == en
pre-fetch:
@${ECHO}
@${ECHO} "You may set PHP_LANG to"
@${ECHO} " de (german),"
@${ECHO} " es (spanish) or"
@${ECHO} " fr (french)"
@${ECHO} "to get a different language than the default one (english)."
@${ECHO}
.endif
do-install:
@${MKDIR} ${PHPDOCDIR}
@for i in ${WRKSRC}/*; do \
${INSTALL_DATA} $$i ${PHPDOCDIR}; \
done
.include <bsd.port.mk>