diff options
author | mikeh <mikeh@FreeBSD.org> | 2003-01-05 03:03:16 +0800 |
---|---|---|
committer | mikeh <mikeh@FreeBSD.org> | 2003-01-05 03:03:16 +0800 |
commit | c0ba937907ed7514fec17c1de5221de1a7185ee5 (patch) | |
tree | 27669135c9cc4370997cc868f8f6403b8568d7e2 /net/napshare | |
parent | d4055f81eb182308b76ac620875ddf6415c651b8 (diff) | |
download | freebsd-ports-gnome-c0ba937907ed7514fec17c1de5221de1a7185ee5.tar.gz freebsd-ports-gnome-c0ba937907ed7514fec17c1de5221de1a7185ee5.tar.zst freebsd-ports-gnome-c0ba937907ed7514fec17c1de5221de1a7185ee5.zip |
Upgrade to 1.2.
Diffstat (limited to 'net/napshare')
-rw-r--r-- | net/napshare/Makefile | 5 | ||||
-rw-r--r-- | net/napshare/distinfo | 2 | ||||
-rw-r--r-- | net/napshare/files/patch-aa | 14 | ||||
-rw-r--r-- | net/napshare/files/patch-ab | 11 | ||||
-rw-r--r-- | net/napshare/pkg-plist | 2 |
5 files changed, 32 insertions, 2 deletions
diff --git a/net/napshare/Makefile b/net/napshare/Makefile index 0ddea2a9aad3..8841dce0c2b2 100644 --- a/net/napshare/Makefile +++ b/net/napshare/Makefile @@ -6,7 +6,7 @@ # PORTNAME= napshare -PORTVERSION= 1.1 +PORTVERSION= 1.2 CATEGORIES= net MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= napshare @@ -19,4 +19,7 @@ USE_GNOMENG= yes USE_GNOME= gtk12 GNU_CONFIGURE= yes +post-extract: + @${RM} ${WRKSRC}/config.cache + .include <bsd.port.mk> diff --git a/net/napshare/distinfo b/net/napshare/distinfo index 2a15e2ca081d..b952229674a0 100644 --- a/net/napshare/distinfo +++ b/net/napshare/distinfo @@ -1 +1 @@ -MD5 (napshare-1.1.tar.gz) = 83d3c79f7db56feb5409b949900c9a81 +MD5 (napshare-1.2.tar.gz) = 862373717fd7bee31b9dca003a0840a0 diff --git a/net/napshare/files/patch-aa b/net/napshare/files/patch-aa new file mode 100644 index 000000000000..9eb943e6f166 --- /dev/null +++ b/net/napshare/files/patch-aa @@ -0,0 +1,14 @@ +--- src/hosts.c.orig Sat Jan 4 13:25:05 2003 ++++ src/hosts.c Sat Jan 4 13:27:43 2003 +@@ -265,6 +265,11 @@ + g_snprintf(h_tmp, sizeof(h_tmp), "%s/NAPS-urlcache.txt", path); + cachef = fopen(h_tmp, "r"); // open the normal file + } ++ // Try opening from data directory ++ if (cachef == NULL) { ++ g_snprintf(h_tmp, sizeof(h_tmp), "%s/NAPS-urlcache.txt", PACKAGE_DATA_DIR); ++ cachef = fopen(h_tmp, "r"); ++ } + } + + if (!cachef) { diff --git a/net/napshare/files/patch-ab b/net/napshare/files/patch-ab new file mode 100644 index 000000000000..a11691a4ff67 --- /dev/null +++ b/net/napshare/files/patch-ab @@ -0,0 +1,11 @@ +--- Makefile.in.orig Sat Jan 4 13:47:04 2003 ++++ Makefile.in Sat Jan 4 13:47:33 2003 +@@ -362,6 +362,8 @@ + fi \ + done \ + fi ++ $(mkinstalldirs) $(DESTDIR)$(pkgdatadir); \ ++ $(INSTALL_DATA) $(srcdir)/NAPS-urlcache.txt $(DESTDIR)$(pkgdatadir); + + dist-hook: + if test -d pixmaps; then \ diff --git a/net/napshare/pkg-plist b/net/napshare/pkg-plist index b61cd0b43b46..bb602b5f46a3 100644 --- a/net/napshare/pkg-plist +++ b/net/napshare/pkg-plist @@ -1 +1,3 @@ bin/napshare +share/napshare/NAPS-urlcache.txt +@dirrm share/napshare |