1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-05 06:27:37 +00:00
freebsd-ports/net/netscript/Makefile

49 lines
1.0 KiB
Makefile
Raw Normal View History

# ex:ts=8
# New ports collection makefile for: netscript
# Date created: May 30, 2001
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= netscript
2002-10-09 12:04:40 +00:00
PORTVERSION= 1.7.1
PORTREVISION= 1
CATEGORIES= net
2001-12-03 16:43:44 +00:00
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
http://fakehalo.deadpig.org/%SUBDIR%/
MASTER_SITE_SUBDIR= ${PORTNAME}
EXTRACT_SUFX= .tgz
2001-07-17 10:46:14 +00:00
MAINTAINER= ports@FreeBSD.org
2003-02-20 19:00:52 +00:00
COMMENT= Portable/multi-platform lightweight tcp socket scripting
USE_REINPLACE= yes
WANT_GNOME= yes
2001-11-28 07:02:47 +00:00
.include <bsd.port.pre.mk>
.if ${HAVE_GNOME:Mgtk12}!=""
USE_GNOME+= gtk12
PKGNAMESUFFIX= -gtk
2001-11-28 07:02:47 +00:00
ALL_TARGET= gbsd
.else
ALL_TARGET= bsd
.endif
post-patch:
@${REINPLACE_CMD} -e "s,gtk-config,${GTK_CONFIG},g" ${WRKSRC}/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/netscript ${PREFIX}/bin
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
@${MKDIR} ${EXAMPLESDIR}
2001-11-28 07:02:47 +00:00
${CP} -R ${WRKSRC}/examples/* ${EXAMPLESDIR}
2002-10-09 12:04:40 +00:00
@${CHMOD} -R og+r ${EXAMPLESDIR}
@${CHMOD} og+x ${EXAMPLESDIR}/gui ${EXAMPLESDIR}/ncurses
.endif
2001-11-28 07:02:47 +00:00
.include <bsd.port.post.mk>