1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00
Approved by:	portmgr@
This commit is contained in:
Vanilla I. Shu 2014-06-23 02:44:52 +00:00
parent 87d6c63c97
commit 6345d7d235
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=358894
2 changed files with 25 additions and 5 deletions

View File

@ -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>

View File

@ -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