aboutsummaryrefslogtreecommitdiffstats
path: root/net/jags/Makefile
blob: 17d6eae4e3a08a2b6f0e5e51737c471cffe12067 (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
# 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
PORTREVISION=   1
CATEGORIES= net
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE} \
        http://sumpan.campus.luth.se/software/jags/download/
MASTER_SITE_SUBDIR= ${PORTNAME}

MAINTAINER= pat@FreeBSD.org
COMMENT=    JAGS - Just Another GTK+ Samba Client

USE_GMAKE=  yes
USE_XPM=    yes
USE_GNOME=  gtk12
USE_PERL5_BUILD=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>