From 6345d7d235fd9138443f4a0a6d9fd92024e2437f Mon Sep 17 00:00:00 2001 From: "Vanilla I. Shu" Date: Mon, 23 Jun 2014 02:44:52 +0000 Subject: Stagify. Approved by: portmgr@ --- net/bittwist/Makefile | 7 ++++--- net/bittwist/files/patch-Makefile | 23 +++++++++++++++++++++-- 2 files changed, 25 insertions(+), 5 deletions(-) (limited to 'net') 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 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 -- cgit v1.2.3