blob: 82b063cd4a0ccd0b2ce685bfb171956f4c73c3fc (
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
45
46
47
|
# ex:ts=8
# New ports collection makefile for: netscript
# Date created: May 30, 2001
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= netscript
PORTVERSION= 1.7.1
PORTREVISION= 2
CATEGORIES= net
MASTER_SITES= SF \
http://fakehalo.deadpig.org/%SUBDIR%/
EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= Portable/multi-platform lightweight tcp socket scripting
WANT_GNOME= yes
.include <bsd.port.pre.mk>
.if ${HAVE_GNOME:Mgtk12}!=""
USE_GNOME+= gtk12
PKGNAMESUFFIX= -gtk
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}
@${CHMOD} -R og+r ${EXAMPLESDIR}
@${CHMOD} og+x ${EXAMPLESDIR}/gui ${EXAMPLESDIR}/ncurses
.endif
.include <bsd.port.post.mk>
|