aboutsummaryrefslogtreecommitdiffstats
path: root/net/jags/Makefile
blob: 6da5a44eb69f341b5f30e4b5bdcf0a1c3f9cdb0a (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
# New ports collection makefile for:    jags
# Date created:             Thu Jul  5 17:13:11 EDT 2001
# Whom:                 Patrick Li <pat@databits.net>
#
# $FreeBSD$
#

PORTNAME=   jags
PORTVERSION=    0.20.2
CATEGORIES= net
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE} \
        http://sumpan.campus.luth.se/software/jags/download/
MASTER_SITE_SUBDIR= ${PORTNAME}

MAINTAINER= pat@FreeBSD.org

USE_GMAKE=  yes
USE_XPM=    yes
USE_GTK=    yes
USE_GLIB=   yes
GNU_CONFIGURE=  yes

pre-patch:
    @${PERL} -pi.fbsd -e 's@/usr/local/share/jags/@${PREFIX}/share/jags/@g' \
        ${WRKSRC}/src/jagsconfig.cpp
    @${PERL} -pi.fbsd -e 's@/usr/local/share/jags/pixmaps/@${PREFIX}/share/jags/pixmaps/@g' \
        ${WRKSRC}/src/gtk_common.cpp

.include <bsd.port.mk>