diff options
author | Yen-Ming Lee <leeym@FreeBSD.org> | 2002-09-23 09:21:22 +0000 |
---|---|---|
committer | Yen-Ming Lee <leeym@FreeBSD.org> | 2002-09-23 09:21:22 +0000 |
commit | d0e934a5f0d9e2d49374ce5819f764c8b198382c (patch) | |
tree | 5804e11c023ffa3699e84a99b75209f1e075dd56 /misc | |
parent | 1ac33876789c5ca4d244cce04ec77c1dc3addd4b (diff) | |
download | ports-d0e934a5f0d9e2d49374ce5819f764c8b198382c.tar.gz ports-d0e934a5f0d9e2d49374ce5819f764c8b198382c.zip |
Notes
Diffstat (limited to 'misc')
-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 |
3 files changed, 29 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 +*** |