blob: 7a4db8f96a6e235ff70657ac3d23315b92782b4f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
# ex:ts=8
# New ports collection makefile for: netscript
# Date created: May 30, 2001
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= netscript
PORTVERSION= 1.7.0
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
USE_REINPLACE= yes
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:
@${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}
${CP} -R ${WRKSRC}/examples/* ${EXAMPLESDIR}
.endif
.include <bsd.port.post.mk>
|