pkgsrc-wip/adodb/Makefile
2003-07-08 08:50:58 +00:00

45 lines
1.6 KiB
Makefile

# $NetBSD: Makefile,v 1.4 2003/07/08 08:50:58 adrian_p Exp $
#
DISTNAME= adodb360
PKGNAME= adodb-3.60
WRKSRC= ${WRKDIR}/adodb
CATEGORIES= databases www
MASTER_SITES= http://phplens.com/lens/dl/
EXTRACT_SUFX= .tgz
MAINTAINER= adrianp@stindustries.net
HOMEPAGE= http://php.weblogs.com/ADODB
COMMENT= Database class library for PHP4
DEPENDS+= php>=4.0.1pl2:../../www/php4
NO_BUILD= YES
DOC_FILES= license.txt readme.htm readme.txt tips_portable_sql.htm \
tute.htm docs-datadict.htm old-changelog.htm docs-adodb.htm \
docs-session.htm
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/adodb
${INSTALL_DATA_DIR} ${PREFIX}/share/adodb/cute_icons_for_site
${INSTALL_DATA_DIR} ${PREFIX}/share/adodb/datadict
${INSTALL_DATA_DIR} ${PREFIX}/share/adodb/drivers
${INSTALL_DATA_DIR} ${PREFIX}/share/adodb/lang
${INSTALL_DATA_DIR} ${PREFIX}/share/adodb/tests
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/adodb
${INSTALL_SCRIPT} ${WRKSRC}/*.php ${PREFIX}/share/adodb
${INSTALL_DATA} ${WRKSRC}/cute_icons_for_site/*.png \
${PREFIX}/share/adodb/cute_icons_for_site
${INSTALL_DATA} ${WRKSRC}/cute_icons_for_site/*.gif \
${PREFIX}/share/adodb/cute_icons_for_site
${INSTALL_SCRIPT} ${WRKSRC}/datadict/*.php \
${PREFIX}/share/adodb/datadict
${INSTALL_SCRIPT} ${WRKSRC}/drivers/*.php ${PREFIX}/share/adodb/drivers
${INSTALL_SCRIPT} ${WRKSRC}/lang/*.php ${PREFIX}/share/adodb/lang
${INSTALL_SCRIPT} ${WRKSRC}/tests/*.php ${PREFIX}/share/adodb/tests
for FILE in ${DOC_FILES}; do \
${INSTALL_DATA} ${WRKSRC}/$$FILE ${PREFIX}/share/doc/adodb; \
done
.include "../../mk/bsd.pkg.mk"