Index: head/misc/countrycodes/Makefile =================================================================== --- head/misc/countrycodes/Makefile (revision 436257) +++ head/misc/countrycodes/Makefile (revision 436258) @@ -1,29 +1,24 @@ # Created by: Emanuel Haupt # $FreeBSD$ PORTNAME= countrycodes -PORTVERSION= 1.0.5 +PORTVERSION= 1.0.6 CATEGORIES= misc -MASTER_SITES= http://www.grigna.com/diego/linux/countrycodes/ \ - LOCAL/ehaupt +MASTER_SITES= SF/${PORTNAME}/${PORTVERSION} MAINTAINER= ehaupt@FreeBSD.org COMMENT= ISO 3166 country code finder LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/COPYING -BUILD_WRKSRC= ${WRKSRC}/src -INSTALL_WRKSRC= ${BUILD_WRKSRC} - PLIST_FILES= bin/iso3166 man/man1/iso3166.1.gz PORTDOCS= README -MAKE_ARGS= prefix="${STAGEDIR}${PREFIX}" CC="${CC}" CCOPTS="${CFLAGS}" WARNINGS="" - OPTIONS_DEFINE= DOCS post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/doc/${PORTDOCS} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR} .include Index: head/misc/countrycodes/distinfo =================================================================== --- head/misc/countrycodes/distinfo (revision 436257) +++ head/misc/countrycodes/distinfo (revision 436258) @@ -1,2 +1,3 @@ -SHA256 (countrycodes-1.0.5.tar.gz) = e56e10442c7353c39cd9e57fa747df279ae39a84a89336644a58c29de5b2b39b -SIZE (countrycodes-1.0.5.tar.gz) = 18621 +TIMESTAMP = 1489608226 +SHA256 (countrycodes-1.0.6.tar.gz) = 4574d331b4e25f78b792fb0c10556312cca462973a9819b86c643d35ce69ed96 +SIZE (countrycodes-1.0.6.tar.gz) = 18834 Index: head/misc/countrycodes/files/patch-src_Makefile =================================================================== --- head/misc/countrycodes/files/patch-src_Makefile (revision 436257) +++ head/misc/countrycodes/files/patch-src_Makefile (nonexistent) @@ -1,32 +0,0 @@ ---- 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) Property changes on: head/misc/countrycodes/files/patch-src_Makefile ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/misc/countrycodes/files/patch-Makefile =================================================================== --- head/misc/countrycodes/files/patch-Makefile (nonexistent) +++ head/misc/countrycodes/files/patch-Makefile (revision 436258) @@ -0,0 +1,43 @@ +--- Makefile.orig 2017-02-26 15:02:56 UTC ++++ Makefile +@@ -9,7 +9,7 @@ + prefix ?= /usr/local + bindir ?= ${prefix}/bin + +-mandir ?= ${prefix}/man/man1 ++mandir ?= ${MANPREFIX}/man/man1 + + # For system that doesn't support mkdir -p. + # If you have Linux, don't bother. +@@ -23,13 +23,13 @@ BINMODE=755 + LOGDIRMODE=700 + + # Compiler to use +-CC=gcc ++CC?=gcc + + # Compiler warnings +-WARNINGS= -pedantic -Wall ++#WARNINGS= -pedantic -Wall + + # Compiler flags +-CCOPTS = -O2 -fomit-frame-pointer ++CCOPTS = ${CFLAGS} + + # The makefile standards document I read says that I have to put it here... + SHELL = /bin/sh +@@ -66,11 +66,11 @@ clean: + strip: + strip $(PROGRAM) + +-install: +- $(MKDIRECTORY) $(DESTDIR)/${bindir} $(DESTDIR)/${mandir}/man1 ++install: strip ++ $(MKDIRECTORY) $(DESTDIR)/${bindir} $(DESTDIR)/${mandir} + $(INSTALL) -m $(BINMODE) $(PROGRAM) $(DESTDIR)/${bindir} + @echo "Installing man page..." +- $(INSTALL) -m 644 iso3166.1 $(DESTDIR)/${mandir}/man1 ++ $(INSTALL) -m 644 iso3166.1 $(DESTDIR)/${mandir} + + update-man: + @$(SEDBIN) $(SEDCMDS) iso3166.1.in > iso3166.1 Property changes on: head/misc/countrycodes/files/patch-Makefile ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/misc/countrycodes/pkg-descr =================================================================== --- head/misc/countrycodes/pkg-descr (revision 436257) +++ head/misc/countrycodes/pkg-descr (revision 436258) @@ -1,5 +1,5 @@ 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/ +WWW: https://sourceforge.net/projects/countrycodes/