aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpgollucci <pgollucci@FreeBSD.org>2010-06-07 13:03:50 +0800
committerpgollucci <pgollucci@FreeBSD.org>2010-06-07 13:03:50 +0800
commit7cec5815e504df33a59db8eb20266b87e95edc5a (patch)
tree24e40c007900fc4686c2513c052b0278480e2a2b
parent5ec96c3251c4d13212b612e47dd39617f2a439db (diff)
downloadfreebsd-ports-gnome-7cec5815e504df33a59db8eb20266b87e95edc5a.tar.gz
freebsd-ports-gnome-7cec5815e504df33a59db8eb20266b87e95edc5a.tar.zst
freebsd-ports-gnome-7cec5815e504df33a59db8eb20266b87e95edc5a.zip
- Covnert to AP_FAST_BUILD / AP_GENPLIST
-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%%