65 lines
2.5 KiB
Makefile
65 lines
2.5 KiB
Makefile
# $NetBSD: Makefile,v 1.17 2013/03/16 07:21:19 obache Exp $
|
|
#
|
|
|
|
DISTNAME= adodb496a
|
|
PKGNAME= adodb-4.96a
|
|
PKGREVISION= 2
|
|
CATEGORIES= databases www
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=adodb/}
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://adodb.sourceforge.net/
|
|
COMMENT= Active Data Objects Data Base for php
|
|
|
|
WRKSRC= ${WRKDIR}/adodb
|
|
NO_CONFIGURE= YES
|
|
NO_BUILD= YES
|
|
|
|
.include "../../lang/php/phpversion.mk"
|
|
.include "${PHPPKGSRCDIR}/buildlink3.mk"
|
|
|
|
do-install:
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/adodb
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/adodb/cute_icons_for_site
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/adodb/datadict
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/adodb/drivers
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/adodb/lang
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/adodb/perf
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/adodb/tests
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/adodb/xsl
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/adodb/session
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/adodb
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/*.php ${DESTDIR}${PREFIX}/share/adodb
|
|
${INSTALL_DATA} ${WRKSRC}/*.dtd ${DESTDIR}${PREFIX}/share/adodb
|
|
${INSTALL_DATA} ${WRKSRC}/cute_icons_for_site/*.gif \
|
|
${DESTDIR}${PREFIX}/share/adodb/cute_icons_for_site
|
|
${INSTALL_DATA} ${WRKSRC}/datadict/*.php \
|
|
${DESTDIR}${PREFIX}/share/adodb/datadict
|
|
${INSTALL_DATA} ${WRKSRC}/drivers/*.php \
|
|
${DESTDIR}${PREFIX}/share/adodb/drivers
|
|
${INSTALL_DATA} ${WRKSRC}/lang/*.php \
|
|
${DESTDIR}${PREFIX}/share/adodb/lang
|
|
${INSTALL_DATA} ${WRKSRC}/perf/*.php \
|
|
${DESTDIR}${PREFIX}/share/adodb/perf
|
|
${INSTALL_DATA} ${WRKSRC}/tests/*.php \
|
|
${DESTDIR}${PREFIX}/share/adodb/tests
|
|
${INSTALL_DATA} ${WRKSRC}/tests/*.xml \
|
|
${DESTDIR}${PREFIX}/share/adodb/tests
|
|
${INSTALL_DATA} ${WRKSRC}/session/*.php \
|
|
${DESTDIR}${PREFIX}/share/adodb/session
|
|
${INSTALL_DATA} ${WRKSRC}/session/*.txt \
|
|
${DESTDIR}${PREFIX}/share/adodb/session
|
|
${INSTALL_DATA} ${WRKSRC}/session/*.sql \
|
|
${DESTDIR}${PREFIX}/share/adodb/session
|
|
${INSTALL_DATA} ${WRKSRC}/session/*.xml \
|
|
${DESTDIR}${PREFIX}/share/adodb/session
|
|
${INSTALL_DATA} ${WRKSRC}/xsl/*.xsl ${DESTDIR}${PREFIX}/share/adodb/xsl
|
|
${INSTALL_DATA} ${WRKSRC}/docs/*.htm ${DESTDIR}${PREFIX}/share/doc/adodb
|
|
${INSTALL_DATA} ${WRKSRC}/*.txt ${DESTDIR}${PREFIX}/share/doc/adodb
|
|
|
|
${FIND} ${DESTDIR}${PREFIX}/share/adodb -name \*.\* -type f -print | \
|
|
${XARGS} ${CHMOD} ${SHAREMODE}
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|