aboutsummaryrefslogtreecommitdiffstats
path: root/net/jags/Makefile
blob: 30d11158752a09e2b3116d8976ccd64b9cea2943 (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
# 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
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>