1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
freebsd-ports/misc/uf-view/Makefile
2003-02-21 12:51:06 +00:00

38 lines
1.1 KiB
Makefile

# New ports collection makefile for: uf-view
# Date created: 30 May 2001
# Whom: Jonathan McGee <mcgee@wam.umd.edu>
#
# $FreeBSD$
#
PORTNAME= uf-view
PORTVERSION= 2.0
PORTREVISION= 1
CATEGORIES= misc
MASTER_SITES= http://www.hadess.net/files/software/uf-view/
MAINTAINER= mcgee@wam.umd.edu
COMMENT= A gTK+ viewer for the User Friendly and several other popular comics
LIB_DEPENDS= gnomevfs-2.0:${PORTSDIR}/devel/gnomevfs2 \
gtk-x11-2.0.200:${PORTSDIR}/x11-toolkits/gtk20 \
gnome-desktop-2.3:${PORTSDIR}/x11/gnomedesktop
USE_X_PREFIX= yes
USE_GMAKE= yes
USE_GNOMENG= yes
USE_GNOME= gnomeprefix gnomehack gnomehier
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
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>