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-02-20 06:01:23 +00:00
|
|
|
PORTVERSION= 1.7.0
|
2001-11-28 07:02:47 +00:00
|
|
|
PORTREVISION= 0
|
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
|
2001-05-30 13:25:41 +00:00
|
|
|
|
2001-11-28 07:02:47 +00:00
|
|
|
WANT_GTK= yes
|
2001-10-30 12:14:54 +00:00
|
|
|
|
2001-11-28 07:02:47 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if defined(HAVE_GTK)
|
|
|
|
USE_GTK= yes
|
|
|
|
ALL_TARGET= gbsd
|
|
|
|
.else
|
|
|
|
ALL_TARGET= bsd
|
|
|
|
.endif
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${PERL} -pi -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}
|
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>
|