From a9e9db39ed1a0479c307a7bed1aee743b3694158 Mon Sep 17 00:00:00 2001 From: "Vanilla I. Shu" Date: Wed, 2 Jul 2014 08:04:10 +0000 Subject: [PATCH] 1: Stagify. 2: Add LICENSE. Approved by: portmgr@ (blanket approval)portmgr@ (blanket approval)portmgr@ (blanket approval)portmgr@ (blanket approval) --- www/webresolve/Makefile | 6 ++---- www/webresolve/files/patch-configure | 13 +++++++++++++ www/webresolve/pkg-plist | 2 ++ 3 files changed, 17 insertions(+), 4 deletions(-) create mode 100644 www/webresolve/files/patch-configure diff --git a/www/webresolve/Makefile b/www/webresolve/Makefile index 63eff6c163a7..0756cc67812c 100644 --- a/www/webresolve/Makefile +++ b/www/webresolve/Makefile @@ -11,13 +11,11 @@ MASTER_SITES= http://siag.nu/pub/webresolve/ \ MAINTAINER= joseph@randomnetworks.com COMMENT= Webresolve resolves IP addresses to host names in web log files -HAS_CONFIGURE= yes +LICENSE= GPLv2 +HAS_CONFIGURE= yes ALL_TARGET= webresolve -MAN1= webresolve.1 splitwr.1 - -NO_STAGE= yes post-patch: @${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|; s|\-g||' \ ${WRKSRC}/configure diff --git a/www/webresolve/files/patch-configure b/www/webresolve/files/patch-configure new file mode 100644 index 000000000000..f49708841db7 --- /dev/null +++ b/www/webresolve/files/patch-configure @@ -0,0 +1,13 @@ +--- configure.orig 2014-07-02 16:00:31.835416510 +0800 ++++ configure 2014-07-02 16:00:52.715441718 +0800 +@@ -116,8 +116,8 @@ dist: + livelog: livelog.o + + install: webresolve +- cp webresolve splitwr \$(BINDIR) +- cp webresolve.1 splitwr.1 \$(MAN1DIR) ++ cp webresolve splitwr \$(DESTDIR)\$(BINDIR) ++ cp webresolve.1 splitwr.1 \$(DESTDIR)\$(MAN1DIR) + + uninstall: + rm -f \$(BINDIR)/webresolve \$(BINDIR)/splitwr diff --git a/www/webresolve/pkg-plist b/www/webresolve/pkg-plist index 700c3889251d..c4ffb0b0f121 100644 --- a/www/webresolve/pkg-plist +++ b/www/webresolve/pkg-plist @@ -1,2 +1,4 @@ bin/splitwr bin/webresolve +man/man1/webresolve.1.gz +man/man1/splitwr.1.gz