aboutsummaryrefslogtreecommitdiffstats
path: root/www/mod_cvs2
diff options
context:
space:
mode:
authorpgollucci <pgollucci@FreeBSD.org>2010-06-07 12:34:55 +0800
committerpgollucci <pgollucci@FreeBSD.org>2010-06-07 12:34:55 +0800
commit3736d9fd262af95fb59b0617d0de0fd477b87392 (patch)
treef857f9211fc770dfd6e8a2db0f0e15c1e3cff6a6 /www/mod_cvs2
parentdfe8c98560ab3d24fdb0f6eeb56f27fb9b36d146 (diff)
downloadfreebsd-ports-gnome-3736d9fd262af95fb59b0617d0de0fd477b87392.tar.gz
freebsd-ports-gnome-3736d9fd262af95fb59b0617d0de0fd477b87392.tar.zst
freebsd-ports-gnome-3736d9fd262af95fb59b0617d0de0fd477b87392.zip
- Convert to AP_FAST_BUILD / AP_GENPLIST
- Pet Portlint
Diffstat (limited to 'www/mod_cvs2')
-rw-r--r--www/mod_cvs2/Makefile19
-rw-r--r--www/mod_cvs2/pkg-plist4
2 files changed, 9 insertions, 14 deletions
diff --git a/www/mod_cvs2/Makefile b/www/mod_cvs2/Makefile
index a109b95364a0..3f9b67967453 100644
--- a/www/mod_cvs2/Makefile
+++ b/www/mod_cvs2/Makefile
@@ -15,24 +15,23 @@ PKGNAMEPREFIX= ${APACHE_PKGNAMEPREFIX}
MAINTAINER= apache@FreeBSD.org
COMMENT= A module that makes Apache 2 CVS aware
-MAKE_JOBS_SAFE= yes
+MAKE_JOBS_SAFE= yes
+
+LATEST_LINK= mod_cvs2
USE_APACHE= 2.0+
-LATEST_LINK= mod_cvs2
+AP_FAST_BUILD= yes
+AP_GENPLIST= yes
PORTDOCS= reference.html guide.html README
-do-build:
- @(cd ${WRKSRC} && ${APXS} -c ${PORTNAME}.c)
-
-do-install:
- @(cd ${WRKSRC} && ${APXS} -i -A -n ${PORTNAME:S/mod_//} ${PORTNAME}.la)
+post-install:
.if !defined (NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
- @${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
+ @${MKDIR} ${DOCSDIR}/
+ @${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/
. for f in ${PORTDOCS:NREADME}
- @${INSTALL_DATA} ${WRKSRC}/doc/${f} ${DOCSDIR}
+ @${INSTALL_DATA} ${WRKSRC}/doc/${f} ${DOCSDIR}/
. endfor
.endif
diff --git a/www/mod_cvs2/pkg-plist b/www/mod_cvs2/pkg-plist
deleted file mode 100644
index 43953b6b52b2..000000000000
--- a/www/mod_cvs2/pkg-plist
+++ /dev/null
@@ -1,4 +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_cvs, you must manually remove"; echo "===> references to it in httpd.conf."