aboutsummaryrefslogtreecommitdiff
path: root/www/mod_blosxom
diff options
context:
space:
mode:
Diffstat (limited to 'www/mod_blosxom')
-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