2001-05-30 22:19:32 +02:00
|
|
|
# New ports collection makefile for: uf-view
|
2002-11-16 14:59:27 +01:00
|
|
|
# Date created: 30 May 2001
|
|
|
|
# Whom: Jonathan McGee <mcgee@wam.umd.edu>
|
2001-05-30 22:19:32 +02:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= uf-view
|
2002-11-16 14:59:27 +01:00
|
|
|
PORTVERSION= 2.0
|
2003-02-07 20:21:11 +01:00
|
|
|
PORTREVISION= 1
|
2001-05-30 22:19:32 +02:00
|
|
|
CATEGORIES= misc
|
2002-11-16 14:59:27 +01:00
|
|
|
MASTER_SITES= http://www.hadess.net/files/software/uf-view/
|
2001-05-30 22:19:32 +02:00
|
|
|
|
|
|
|
MAINTAINER= mcgee@wam.umd.edu
|
|
|
|
|
2002-11-16 14:59:27 +01:00
|
|
|
LIB_DEPENDS= gnomevfs-2.0:${PORTSDIR}/devel/gnomevfs2 \
|
2003-02-07 20:21:11 +01:00
|
|
|
gtk-x11-2.0.200:${PORTSDIR}/x11-toolkits/gtk20 \
|
|
|
|
gnome-desktop-2.3:${PORTSDIR}/x11/gnomedesktop
|
2002-11-16 14:59:27 +01:00
|
|
|
|
2001-05-30 22:19:32 +02:00
|
|
|
USE_X_PREFIX= yes
|
|
|
|
USE_GMAKE= yes
|
2002-11-16 14:59:27 +01:00
|
|
|
USE_GNOMENG= yes
|
|
|
|
USE_GNOME= gnomeprefix gnomehack gnomehier
|
2001-05-30 22:19:32 +02:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
2002-11-16 14:59:27 +01:00
|
|
|
CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
|
2001-05-30 22:19:32 +02:00
|
|
|
|
|
|
|
pre-patch:
|
|
|
|
@${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
|
|
|
|
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
|
|
|
|
@find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \
|
|
|
|
's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \
|
|
|
|
s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g'
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|