diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2001-11-28 07:02:47 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2001-11-28 07:02:47 +0000 |
commit | 58a3b044399f7c620a30e89b77cb946e04c0a75e (patch) | |
tree | a0b9faa0a8c8eb8157ce460071ca6527b0aab971 /net/netscript | |
parent | o Work around and reduce dependency list (remove automake) (diff) |
upgrade to 1.6.4
Notes
Notes:
svn path=/head/; revision=50676
Diffstat (limited to 'net/netscript')
-rw-r--r-- | net/netscript/Makefile | 23 | ||||
-rw-r--r-- | net/netscript/distinfo | 2 | ||||
-rw-r--r-- | net/netscript/pkg-plist | 4 |
3 files changed, 21 insertions, 8 deletions
diff --git a/net/netscript/Makefile b/net/netscript/Makefile index 9734e6385f5c..9b87bf2cd6b6 100644 --- a/net/netscript/Makefile +++ b/net/netscript/Makefile @@ -7,8 +7,8 @@ # PORTNAME= netscript -PORTVERSION= 1.6.3 -PORTREVISION= 1 +PORTVERSION= 1.6.4 +PORTREVISION= 0 CATEGORIES= net MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -16,10 +16,19 @@ EXTRACT_SUFX= .tgz MAINTAINER= ports@FreeBSD.org -EXAMPLESDIR= ${PREFIX}/share/examples/${PORTNAME} +WANT_GTK= yes -do-build: - cd ${WRKSRC} && ${CC} ${CFLAGS} -DARPA -DBSD_T netscript.c -o netscript +.include <bsd.port.pre.mk> + +.if defined(HAVE_GTK) +USE_GTK= yes +ALL_TARGET= gbsd +.else +ALL_TARGET= bsd +.endif + +post-patch: + @${PERL} -pi -e "s,gtk-config,${GTK_CONFIG},g" ${WRKSRC}/Makefile do-install: ${INSTALL_PROGRAM} ${WRKSRC}/netscript ${PREFIX}/bin @@ -27,7 +36,7 @@ do-install: @${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} @${MKDIR} ${EXAMPLESDIR} - ${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR} + ${CP} -R ${WRKSRC}/examples/* ${EXAMPLESDIR} .endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/net/netscript/distinfo b/net/netscript/distinfo index 1456d1bacd67..f632d0656d96 100644 --- a/net/netscript/distinfo +++ b/net/netscript/distinfo @@ -1 +1 @@ -MD5 (netscript-1.6.3.tgz) = 7c9122e61ee9b50d8bc1d3a91533c6f4 +MD5 (netscript-1.6.4.tgz) = ad8c755abc469b010eb00596533a99fe diff --git a/net/netscript/pkg-plist b/net/netscript/pkg-plist index 44a9f29e1b74..21f14b21a88e 100644 --- a/net/netscript/pkg-plist +++ b/net/netscript/pkg-plist @@ -1,5 +1,8 @@ bin/netscript %%PORTDOCS%%share/doc/netscript/README +%%PORTDOCS%%share/examples/netscript/gui/README +%%PORTDOCS%%share/examples/netscript/gui/gdict.ruleset +%%PORTDOCS%%share/examples/netscript/gui/gidentd.ruleset %%PORTDOCS%%share/examples/netscript/README %%PORTDOCS%%share/examples/netscript/dict.ruleset %%PORTDOCS%%share/examples/netscript/fingerd.ruleset @@ -13,5 +16,6 @@ bin/netscript %%PORTDOCS%%share/examples/netscript/smtp.ruleset %%PORTDOCS%%share/examples/netscript/telnet.ruleset %%PORTDOCS%%share/examples/netscript/telnetd.ruleset +%%PORTDOCS%%@dirrm share/examples/netscript/gui %%PORTDOCS%%@dirrm share/examples/netscript %%PORTDOCS%%@dirrm share/doc/netscript |