1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00
freebsd-ports/net/netscript/Makefile
Tobias Kortkamp 8b1c886389 net/netscript: Remove GTK1 option
x11-toolkits/gtk12 is gone since r488008.
2019-02-01 14:34:29 +00:00

49 lines
1.1 KiB
Makefile

# Created by: ijliao
# $FreeBSD$
PORTNAME= netscript
PORTVERSION= 1.7.1
PORTREVISION= 4
CATEGORIES= net
MASTER_SITES= SF \
http://fakehalo.deadpig.org/%SUBDIR%/
MAINTAINER= ports@FreeBSD.org
COMMENT= Portable/multi-platform lightweight TCP socket scripting
LICENSE= PD
USES= ncurses shebangfix tar:tgz
SHEBANG_FILES= examples/*.ruleset examples/gui/*.ruleset \
examples/ncurses/*.ruleset
SHEBANG_LANG= netscript
netscript_OLD_CMD= /usr/bin/netscript
netscript_CMD= ${LOCALBASE}/bin/netscript
CFLAGS+= -DNCURSES -DARPA -DBSD_T -Wl,--export-dynamic
LDFLAGS+= -lncurses
PORTDOCS= *
PORTEXAMPLES= *
PLIST_FILES= bin/netscript
OPTIONS_DEFINE= DOCS EXAMPLES
do-build:
(cd ${WRKSRC} && ${CC} ${CFLAGS} ${CPPFLAGS} netscript.c \
-o netscript ${LDFLAGS})
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/netscript ${STAGEDIR}${PREFIX}/bin
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
do-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . \
${STAGEDIR}${EXAMPLESDIR})
.include <bsd.port.mk>