freebsd-ports/graphics/gqview/Makefile
Ying-Chieh Liao ba82d96aef LIB_DEPENEDS -> LIB_DEPENDS
gdk_pixbuf -> gdk-pixbuf

PR:		28210
Submitted by:	mwest@uct.ac.za
2001-06-17 01:21:29 +00:00

44 lines
980 B
Makefile

# New ports collection makefile for: gqview
# Date Created: 27 Oct 1998
# Whom: Vanilla Pooh Shu <vanilla@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= gqview
PORTVERSION= 0.11.0
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= nakai@FreeBSD.org
LIB_DEPENDS= gdk_pixbuf.2:${PORTSDIR}/graphics/gdk-pixbuf
USE_X_PREFIX= yes
USE_GTK= yes
WANT_GNOME= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
.if defined(WITH_GNOME)
USE_GNOME= yes
.endif
MAN1= gqview.1
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|GNOME_DATADIR\)/gnome/|GNOME_DATADIR\)/|g'
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/doc/gqview
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/gqview
.endif
.include <bsd.port.mk>