diff options
author | Clive Lin <clive@FreeBSD.org> | 2001-10-30 12:14:54 +0000 |
---|---|---|
committer | Clive Lin <clive@FreeBSD.org> | 2001-10-30 12:14:54 +0000 |
commit | 7e27b5f7dd6cdd82dbe7ca60650f8fb5c99daf25 (patch) | |
tree | 98435da1be316c949402e86b03e329342750cb86 /net/netscript | |
parent | 9bacfd3afd69ea4a869f3f7ec0193749874dcc88 (diff) | |
download | ports-7e27b5f7dd6cdd82dbe7ca60650f8fb5c99daf25.tar.gz ports-7e27b5f7dd6cdd82dbe7ca60650f8fb5c99daf25.zip |
Notes
Diffstat (limited to 'net/netscript')
-rw-r--r-- | net/netscript/Makefile | 18 | ||||
-rw-r--r-- | net/netscript/pkg-plist | 30 |
2 files changed, 29 insertions, 19 deletions
diff --git a/net/netscript/Makefile b/net/netscript/Makefile index 32ae68328ed8..9734e6385f5c 100644 --- a/net/netscript/Makefile +++ b/net/netscript/Makefile @@ -8,18 +8,26 @@ PORTNAME= netscript PORTVERSION= 1.6.3 +PORTREVISION= 1 CATEGORIES= net -MASTER_SITES= http://www.realhalo.org/netscript/ +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= ${PORTNAME} EXTRACT_SUFX= .tgz MAINTAINER= ports@FreeBSD.org -ALL_TARGET= bsd +EXAMPLESDIR= ${PREFIX}/share/examples/${PORTNAME} + +do-build: + cd ${WRKSRC} && ${CC} ${CFLAGS} -DARPA -DBSD_T netscript.c -o netscript do-install: ${INSTALL_PROGRAM} ${WRKSRC}/netscript ${PREFIX}/bin - ${MKDIR} ${PREFIX}/share/examples/netscript - (cd ${WRKSRC}/examples ; \ - ${INSTALL_DATA} * ${PREFIX}/share/examples/netscript) +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} + @${MKDIR} ${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR} +.endif .include <bsd.port.mk> diff --git a/net/netscript/pkg-plist b/net/netscript/pkg-plist index 8679f2f28bcf..44a9f29e1b74 100644 --- a/net/netscript/pkg-plist +++ b/net/netscript/pkg-plist @@ -1,15 +1,17 @@ bin/netscript -share/examples/netscript/README -share/examples/netscript/dict.ruleset -share/examples/netscript/fingerd.ruleset -share/examples/netscript/ftp.ruleset -share/examples/netscript/http.ruleset -share/examples/netscript/httpd.ruleset -share/examples/netscript/identd.ruleset -share/examples/netscript/irc.ruleset -share/examples/netscript/irc2.ruleset -share/examples/netscript/pop3.ruleset -share/examples/netscript/smtp.ruleset -share/examples/netscript/telnet.ruleset -share/examples/netscript/telnetd.ruleset -@dirrm share/examples/netscript +%%PORTDOCS%%share/doc/netscript/README +%%PORTDOCS%%share/examples/netscript/README +%%PORTDOCS%%share/examples/netscript/dict.ruleset +%%PORTDOCS%%share/examples/netscript/fingerd.ruleset +%%PORTDOCS%%share/examples/netscript/ftp.ruleset +%%PORTDOCS%%share/examples/netscript/http.ruleset +%%PORTDOCS%%share/examples/netscript/httpd.ruleset +%%PORTDOCS%%share/examples/netscript/identd.ruleset +%%PORTDOCS%%share/examples/netscript/irc.ruleset +%%PORTDOCS%%share/examples/netscript/irc2.ruleset +%%PORTDOCS%%share/examples/netscript/pop3.ruleset +%%PORTDOCS%%share/examples/netscript/smtp.ruleset +%%PORTDOCS%%share/examples/netscript/telnet.ruleset +%%PORTDOCS%%share/examples/netscript/telnetd.ruleset +%%PORTDOCS%%@dirrm share/examples/netscript +%%PORTDOCS%%@dirrm share/doc/netscript |