diff options
author | ijliao <ijliao@FreeBSD.org> | 2003-05-12 16:12:41 +0800 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2003-05-12 16:12:41 +0800 |
commit | 919735d6ddb698610cb57c4997f4564b967b4a42 (patch) | |
tree | 3c10cf9c662670a6de019a09a3abb8b92df4a362 /net/gspoof/Makefile | |
parent | b584b0614ec53862c635c4406ecce6a6e70d594e (diff) | |
download | freebsd-ports-gnome-919735d6ddb698610cb57c4997f4564b967b4a42.tar.gz freebsd-ports-gnome-919735d6ddb698610cb57c4997f4564b967b4a42.tar.zst freebsd-ports-gnome-919735d6ddb698610cb57c4997f4564b967b4a42.zip |
- Fix build on -stable
- Utilize USE_GETOPT_LONG
- Utilize NOPORTDOCS
PR: 51895
Submitted by: Ports Fury
Diffstat (limited to 'net/gspoof/Makefile')
-rw-r--r-- | net/gspoof/Makefile | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/net/gspoof/Makefile b/net/gspoof/Makefile index 5159ab82d1dc..58796f3f5b11 100644 --- a/net/gspoof/Makefile +++ b/net/gspoof/Makefile @@ -8,6 +8,7 @@ PORTNAME= gspoof PORTVERSION= 2.1.1 +PORTREVISION= 1 CATEGORIES= net MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -17,16 +18,22 @@ COMMENT= Console/GTK+ TCP/IP Packets Forger BUILD_DEPENDS= ${LOCALBASE}/lib/libnet.a:${PORTSDIR}/net/libnet-devel -USE_REINPLACE= yes -USE_GNOME= gtk12 WRKSRC= ${WRKDIR}/${PORTNAME} + +USE_GETOPT_LONG= yes +USE_GNOME= gtk12 +USE_REINPLACE= yes +MAKE_ARGS= CC="${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}" ALL_TARGET= gtk -CFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib post-patch: - @${REINPLACE_CMD} -e "s|gtk-config|${GTK_CONFIG}|g" ${WRKSRC}/Makefile + @${REINPLACE_CMD} -e "s|gtk-config|\$${GTK_CONFIG}|g" ${WRKSRC}/Makefile do-install: ${INSTALL_PROGRAM} ${WRKSRC}/gspoof ${PREFIX}/bin +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} +.endif .include <bsd.port.mk> |