blob: d57407eb287d4420c39ee7fe3f70750e9baa564d (
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
|
# ex:ts=8
# Ports collection makefile for: g3dviewer
# Date created: May 30, 2002
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= g3dviewer
PORTVERSION= 0.1.0
PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= http://automagically.de/files/
MAINTAINER= ports@FreeBSD.org
COMMENT= A 3D file viewer for GTK+
LIB_DEPENDS= gtkglext-x11-1.0.2:${PORTSDIR}/x11-toolkits/gtkglext
USE_GNOME= gnometarget gtk20
USE_GL= yes
USE_REINPLACE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
CPPFLAGS= -I${LOCALBASE}/include -I${X11BASE}/include
LDFLAGS= -L${LOCALBASE}/lib -L${X11BASE}/lib
post-patch:
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
's|$$(pkgdatadir)/plugins/|$$(pkglibdir)/plugins/|g'
@${REINPLACE_CMD} -e 's|DBG_CFLAGS="-O2"|DBG_CFLAGS=""|g ; \
s|$$datadir/$$PACKAGE/|$$libdir/$$PACKAGE/|g' ${WRKSRC}/configure
.include <bsd.port.mk>
|