aboutsummaryrefslogtreecommitdiff
path: root/www/mod_accounting
diff options
context:
space:
mode:
authorOliver Lehmann <oliver@FreeBSD.org>2003-07-26 13:26:32 +0000
committerOliver Lehmann <oliver@FreeBSD.org>2003-07-26 13:26:32 +0000
commit49a9f07599e1d61d4772446d70f92cfd9afb4a9f (patch)
treedd50849ea7ee7f76703f86c7abf41cc69961ec33 /www/mod_accounting
parent530f480e305c7ec7577346b5efe76d4405a93021 (diff)
downloadports-49a9f07599e1d61d4772446d70f92cfd9afb4a9f.tar.gz
ports-49a9f07599e1d61d4772446d70f92cfd9afb4a9f.zip
fix DOCS installation
Noted by: Jeremy Chadwick <freebsd@jdc.parodius.com> Approved by: maintainer (implicit)
Notes
Notes: svn path=/head/; revision=85621
Diffstat (limited to 'www/mod_accounting')
-rw-r--r--www/mod_accounting/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/www/mod_accounting/Makefile b/www/mod_accounting/Makefile
index b26599f5ed64..d3d4a4a87c2c 100644
--- a/www/mod_accounting/Makefile
+++ b/www/mod_accounting/Makefile
@@ -51,6 +51,8 @@ MAKE_ARGS+= WITHOUT_MYSQL=YES
LIB_DEPENDS+= mysqlclient.${MYSQL${MYSQL_VER}_LIBVER}:${PORTSDIR}/databases/mysql${MYSQL_VER}-client
.endif
+DOCS= README FAQ.txt LICENSE
+
pre-everything::
@${ECHO} ""
@${ECHO} "You may use the following build options:"
@@ -68,9 +70,9 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/schema.sql ${PREFIX}/share/${PORTNAME}
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/README
- ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/FAQ.txt
- ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/LICENSE
+.for doc in ${DOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
+.endfor
.endif
@${CAT} ${PKGMESSAGE}