aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip M. Gollucci <pgollucci@FreeBSD.org>2010-06-07 05:03:50 +0000
committerPhilip M. Gollucci <pgollucci@FreeBSD.org>2010-06-07 05:03:50 +0000
commit4f73dbd61053cc40d9740057db35bbf86dc745ca (patch)
treef971074c1f81bf7562386000207c99c88cd4cb6b
parent04de201b049181bc80206bad83455ba269946b4c (diff)
downloadports-4f73dbd61053cc40d9740057db35bbf86dc745ca.tar.gz
ports-4f73dbd61053cc40d9740057db35bbf86dc745ca.zip
Notes
-rw-r--r--www/mod_layout2/Makefile14
-rw-r--r--www/mod_layout2/pkg-plist6
2 files changed, 8 insertions, 12 deletions
diff --git a/www/mod_layout2/Makefile b/www/mod_layout2/Makefile
index b212c2dde048..f275bb28e47a 100644
--- a/www/mod_layout2/Makefile
+++ b/www/mod_layout2/Makefile
@@ -14,20 +14,22 @@ PKGNAMEPREFIX= ${APACHE_PKGNAMEPREFIX}
MAINTAINER= apache@FreeBSD.org
COMMENT= Apache2 module to wrap served pages with a header and/or footer
-MAKE_JOBS_SAFE= yes
-
-CONFLICTS= mod_layout-3.* mod_layout-5.*
+MAKE_JOBS_SAFE= yes
+LATEST_LINK= mod_layout2
+CONFLICTS= mod_layout-3.* mod_layout-5.*
PORTSCOUT= limit:4^
USE_APACHE= 20
-LATEST_LINK= mod_layout2
-MAKE_ARGS+= builddir=${WRKSRC}
+AP_FAST_BUILD= yes
+AP_GENPLIST= yes
+
+PORTDOCS= README
post-install:
.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
+ @${MKDIR} ${DOCSDIR}/
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/README
.endif
diff --git a/www/mod_layout2/pkg-plist b/www/mod_layout2/pkg-plist
deleted file mode 100644
index c6a63e8a0982..000000000000
--- a/www/mod_layout2/pkg-plist
+++ /dev/null
@@ -1,6 +0,0 @@
-%%APACHEMODDIR%%/%%AP_MODULE%%
-@exec %D/sbin/apxs -e -a -n %%AP_NAME%% %D/%f
-@unexec %D/sbin/apxs -e -A -n %%AP_NAME%% %D/%f
-@unexec echo "===> If you do not plan on reinstalling mod_layout, you must manually remove"; echo "===> references to it in httpd.conf."
-%%PORTDOCS%%%%DOCSDIR%%/README
-%%PORTDOCS%%@dirrm %%DOCSDIR%%