diff options
-rw-r--r-- | misc/GeoIP/Makefile | 4 | ||||
-rw-r--r-- | misc/GeoIP/files/patch-conf::Makefile.in | 21 | ||||
-rw-r--r-- | misc/GeoIP/pkg-message | 4 | ||||
-rw-r--r-- | net/GeoIP/Makefile | 4 | ||||
-rw-r--r-- | net/GeoIP/files/patch-conf::Makefile.in | 21 | ||||
-rw-r--r-- | net/GeoIP/pkg-message | 4 |
6 files changed, 58 insertions, 0 deletions
diff --git a/misc/GeoIP/Makefile b/misc/GeoIP/Makefile index 5d91601621a2..f686bba41dd5 100644 --- a/misc/GeoIP/Makefile +++ b/misc/GeoIP/Makefile @@ -7,6 +7,7 @@ PORTNAME= GeoIP PORTVERSION= 1.0.4 +PORTREVISION= 1 CATEGORIES= misc MASTER_SITES= http://maxmind.com/download/geoip/api/c/ @@ -20,4 +21,7 @@ INSTALLS_SHLIB= yes MAN1= geoiplookup.1 geoipupdate.1 +post-install: + @${CAT} ${PKGMESSAGES} + .include <bsd.port.mk> diff --git a/misc/GeoIP/files/patch-conf::Makefile.in b/misc/GeoIP/files/patch-conf::Makefile.in new file mode 100644 index 000000000000..211fdeac2bd2 --- /dev/null +++ b/misc/GeoIP/files/patch-conf::Makefile.in @@ -0,0 +1,21 @@ +--- conf/Makefile.in.orig Wed Aug 28 06:54:49 2002 ++++ conf/Makefile.in Mon Sep 23 09:37:14 2002 +@@ -204,12 +204,12 @@ + + + install-data-hook: install-sysconfDATA +- @if test -f $(DESTDIR)$(DEFAULT_CONFIG_FILE) ; then \ +- echo "$@ will not overwrite existing $(DESTDIR)$(DEFAULT_CONFIG_FILE)" ; \ +- else \ +- echo "$(INSTALL_DATA) GeoIP.conf.default $(DESTDIR)$(DEFAULT_CONFIG_FILE)"; \ +- $(INSTALL_DATA) GeoIP.conf.default $(DESTDIR)$(DEFAULT_CONFIG_FILE); \ +- fi ++# @if test -f $(DESTDIR)$(DEFAULT_CONFIG_FILE) ; then \ ++# echo "$@ will not overwrite existing $(DESTDIR)$(DEFAULT_CONFIG_FILE)" ; \ ++# else \ ++# echo "$(INSTALL_DATA) GeoIP.conf.default $(DESTDIR)$(DEFAULT_CONFIG_FILE)"; \ ++# $(INSTALL_DATA) GeoIP.conf.default $(DESTDIR)$(DEFAULT_CONFIG_FILE); \ ++# fi + + # Tell versions [3.59,3.63) of GNU make to not export all variables. + # Otherwise a system limit (for SysV at least) may be exceeded. diff --git a/misc/GeoIP/pkg-message b/misc/GeoIP/pkg-message new file mode 100644 index 000000000000..81d8cc2f4436 --- /dev/null +++ b/misc/GeoIP/pkg-message @@ -0,0 +1,4 @@ +*** +*** Please do this after you've ran the installation: +*** - Copy ${PREFIX}/etc/GeoIP.conf.default to ${PREFIX}/etc/GeoIP.conf +*** diff --git a/net/GeoIP/Makefile b/net/GeoIP/Makefile index 5d91601621a2..f686bba41dd5 100644 --- a/net/GeoIP/Makefile +++ b/net/GeoIP/Makefile @@ -7,6 +7,7 @@ PORTNAME= GeoIP PORTVERSION= 1.0.4 +PORTREVISION= 1 CATEGORIES= misc MASTER_SITES= http://maxmind.com/download/geoip/api/c/ @@ -20,4 +21,7 @@ INSTALLS_SHLIB= yes MAN1= geoiplookup.1 geoipupdate.1 +post-install: + @${CAT} ${PKGMESSAGES} + .include <bsd.port.mk> diff --git a/net/GeoIP/files/patch-conf::Makefile.in b/net/GeoIP/files/patch-conf::Makefile.in new file mode 100644 index 000000000000..211fdeac2bd2 --- /dev/null +++ b/net/GeoIP/files/patch-conf::Makefile.in @@ -0,0 +1,21 @@ +--- conf/Makefile.in.orig Wed Aug 28 06:54:49 2002 ++++ conf/Makefile.in Mon Sep 23 09:37:14 2002 +@@ -204,12 +204,12 @@ + + + install-data-hook: install-sysconfDATA +- @if test -f $(DESTDIR)$(DEFAULT_CONFIG_FILE) ; then \ +- echo "$@ will not overwrite existing $(DESTDIR)$(DEFAULT_CONFIG_FILE)" ; \ +- else \ +- echo "$(INSTALL_DATA) GeoIP.conf.default $(DESTDIR)$(DEFAULT_CONFIG_FILE)"; \ +- $(INSTALL_DATA) GeoIP.conf.default $(DESTDIR)$(DEFAULT_CONFIG_FILE); \ +- fi ++# @if test -f $(DESTDIR)$(DEFAULT_CONFIG_FILE) ; then \ ++# echo "$@ will not overwrite existing $(DESTDIR)$(DEFAULT_CONFIG_FILE)" ; \ ++# else \ ++# echo "$(INSTALL_DATA) GeoIP.conf.default $(DESTDIR)$(DEFAULT_CONFIG_FILE)"; \ ++# $(INSTALL_DATA) GeoIP.conf.default $(DESTDIR)$(DEFAULT_CONFIG_FILE); \ ++# fi + + # Tell versions [3.59,3.63) of GNU make to not export all variables. + # Otherwise a system limit (for SysV at least) may be exceeded. diff --git a/net/GeoIP/pkg-message b/net/GeoIP/pkg-message new file mode 100644 index 000000000000..81d8cc2f4436 --- /dev/null +++ b/net/GeoIP/pkg-message @@ -0,0 +1,4 @@ +*** +*** Please do this after you've ran the installation: +*** - Copy ${PREFIX}/etc/GeoIP.conf.default to ${PREFIX}/etc/GeoIP.conf +*** |