aboutsummaryrefslogtreecommitdiffstats
path: root/www/mod_geoip
diff options
context:
space:
mode:
authorleeym <leeym@FreeBSD.org>2004-05-30 15:19:41 +0800
committerleeym <leeym@FreeBSD.org>2004-05-30 15:19:41 +0800
commit6a61c9330545f5d318aae4221830dc3182ee5488 (patch)
tree5d7058410d99915bf2427a7db6d7f51314c0e62c /www/mod_geoip
parent39dcd077c382040ba1fca64393e5640ca3a1d6e6 (diff)
downloadfreebsd-ports-gnome-6a61c9330545f5d318aae4221830dc3182ee5488.tar.gz
freebsd-ports-gnome-6a61c9330545f5d318aae4221830dc3182ee5488.tar.zst
freebsd-ports-gnome-6a61c9330545f5d318aae4221830dc3182ee5488.zip
- net/GeoIP uses its own libtool even if we define USE_LIBTOOL*
- add missing @exec and remove old SIZE in net/GeoIP - update for libGeoIP.4 in LIB_DEPENDS and bump PORTREVISION - utilize PORTDOCS in www/mod_geoip Noticed by: kris
Diffstat (limited to 'www/mod_geoip')
-rw-r--r--www/mod_geoip/Makefile7
-rw-r--r--www/mod_geoip/pkg-plist5
2 files changed, 4 insertions, 8 deletions
diff --git a/www/mod_geoip/Makefile b/www/mod_geoip/Makefile
index dc6416bd0f3d..e2f282443ad7 100644
--- a/www/mod_geoip/Makefile
+++ b/www/mod_geoip/Makefile
@@ -7,6 +7,7 @@
PORTNAME= mod_geoip
PORTVERSION= 1.2.2
+PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= http://www.maxmind.com/download/geoip/api/mod_geoip/
DISTNAME= ${PORTNAME}_${PORTVERSION}
@@ -14,13 +15,13 @@ DISTNAME= ${PORTNAME}_${PORTVERSION}
MAINTAINER= seanc@FreeBSD.org
COMMENT= An Apache module that provides the country code of the client's IP
-LIB_DEPENDS= GeoIP.3:${PORTSDIR}/net/GeoIP
+LIB_DEPENDS= GeoIP.4:${PORTSDIR}/net/GeoIP
USE_APACHE= yes
.include <bsd.port.pre.mk>
-DOCS= Changes INSTALL README README.php
+PORTDOCS= Changes INSTALL README README.php
do-build:
@cd ${WRKSRC} && \
@@ -30,7 +31,7 @@ do-install:
${APXS} -i -A -n geoip ${WRKSRC}/mod_geoip.so
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/mod_geoip
-.for f in ${DOCS}
+.for f in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/mod_geoip/
.endfor
.endif
diff --git a/www/mod_geoip/pkg-plist b/www/mod_geoip/pkg-plist
index 81499bdfedd7..e921ebb48e58 100644
--- a/www/mod_geoip/pkg-plist
+++ b/www/mod_geoip/pkg-plist
@@ -1,8 +1,3 @@
libexec/apache/mod_geoip.so
@exec %D/sbin/apxs -e -A -n geoip %D/%F
@unexec %D/sbin/apxs -e -A -n geoip %D/%F
-share/doc/mod_geoip/Changes
-share/doc/mod_geoip/INSTALL
-share/doc/mod_geoip/README
-share/doc/mod_geoip/README.php
-@dirrm share/doc/mod_geoip