aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpgollucci <pgollucci@FreeBSD.org>2009-04-12 13:23:41 +0800
committerpgollucci <pgollucci@FreeBSD.org>2009-04-12 13:23:41 +0800
commit59f57754cd7974cd6ad1d4bf39a43836282fa65d (patch)
treecdde3d488f34b2f7ec2d0fd04cfada8dfc9ae561
parentaaf4c175f060e6805fd47295b02b42730dc2c79e (diff)
downloadfreebsd-ports-gnome-59f57754cd7974cd6ad1d4bf39a43836282fa65d.tar.gz
freebsd-ports-gnome-59f57754cd7974cd6ad1d4bf39a43836282fa65d.tar.zst
freebsd-ports-gnome-59f57754cd7974cd6ad1d4bf39a43836282fa65d.zip
- USE_APACHE=yes is deprecated
- Convert to AP_FAST_BUILD/AP_GENPLIST - Fix PORTSCOUT var
-rw-r--r--www/mod_roaming/Makefile24
-rw-r--r--www/mod_roaming/pkg-plist7
2 files changed, 11 insertions, 20 deletions
diff --git a/www/mod_roaming/Makefile b/www/mod_roaming/Makefile
index 6449f7058016..7a8215ec6012 100644
--- a/www/mod_roaming/Makefile
+++ b/www/mod_roaming/Makefile
@@ -14,24 +14,22 @@ MASTER_SITES= http://www.klomp.org/mod_roaming/
MAINTAINER= apache@FreeBSD.org
COMMENT= An Apache module that works as a Netscape Roaming Access server
-USE_APACHE= yes
-DOCS= CHANGES INSTALL LICENSE README
-
CONFLICTS= apache-contrib-1.*
+PORTSCOUT= limit:^1
-PORSCOUT= limit:^1
+USE_APACHE= 1.3
+AP_FAST_BUILD= yes
+AP_GENPLIST= yes
+PLIST_FILES= ${APACHEETCDIR}/httpd.conf.${PORTNAME}
-do-build:
- @cd ${WRKSRC} && \
- ${APXS} -c mod_roaming.c
+PORTDOCS= CHANGES INSTALL LICENSE README
-do-install:
- ${APXS} -i -n roaming ${WRKSRC}/mod_roaming.so
- ${INSTALL_DATA} ${FILESDIR}/httpd.conf.${PORTNAME} ${PREFIX}/etc/apache/
+post-install:
+ ${INSTALL_DATA} ${FILESDIR}/httpd.conf.${PORTNAME} ${LOCALBASE}/${APACHEETCDIR}/
.if !defined(NOPORTDOCS)
- ${MKDIR} ${PREFIX}/share/doc/${PORTNAME}
-.for f in ${DOCS}
- ${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/${PORTNAME}/
+ ${MKDIR} ${DOCSDIR}/
+.for f in ${PORTDOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/
.endfor
.endif
@${CAT} ${PKGMESSAGE}
diff --git a/www/mod_roaming/pkg-plist b/www/mod_roaming/pkg-plist
deleted file mode 100644
index 78a02ee60c59..000000000000
--- a/www/mod_roaming/pkg-plist
+++ /dev/null
@@ -1,7 +0,0 @@
-etc/apache/httpd.conf.mod_roaming
-libexec/apache/mod_roaming.so
-%%PORTDOCS%%share/doc/mod_roaming/CHANGES
-%%PORTDOCS%%share/doc/mod_roaming/INSTALL
-%%PORTDOCS%%share/doc/mod_roaming/LICENSE
-%%PORTDOCS%%share/doc/mod_roaming/README
-%%PORTDOCS%%@dirrm share/doc/mod_roaming