diff options
author | Mike Heffner <mikeh@FreeBSD.org> | 2003-01-04 19:03:16 +0000 |
---|---|---|
committer | Mike Heffner <mikeh@FreeBSD.org> | 2003-01-04 19:03:16 +0000 |
commit | 6b8fbfe42f561c0be465016764933a9a11e17443 (patch) | |
tree | f6cd6c92a18782f917f2996bdd766e697f306f67 /net-p2p/napshare | |
parent | Update to 1.2.2. (diff) |
Upgrade to 1.2.
Notes
Notes:
svn path=/head/; revision=72524
Diffstat (limited to 'net-p2p/napshare')
-rw-r--r-- | net-p2p/napshare/Makefile | 5 | ||||
-rw-r--r-- | net-p2p/napshare/distinfo | 2 | ||||
-rw-r--r-- | net-p2p/napshare/files/patch-aa | 14 | ||||
-rw-r--r-- | net-p2p/napshare/files/patch-ab | 11 | ||||
-rw-r--r-- | net-p2p/napshare/pkg-plist | 2 |
5 files changed, 32 insertions, 2 deletions
diff --git a/net-p2p/napshare/Makefile b/net-p2p/napshare/Makefile index 0ddea2a9aad3..8841dce0c2b2 100644 --- a/net-p2p/napshare/Makefile +++ b/net-p2p/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-p2p/napshare/distinfo b/net-p2p/napshare/distinfo index 2a15e2ca081d..b952229674a0 100644 --- a/net-p2p/napshare/distinfo +++ b/net-p2p/napshare/distinfo @@ -1 +1 @@ -MD5 (napshare-1.1.tar.gz) = 83d3c79f7db56feb5409b949900c9a81 +MD5 (napshare-1.2.tar.gz) = 862373717fd7bee31b9dca003a0840a0 diff --git a/net-p2p/napshare/files/patch-aa b/net-p2p/napshare/files/patch-aa new file mode 100644 index 000000000000..9eb943e6f166 --- /dev/null +++ b/net-p2p/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-p2p/napshare/files/patch-ab b/net-p2p/napshare/files/patch-ab new file mode 100644 index 000000000000..a11691a4ff67 --- /dev/null +++ b/net-p2p/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-p2p/napshare/pkg-plist b/net-p2p/napshare/pkg-plist index b61cd0b43b46..bb602b5f46a3 100644 --- a/net-p2p/napshare/pkg-plist +++ b/net-p2p/napshare/pkg-plist @@ -1 +1,3 @@ bin/napshare +share/napshare/NAPS-urlcache.txt +@dirrm share/napshare |