aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpgollucci <pgollucci@FreeBSD.org>2009-04-12 15:59:09 +0800
committerpgollucci <pgollucci@FreeBSD.org>2009-04-12 15:59:09 +0800
commit4e3e7cc3780939f3f868044cd7ba96fdfa579081 (patch)
treee9ac9c6cecce4ec9d77cc95b80ffcc89cd687a08
parenta7a39e5470fd5017e3a553d5b3045d8009f6f9d7 (diff)
downloadfreebsd-ports-gnome-4e3e7cc3780939f3f868044cd7ba96fdfa579081.tar.gz
freebsd-ports-gnome-4e3e7cc3780939f3f868044cd7ba96fdfa579081.tar.zst
freebsd-ports-gnome-4e3e7cc3780939f3f868044cd7ba96fdfa579081.zip
- USE_APACHE=yes is deprecated
- Install examples and handle NOPORTEXAMPLES - Convert to AP_FAST_BUILD/AP_GENPLIST - Bump PORTREVISION PR: ports/133648 Approved by: maintainer
-rw-r--r--www/mod_blosxom/Makefile18
-rw-r--r--www/mod_blosxom/pkg-plist3
2 files changed, 13 insertions, 8 deletions
diff --git a/www/mod_blosxom/Makefile b/www/mod_blosxom/Makefile
index ec21d388cfee..06122b2f25e2 100644
--- a/www/mod_blosxom/Makefile
+++ b/www/mod_blosxom/Makefile
@@ -7,16 +7,24 @@
PORTNAME= mod_blosxom
PORTVERSION= 0.05
+PORTREVISION= 1
CATEGORIES= www
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR= mod-blosxom
+MASTER_SITES= SF
+MASTER_SITE_SUBDIR= ${PORTNAME:S/_/-/}
MAINTAINER= ychsiao@ychsiao.org
COMMENT= Apache module to build the extremely lightweight Weblog environment
-USE_APACHE= yes
+USE_APACHE= 1.3
+AP_FAST_BUILD= yes
+AP_GENPLIST= yes
-post-patch:
- ${REINPLACE_CMD} -e 's,^APXS=.*,APXS=${APXS},' ${WRKSRC}/Makefile
+PORTEXAMPLES= sample
+
+post-install:
+.if !defined(NOPORTEXAMPLES)
+ ${MKDIR} ${EXAMPLESDIR}/
+ ${COPYTREE_SHARE} ${WRKSRC}/sample ${EXAMPLESDIR}/sample
+.endif
.include <bsd.port.mk>
diff --git a/www/mod_blosxom/pkg-plist b/www/mod_blosxom/pkg-plist
deleted file mode 100644
index dbd772d334bb..000000000000
--- a/www/mod_blosxom/pkg-plist
+++ /dev/null
@@ -1,3 +0,0 @@
-libexec/apache/mod_blosxom.so
-@exec %D/sbin/apxs -e -A -n blosxom %D/%F
-@unexec %D/sbin/apxs -e -A -n blosxom %D/%F