aboutsummaryrefslogtreecommitdiffstats
path: root/net/papaya/Makefile
blob: 5633baa2b8b8d4825fc4a3f523772e69d347cb33 (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
# New ports collection makefile for:    papaya
# Date created:     23 August 2001
# Whom:         Edwin Groothuis <edwin@mavetju.org>
#
# $FreeBSD$
#

PORTNAME=   papaya
PORTVERSION=    0.90
CATEGORIES= net
MASTER_SITES=   http://www.gtk-papaya.org/downloads/source/
DISTNAME=   papaya-src-${PORTVERSION}

MAINTAINER= edwin@mavetju.org

GNU_CONFIGURE=  yes
USE_GMAKE=  yes
USE_GTK=    yes
WANT_GNOME= yes

.include <bsd.port.pre.mk>

.if !defined(HAVE_GNOME)
CONFIGURE_ARGS+=    --disable-gnome
.endif

CONFIGURE_ENV+= GLIBCONFIG=${GLIB_CONFIG} GTKCONFIG=${GTK_CONFIG}
MAKE_ARGS+= PTHREAD_LIBS=${PTHREAD_LIBS} CXX="${CXX}"

post-patch:
    @${PERL} -pi -e "s|/usr/local|${PREFIX}|"  \
        ${WRKSRC}/src/install-system.sh
    @${PERL} -pi -e "s|\@INSTALL\@|${INSTALL_PROGRAM}|g; \
        s|\@INSTALL_DATA\@|${INSTALL_DATA}|g" \
        ${WRKSRC}/src/install-system.sh ${WRKSRC}/po/Makefile.in.in

post-install:
    @${CAT} ${PKGMESSAGE}

.include <bsd.port.post.mk>