diff options
Diffstat (limited to 'net/netscript/Makefile')
-rw-r--r-- | net/netscript/Makefile | 18 |
1 files changed, 13 insertions, 5 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> |