diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2008-04-19 17:56:05 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2008-04-19 17:56:05 +0000 |
commit | 3e4ed01146cfe2bdca465bd0e4d199341f62a0b6 (patch) | |
tree | d573ea09b2bf6be67cb497df199932da9e2707c4 /graphics/demeter | |
parent | 40049f4af2200d0dcf33596508688623fc75f764 (diff) |
Notes
Diffstat (limited to 'graphics/demeter')
-rw-r--r-- | graphics/demeter/Makefile | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/graphics/demeter/Makefile b/graphics/demeter/Makefile index 1f0d14b6dfa9..395936da86e3 100644 --- a/graphics/demeter/Makefile +++ b/graphics/demeter/Makefile @@ -7,10 +7,9 @@ PORTNAME= demeter PORTVERSION= 3.21 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= graphics -MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} -MASTER_SITE_SUBDIR= ${PORTNAME} +MASTER_SITES= SF .ifdef (WITH_SAMPLE_DATA) DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ DemeterSampleData-${SAMPLE_DATA_VER}-2${EXTRACT_SUFX} @@ -20,14 +19,13 @@ MAINTAINER= ports@FreeBSD.org COMMENT= A C++ library to render 3D terrains using OpenGL USE_GMAKE= yes -USE_GL= yes -USE_X_PREFIX= yes +USE_GL= gl glu WANT_GNOME= yes WANT_SDL= yes USE_AUTOTOOLS= automake:15 autoconf:261 libtool:15 CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} -CONFIGURE_ENV= CXXFLAGS="${CXXFLAGS} -I${X11BASE}/include -I${LOCALBASE}/include" \ - LDFLAGS="-L${X11BASE}/lib -L${LOCALBASE}/lib" +CONFIGURE_ENV= CXXFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \ + LDFLAGS=" -L${LOCALBASE}/lib" USE_LDCONFIG= yes SAMPLE_DATA_VER= 3.20 @@ -45,7 +43,7 @@ WITH_SDL= yes WITH_LIBXML2= yes .endif -.if exists(${X11BASE}/lib/libosg.so) +.if exists(${LOCALBASE}/lib/libosg.so) WITH_OSG= yes .endif @@ -62,8 +60,8 @@ USE_GNOME= libxml2 .endif .ifdef (WITH_OSG) -BUILD_DEPENDS+= ${X11BASE}/lib/libosg.so:${PORTSDIR}/graphics/osg -RUN_DEPENDS+= ${X11BASE}/lib/libosg.so:${PORTSDIR}/graphics/osg +BUILD_DEPENDS+= ${LOCALBASE}/lib/libosg.so:${PORTSDIR}/graphics/osg +RUN_DEPENDS+= ${LOCALBASE}/lib/libosg.so:${PORTSDIR}/graphics/osg .endif .ifdef (WITH_GDAL) |