summaryrefslogblamecommitdiff
path: root/graphics/vterrain-apps/Makefile
blob: b2a4cb24c62a17bc4050a62a7fd72f40a3d6b1c9 (plain) (tree)
1
2
3
4
5
6
7
8
9
10









                                                     


                                                         

                                          
                                 
                                                    

                                                            
                                                                



















                                                                  
# New ports collection makefile for:	vterrain-apps
# Date created:		27 Apr 2001
# Whom:			Randall Hopper
#
# $FreeBSD$
#

PORTNAME=	vterrain-apps
PORTVERSION=	010829
CATEGORIES=	graphics
MASTER_SITES=	${MASTER_SITE_LOCAL} \
		ftp://ftp.vterrain.org/pub/vterrain/dist/
MASTER_SITE_SUBDIR=	rhh
DISTNAME=	TerrainApps-${PORTVERSION}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Virtual Terrain Project Applications

LIB_DEPENDS=    vtdata.1:${PORTSDIR}/graphics/vterrain-sdk \
		wx_gtk-2.2_gl.2:${PORTSDIR}/x11-toolkits/wxgtk \
		netcdf.1:${PORTSDIR}/math/netcdf \
		osg.1:${PORTSDIR}/graphics/osg \
		png.4:${PORTSDIR}/graphics/png

WRKSRC=		${WRKDIR}/TerrainApps

USE_ZIP=	yes
EXTRACT_BEFORE_ARGS+=	-a
USE_X_PREFIX=	yes
USE_MESA=	yes
INSTALLS_SHLIB=	yes
USE_GMAKE=	yes
MAKE_ENV=	CXX="${CXX}" \
		COPT="${CXXFLAGS} -fpic -DPIC" \
		PTHREAD_LIBS="${PTHREAD_LIBS}"

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/Enviro/wxEnviro ${PREFIX}/bin

.include <bsd.port.mk>