aboutsummaryrefslogtreecommitdiffstats
path: root/www/mod_gzip2
diff options
context:
space:
mode:
authormi <mi@FreeBSD.org>2001-05-08 23:39:47 +0800
committermi <mi@FreeBSD.org>2001-05-08 23:39:47 +0800
commitc51e20032fcbbdf28b9c2a6f1f77d53671c47be6 (patch)
tree7d95d604aa1722c91dfab880f0bed5118486392c /www/mod_gzip2
parent2fd41ca6b1ba6718401452f976a6ee484fb0c48e (diff)
downloadfreebsd-ports-gnome-c51e20032fcbbdf28b9c2a6f1f77d53671c47be6.tar.gz
freebsd-ports-gnome-c51e20032fcbbdf28b9c2a6f1f77d53671c47be6.tar.zst
freebsd-ports-gnome-c51e20032fcbbdf28b9c2a6f1f77d53671c47be6.zip
Fix the post-install target now that there is more than
one text file to install.
Diffstat (limited to 'www/mod_gzip2')
-rw-r--r--www/mod_gzip2/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/www/mod_gzip2/Makefile b/www/mod_gzip2/Makefile
index 801fb22c8a77..cfc1aa7b34a7 100644
--- a/www/mod_gzip2/Makefile
+++ b/www/mod_gzip2/Makefile
@@ -32,10 +32,10 @@ do-build:
do-install:
cd ${WRKSRC} && ${LOCALBASE}/sbin/apxs -A -i ${PORTNAME}.so
-post-install:
.if !defined(NOPORTDOCS)
+post-install:
@${MKDIR} ${PREFIX}/share/doc/${PORTNAME}
- @${INSTALL_DATA} ${_DISTDIR}/${DISTFILES:N*gz} \
+ @cd ${_DISTDIR} && ${INSTALL_DATA} ${DISTFILES:N*gz} \
${PREFIX}/share/doc/${PORTNAME}
.endif