5dc9b7f571
PR: 42349 Submitted by: Edwin Groothuis <edwin@mavetju.org>
41 lines
1.1 KiB
Makefile
41 lines
1.1 KiB
Makefile
# ports collection makefile for: gliv
|
|
# Date created: 16 March 2001
|
|
# Whom: Jeremy Norris <ishmael27@home.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= gliv
|
|
PORTVERSION= 1.5.3
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= http://gliv.tuxfamily.org/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
|
|
LIB_DEPENDS= gdk_pixbuf.2:${PORTSDIR}/graphics/gdk-pixbuf \
|
|
gnugetopt.1:${PORTSDIR}/devel/libgnugetopt \
|
|
gtkgl.5:${PORTSDIR}/x11-toolkits/gtkglarea
|
|
RUN_DEPENDS= ${LOCALBASE}/bin/convert:${PORTSDIR}/graphics/ImageMagick
|
|
|
|
USE_BZIP2= yes
|
|
USE_REINPLACE= yes
|
|
USE_X_PREFIX= yes
|
|
USE_GNOMENG= yes
|
|
USE_GNOME= gtk12
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
|
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" \
|
|
GDK_PIXBUF_CONFIG=${X11BASE}/bin/gdk-pixbuf-config
|
|
CONFIGURE_ARGS= --disable-gtk2
|
|
|
|
MAN1= gliv.1
|
|
|
|
CPPFLAGS= -I${LOCALBASE}/include -I${X11BASE}/include ${PTHREAD_CFLAGS}
|
|
LDFLAGS= -L${LOCALBASE}/lib -L${X11BASE}/lib -lXext -lX11 -lgnugetopt \
|
|
${PTHREAD_LIBS}
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e \
|
|
's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
|
|
|
|
.include <bsd.port.mk>
|