1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-30 01:15:52 +00:00
freebsd-ports/net/netscript/Makefile
2002-01-03 15:01:12 +00:00

44 lines
831 B
Makefile

# ex:ts=8
# New ports collection makefile for: netscript
# Date created: May 30, 2001
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= netscript
PORTVERSION= 1.6.8
PORTREVISION= 0
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
http://fakehalo.deadpig.org/%SUBDIR%/
MASTER_SITE_SUBDIR= ${PORTNAME}
EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
WANT_GTK= yes
.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
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/netscript ${PREFIX}/bin
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
@${MKDIR} ${EXAMPLESDIR}
${CP} -R ${WRKSRC}/examples/* ${EXAMPLESDIR}
.endif
.include <bsd.port.post.mk>