1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

- Support staging

- Respect CFLAGS
- Don't build with debug symbols
This commit is contained in:
Emanuel Haupt 2014-02-26 13:14:48 +00:00
parent 78b6395959
commit d2497a764a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=346203
2 changed files with 11 additions and 5 deletions

View File

@ -9,15 +9,13 @@ MASTER_SITES= http://www.mavetju.org/download/
MAINTAINER= edwin@mavetju.org
COMMENT= Decode and diagnose sniffed DHCP packets
MAN8= dhcpdump.8
PLIST_FILES= bin/dhcpdump
PLIST_FILES= bin/dhcpdump man/man8/dhcpdump.8.gz
USES= perl5
USE_PERL5= build
NO_STAGE= yes
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/dhcpdump ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/dhcpdump.8 ${PREFIX}/man/man8
${INSTALL_PROGRAM} ${WRKSRC}/dhcpdump ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/dhcpdump.8 ${STAGEDIR}${PREFIX}/man/man8
.include <bsd.port.mk>

View File

@ -0,0 +1,8 @@
--- ./Makefile.orig 2014-02-26 14:13:07.131955471 +0100
+++ ./Makefile 2014-02-26 14:13:21.108957821 +0100
@@ -1,5 +1,3 @@
-CFLAGS= -Wall -g
-LDFLAGS= -g
LIBS= -lpcap
all: dhcpdump dhcpdump.8