freebsd-ports/graphics/gliv/Makefile
Kevin Lo d6dfb6747d Update to 1.7
PR: 50513
Submitted by: Kimura Fuyuki <fuyuki@hadaly.org>
2003-04-03 01:08:36 +00:00

38 lines
979 B
Makefile

# ports collection makefile for: gliv
# Date created: 16 March 2001
# Whom: Jeremy Norris <ishmael27@home.com>
#
# $FreeBSD$
#
PORTNAME= gliv
PORTVERSION= 1.7
CATEGORIES= graphics
MASTER_SITES= http://gliv.tuxfamily.org/
MAINTAINER= ports@FreeBSD.org
COMMENT= An image viewer that uses Gdk-Pixbuf and OpenGL
LIB_DEPENDS= gtkglext-x11-1.0:${PORTSDIR}/x11-toolkits/gtkglext
RUN_DEPENDS= ${LOCALBASE}/bin/convert:${PORTSDIR}/graphics/ImageMagick
USE_BZIP2= yes
USE_X_PREFIX= yes
USE_REINPLACE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
MAN1= gliv.1
CPPFLAGS= -I${LOCALBASE}/include -I${X11BASE}/include ${PTHREAD_CFLAGS}
LDFLAGS= -L${LOCALBASE}/lib -L${X11BASE}/lib -lXext -lX11 ${PTHREAD_LIBS}
.if !exists(/usr/include/getopt.h)
LIB_DEPENDS+= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
LDFLAGS+= -lgnugetopt
.endif
post-patch:
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
.include <bsd.port.mk>