diff options
author | jylefort <jylefort@FreeBSD.org> | 2005-07-25 03:42:03 +0800 |
---|---|---|
committer | jylefort <jylefort@FreeBSD.org> | 2005-07-25 03:42:03 +0800 |
commit | 493dade89fb88ade9af7d7d72ea879d089193747 (patch) | |
tree | 1ede5ad64c5506f86ad25c965eadd0b12f1d83f0 /misc/countrycodes/files | |
parent | 220945374a99129b2c1ae912fe04957b358200b6 (diff) | |
download | freebsd-ports-gnome-493dade89fb88ade9af7d7d72ea879d089193747.tar.gz freebsd-ports-gnome-493dade89fb88ade9af7d7d72ea879d089193747.tar.zst freebsd-ports-gnome-493dade89fb88ade9af7d7d72ea879d089193747.zip |
Add countrycodes.
Countrycodes is an ISO 3166 country code finder. It is mainly used to know
the country a domain name belongs to. It also allows searching by 2 or 3
letters codes, country number and country name.
WWW: http://www.grigna.com/diego/linux/countrycodes/
PR: ports/83830
Submitted by: Emanuel Haupt <ehaupt@critical.ch>
Diffstat (limited to 'misc/countrycodes/files')
-rw-r--r-- | misc/countrycodes/files/patch-src_Makefile | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/misc/countrycodes/files/patch-src_Makefile b/misc/countrycodes/files/patch-src_Makefile new file mode 100644 index 000000000000..a380c7705775 --- /dev/null +++ b/misc/countrycodes/files/patch-src_Makefile @@ -0,0 +1,32 @@ +--- src/Makefile.orig Sat Feb 1 16:56:08 2003 ++++ src/Makefile Sun Jul 24 21:39:05 2005 +@@ -58,11 +58,14 @@ + + PROGRAM = iso3166 + +-all: $(PROGRAM) ++all: $(PROGRAM) iso3166.1 + + $(PROGRAM): $(ISO3166OBJ) + $(CC) $(CCOPTS) $(ISO3166OBJ) -o $@ + ++iso3166.1: ${docdir}/iso3166.1.in ++ @$(SEDBIN) $(SEDCMDS) $> > $@ ++ + clean: + rm -f $(ISO3166OBJ) core defines.h $(PROGRAM) + +@@ -70,11 +73,8 @@ + strip $(PROGRAM) + + install: +- $(INSTALL) -g root -m $(BINMODE) -o root -s ${srcdir}/$(PROGRAM) ${bindir} +- @echo "Installing man page..." +- @$(SEDBIN) $(SEDCMDS) ${docdir}/iso3166.1.in > ${mandir}/iso3166.1 +- @chown 0.0 ${mandir}/iso3166.1 +- @echo ++ $(BSD_INSTALL_PROGRAM) ${srcdir}/$(PROGRAM) ${bindir} ++ $(BSD_INSTALL_MAN) iso3166.1 ${mandir} + + uninstall: + rm -f ${bindir}/$(PROGRAM) |