summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2014-06-23 02:44:52 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2014-06-23 02:44:52 +0000
commit6345d7d235fd9138443f4a0a6d9fd92024e2437f (patch)
tree71acea6bc04a23318d8e0d0d5f78b32681a5d642 /net
parent- Convert databases/spatialite to USES=libtool, drop .la files (diff)
Stagify.
Approved by: portmgr@
Notes
Notes: svn path=/head/; revision=358894
Diffstat (limited to 'net')
-rw-r--r--net/bittwist/Makefile7
-rw-r--r--net/bittwist/files/patch-Makefile23
2 files changed, 25 insertions, 5 deletions
diff --git a/net/bittwist/Makefile b/net/bittwist/Makefile
index b7db20a73348..7ea14a6142f2 100644
--- a/net/bittwist/Makefile
+++ b/net/bittwist/Makefile
@@ -12,8 +12,9 @@ COMMENT= Libpcap-based Ethernet packet generator, with PCAP editor
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
USES= gmake
-MAN1= bittwist.1 bittwistb.1 bittwiste.1
-PLIST_FILES= bin/bittwist bin/bittwistb bin/bittwiste
+PLIST_FILES= bin/bittwist bin/bittwistb bin/bittwiste \
+ man/man1/bittwist.1.gz \
+ man/man1/bittwistb.1.gz \
+ man/man1/bittwiste.1.gz
-NO_STAGE= yes
.include <bsd.port.mk>
diff --git a/net/bittwist/files/patch-Makefile b/net/bittwist/files/patch-Makefile
index d1ae2ddde2d9..f58c9ccc1f8b 100644
--- a/net/bittwist/files/patch-Makefile
+++ b/net/bittwist/files/patch-Makefile
@@ -1,5 +1,5 @@
---- ./Makefile.orig 2012-01-16 13:46:05.147743123 -0500
-+++ ./Makefile 2012-01-16 13:46:25.029731197 -0500
+--- Makefile.orig 2011-02-24 23:23:42.000000000 +0800
++++ Makefile 2014-06-23 10:40:19.186220280 +0800
@@ -1,6 +1,6 @@
SHELL = /bin/sh
@@ -8,3 +8,22 @@
exec_prefix = ${prefix}
bindir = ${exec_prefix}/bin
mandir = ${prefix}/man/man1
+@@ -31,12 +31,12 @@ clean:
+ rm -f $(SRC)/bittwist $(SRC)/bittwistb $(SRC)/bittwiste
+
+ install:
+- mkdir -p $(bindir)
+- chmod 755 $(bindir)
+- $(INSTALL_PROGRAM) $(SRC)/bittwist $(SRC)/bittwistb $(SRC)/bittwiste $(bindir)
+- mkdir -p $(mandir)
+- chmod 755 $(mandir)
+- $(INSTALL_DATA) $(DOC)/bittwist.1 $(DOC)/bittwistb.1 $(DOC)/bittwiste.1 $(mandir)
++ mkdir -p $(DESTDIR)$(bindir)
++ chmod 755 $(DESTDIR)$(bindir)
++ $(INSTALL_PROGRAM) $(SRC)/bittwist $(SRC)/bittwistb $(SRC)/bittwiste $(DESTDIR)$(bindir)
++ mkdir -p $(DESTDIR)$(mandir)
++ chmod 755 $(DESTDIR)$(mandir)
++ $(INSTALL_DATA) $(DOC)/bittwist.1 $(DOC)/bittwistb.1 $(DOC)/bittwiste.1 $(DESTDIR)$(mandir)
+
+ uninstall:
+ rm -f $(bindir)/bittwist $(bindir)/bittwistb $(bindir)/bittwiste