aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fm/gnome-commander2/Makefile
blob: 7a378861386ddc2f99ebd1933f85433d90d1a58c (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
# New ports collection makefile for:    gnomem-commander
# Date created:     23 April 2002
# Whom:         Edgardo Garcia Hoeffler <edybsd@yahoo.com.ar>
#
# $FreeBSD$
#

PORTNAME=   gnome-commander
PORTVERSION=    0.9.7
CATEGORIES= x11-fm gnome
MASTER_SITES=   http://freesoftware.fsf.org/download/gcmd/gcmd.pkg/0.9.7/
DISTNAME=   ${PORTNAME}-${PORTVERSION}-2

MAINTAINER= edybsd@yahoo.com.ar

WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
.if defined(WITH_FAM)
LIB_DEPENDS=    fam.0:${PORTSDIR}/devel/fam
.endif
BUILD_DEPENDS=  automake14:${PORTSDIR}/devel/automake14

USE_X_PREFIX=   yes
USE_GMAKE=  yes
USE_GNOMENG=    yes
USE_GNOME=  gnomeprefix gnomehack gnomevfs gnomelibs gdkpixbuf
USE_REINPLACE=  yes
GNU_CONFIGURE=  yes
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LIBS="-L${LOCALBASE}/lib -lintl"

post-patch:
.for AM in config.sub config.guess install-sh missing mkinstalldirs
    ${LN} -fs ${LOCALBASE}/share/automake14/automake/${AM} ${WRKSRC}/${AM}
.endfor
    @${REINPLACE_CMD} -e 's|%%X11BASE%%|${X11BASE}|g' \
        ${WRKSRC}/src/gnome-cmd-data.c

.include <bsd.port.mk>