summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2002-09-23 09:21:22 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2002-09-23 09:21:22 +0000
commitd0e934a5f0d9e2d49374ce5819f764c8b198382c (patch)
tree5804e11c023ffa3699e84a99b75209f1e075dd56 /misc
parentFixing a build error listed on bento (diff)
- 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)
Notes
Notes: svn path=/head/; revision=67048
Diffstat (limited to 'misc')
-rw-r--r--misc/GeoIP/Makefile4
-rw-r--r--misc/GeoIP/files/patch-conf::Makefile.in21
-rw-r--r--misc/GeoIP/pkg-message4
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
+***