diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2003-05-12 08:12:41 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2003-05-12 08:12:41 +0000 |
commit | 7b3f5df25bd6541c53817b52b7c5e8cfc41ff339 (patch) | |
tree | 1cb33bffbf1a6ec61e391b20220e0e89fc17b589 /net/gspoof/Makefile | |
parent | 1dbdf894f81cb90930f52a747284462776861217 (diff) | |
download | ports-7b3f5df25bd6541c53817b52b7c5e8cfc41ff339.tar.gz ports-7b3f5df25bd6541c53817b52b7c5e8cfc41ff339.zip |
Notes
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> |