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/Makefile | |
parent | Patch file rerolled. (diff) |
Support PORTDOCS.
PR: ports/31616
Submitted by: KATO Tsuguru <tkato@prontomail.com>
Notes
Notes:
svn path=/head/; revision=49376
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> |