diff options
author | Philip M. Gollucci <pgollucci@FreeBSD.org> | 2010-06-07 03:22:47 +0000 |
---|---|---|
committer | Philip M. Gollucci <pgollucci@FreeBSD.org> | 2010-06-07 03:22:47 +0000 |
commit | 48587f422d42f7c5694fc3d8ea26ec428e4d2bf9 (patch) | |
tree | 38e4a3229ea44b657496693c320bb0f010b18023 /www/mod_accounting | |
parent | 43ebdec6fa30eac9ae89f4fb44e51a082b095dfb (diff) | |
download | ports-48587f422d42f7c5694fc3d8ea26ec428e4d2bf9.tar.gz ports-48587f422d42f7c5694fc3d8ea26ec428e4d2bf9.zip |
Notes
Diffstat (limited to 'www/mod_accounting')
-rw-r--r-- | www/mod_accounting/Makefile | 12 | ||||
-rw-r--r-- | www/mod_accounting/pkg-plist | 4 |
2 files changed, 6 insertions, 10 deletions
diff --git a/www/mod_accounting/Makefile b/www/mod_accounting/Makefile index bdc591e29633..b4dad01729d8 100644 --- a/www/mod_accounting/Makefile +++ b/www/mod_accounting/Makefile @@ -32,7 +32,7 @@ MAKE_ARGS+= WITHOUT_MYSQL=YES USE_MYSQL= YES .endif -DOCS= README FAQ.txt LICENSE +PORTDOCS= README FAQ.txt LICENSE pre-everything:: @${ECHO} "" @@ -41,12 +41,12 @@ pre-everything:: @${ECHO} "" post-install: - @${MKDIR} ${PREFIX}/share/${PORTNAME} - ${INSTALL_DATA} ${WRKSRC}/schema.sql ${PREFIX}/share/${PORTNAME} + @${MKDIR} ${DATADIR}/ + ${INSTALL_DATA} ${WRKSRC}/schema.sql ${DATADIR}/ .if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} -.for doc in ${DOCS} - ${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR} + @${MKDIR} ${DOCSDIR}/ +.for doc in ${PORTDOCS} + ${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}/ .endfor .endif @${CAT} ${PKGMESSAGE} diff --git a/www/mod_accounting/pkg-plist b/www/mod_accounting/pkg-plist index 75012af1d090..b7bd8746ab3a 100644 --- a/www/mod_accounting/pkg-plist +++ b/www/mod_accounting/pkg-plist @@ -3,8 +3,4 @@ @unexec %D/sbin/apxs -e -A -n %%AP_NAME%% %D/%f @unexec echo "===> If you do not plan on reinstalling mod_accounting, you must manually remove"; echo "===> references to it in httpd.conf." %%DATADIR%%/schema.sql -%%PORTDOCS%%%%DOCSDIR%%/README -%%PORTDOCS%%%%DOCSDIR%%/FAQ.txt -%%PORTDOCS%%%%DOCSDIR%%/LICENSE -%%PORTDOCS%%@dirrm %%DOCSDIR%% @dirrm %%DATADIR%% |