2001-05-30 13:25:41 +00:00
|
|
|
# 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
|
2004-02-04 05:10:27 +00:00
|
|
|
PORTREVISION= 1
|
2001-05-30 13:25:41 +00:00
|
|
|
CATEGORIES= net
|
2001-12-03 16:43:44 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
|
|
|
|
http://fakehalo.deadpig.org/%SUBDIR%/
|
2001-10-30 12:14:54 +00:00
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
2001-05-30 13:25:41 +00:00
|
|
|
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
|
2001-05-30 13:25:41 +00:00
|
|
|
|
2002-06-23 06:04:01 +00:00
|
|
|
USE_REINPLACE= yes
|
2002-09-03 01:06:26 +00:00
|
|
|
WANT_GNOME= yes
|
2001-10-30 12:14:54 +00:00
|
|
|
|
2001-11-28 07:02:47 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2002-09-03 01:06:26 +00:00
|
|
|
.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:
|
2002-06-23 06:04:01 +00:00
|
|
|
@${REINPLACE_CMD} -e "s,gtk-config,${GTK_CONFIG},g" ${WRKSRC}/Makefile
|
2001-05-30 13:25:41 +00:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/netscript ${PREFIX}/bin
|
2001-10-30 12:14:54 +00:00
|
|
|
.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
|
2001-10-30 12:14:54 +00:00
|
|
|
.endif
|
2001-05-30 13:25:41 +00:00
|
|
|
|
2001-11-28 07:02:47 +00:00
|
|
|
.include <bsd.port.post.mk>
|