From 49a9f07599e1d61d4772446d70f92cfd9afb4a9f Mon Sep 17 00:00:00 2001 From: Oliver Lehmann Date: Sat, 26 Jul 2003 13:26:32 +0000 Subject: fix DOCS installation Noted by: Jeremy Chadwick Approved by: maintainer (implicit) --- www/mod_accounting/Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'www/mod_accounting/Makefile') 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} -- cgit v1.2.3