diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2014-02-21 14:01:35 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2014-02-21 14:01:35 +0000 |
commit | 4f0535a646e90fd3d80bab686cee979040215b38 (patch) | |
tree | 2a1a6b1ad6c0adf8da32dd7bfb810b53ccd2eeff /security/base | |
parent | 8254d2ca2d1805e27a2e66849095f0bd6fd6a125 (diff) | |
download | ports-4f0535a646e90fd3d80bab686cee979040215b38.tar.gz ports-4f0535a646e90fd3d80bab686cee979040215b38.zip |
Notes
Diffstat (limited to 'security/base')
-rw-r--r-- | security/base/Makefile | 22 |
1 files changed, 8 insertions, 14 deletions
diff --git a/security/base/Makefile b/security/base/Makefile index ccb297b3db45..86692e3ad0d4 100644 --- a/security/base/Makefile +++ b/security/base/Makefile @@ -14,8 +14,6 @@ RUN_DEPENDS= ${ADODB_DIR}/adodb.inc.php:${PORTSDIR}/databases/adodb5 \ ${LOCALBASE}/share/pear/Mail.php:${PORTSDIR}/mail/pear-Mail \ ${LOCALBASE}/share/pear/Mail/mime.php:${PORTSDIR}/mail/pear-Mail_Mime -#WRKSRC= ${WRKDIR}/${PORTNAME}-php4 - USE_PHP= gd gettext pcre session zlib ctype ADODB_DIR= ${LOCALBASE}/share/adodb @@ -26,7 +24,6 @@ DOCS= docs/CHANGELOG docs/CREDITS docs/README docs/README.mssql \ OPTIONS_DEFINE= MYSQL PGSQL PDF DOCS -NO_STAGE= yes .include <bsd.port.options.mk> .if ${PORT_OPTIONS:MMYSQL} @@ -46,22 +43,19 @@ do-build: ${WRKSRC}/base_conf.php.dist do-install: - ${MKDIR} ${PREFIX}/www/base/includes/templates/default - ${INSTALL_DATA} ${WRKSRC}/*.php ${WRKSRC}/*.dist ${PREFIX}/www/base + ${MKDIR} ${STAGEDIR}${PREFIX}/www/base/includes/templates/default + ${INSTALL_DATA} ${WRKSRC}/*.php ${WRKSRC}/*.dist ${STAGEDIR}${PREFIX}/www/base .for dir in admin help includes languages setup - ${MKDIR} ${PREFIX}/www/base/${dir} - ${INSTALL_DATA} ${WRKSRC}/${dir}/*.php ${PREFIX}/www/base/${dir} + ${MKDIR} ${STAGEDIR}${PREFIX}/www/base/${dir} + ${INSTALL_DATA} ${WRKSRC}/${dir}/*.php ${STAGEDIR}${PREFIX}/www/base/${dir} .endfor .for dir in images sql styles - ${MKDIR} ${PREFIX}/www/base/${dir} - ${INSTALL_DATA} ${WRKSRC}/${dir}/* ${PREFIX}/www/base/${dir} + ${MKDIR} ${STAGEDIR}${PREFIX}/www/base/${dir} + ${INSTALL_DATA} ${WRKSRC}/${dir}/* ${STAGEDIR}${PREFIX}/www/base/${dir} .endfor post-install: -.if ${PORT_OPTIONS:MDOCS} - ${MKDIR} ${DOCSDIR} - cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR} -.endif - @${CAT} ${PKGMESSAGE} + ${MKDIR} ${STAGEDIR}${DOCSDIR} + cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> |