diff options
author | leeym <leeym@FreeBSD.org> | 2002-09-23 17:21:22 +0800 |
---|---|---|
committer | leeym <leeym@FreeBSD.org> | 2002-09-23 17:21:22 +0800 |
commit | 9b282a754bf044394e0d59212a7419439b739325 (patch) | |
tree | 85f731f83aa15ac778c83f51e4c8d1c4b2bc60d8 /net/GeoIP | |
parent | 132679c4fe97d2e15cd474600cdae66003a41e19 (diff) | |
download | freebsd-ports-gnome-9b282a754bf044394e0d59212a7419439b739325.tar.gz freebsd-ports-gnome-9b282a754bf044394e0d59212a7419439b739325.tar.zst freebsd-ports-gnome-9b282a754bf044394e0d59212a7419439b739325.zip |
- Get rid of the file leftover after "make clean"
- Make sure that the package has a message about copying
etc/GeoIP.conf.default to etc/GeoIP.conf
PR: ports/43230
Submitted by: Edwin Groothuis <edwin@mavetju.org>
Reviewed by: ijliao (mentor)
Approved by: ijliao (mentor)
Diffstat (limited to 'net/GeoIP')
-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 |
3 files changed, 29 insertions, 0 deletions
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 +*** |