blob: 7f97df8774d9825b25f6cab65f738d1cab0a17e9 (
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
41
42
|
# 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_GNOME= yes
USE_REINPLACE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib -lintl"
pre-patch:
@find ${WRKSRC} -name "Makefile.in*" | xargs ${REINPLACE_CMD} -e \
's|[(]datadir[)]/gnome/|(datadir)/|g ; \
s|[(]datadir[)]/locale|(prefix)/share/locale|g'
.for AM in config.sub config.guess install-sh missing mkinstalldirs
${LN} -fs ${LOCALBASE}/share/automake14/automake/${AM} ${WRKSRC}/${AM}
.endfor
post-patch:
@${REINPLACE_CMD} -e 's|[%][%]X11BASE[%][%]|${X11BASE}|g' \
${WRKSRC}/src/gnome-cmd-data.c
.include <bsd.port.mk>
|