svn commit: r358894 - in head/net/bittwist: . files

Vanilla I. Shu vanilla at FreeBSD.org
Mon Jun 23 02:44:53 UTC 2014


Author: vanilla
Date: Mon Jun 23 02:44:52 2014
New Revision: 358894
URL: http://svnweb.freebsd.org/changeset/ports/358894
QAT: https://qat.redports.org/buildarchive/r358894/

Log:
  Stagify.
  
  Approved by:	portmgr@

Modified:
  head/net/bittwist/Makefile
  head/net/bittwist/files/patch-Makefile

Modified: head/net/bittwist/Makefile
==============================================================================
--- head/net/bittwist/Makefile	Mon Jun 23 02:44:12 2014	(r358893)
+++ head/net/bittwist/Makefile	Mon Jun 23 02:44:52 2014	(r358894)
@@ -12,8 +12,9 @@ COMMENT=	Libpcap-based Ethernet packet g
 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>

Modified: head/net/bittwist/files/patch-Makefile
==============================================================================
--- head/net/bittwist/files/patch-Makefile	Mon Jun 23 02:44:12 2014	(r358893)
+++ head/net/bittwist/files/patch-Makefile	Mon Jun 23 02:44:52 2014	(r358894)
@@ -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


More information about the svn-ports-head mailing list