blob: ce23c1574a2d152ce9d73cc0f8d5ead947479d1c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# ports collection makefile for: gliv
# Date created: 16 March 2001
# Whom: Jeremy Norris <ishmael27@home.com>
#
# $FreeBSD$
#
PORTNAME= gliv
PORTVERSION= 1.4.5
CATEGORIES= graphics
MASTER_SITES= http://gliv.tuxfamily.org/
MAINTAINER= ports@FreeBSD.org
BUILD_DEPENDS= ${LOCALBASE}/bin/Magick-config:${PORTSDIR}/graphics/ImageMagick
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_GTK= yes
USE_X_PREFIX= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
LIBS="-L${LOCALBASE}/lib -L${X11BASE}/lib -lXext -lX11" \
GDK_PIXBUF_CONFIG=${X11BASE}/bin/gdk-pixbuf-config \
MAGICK_CONFIG=${LOCALBASE}/bin/Magick-config
CONFIGURE_ARGS= --disable-gtk2
CONFIGURE_TARGET= --target=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAN1= gliv.1
post-patch:
@${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS} -lgnugetopt|g' ${WRKSRC}/configure
.include <bsd.port.mk>
|