summaryrefslogtreecommitdiff
path: root/graphics/panoglview/Makefile
blob: c209d8c90c62948265910b4f14fff80e0883bb70 (plain)
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
# Created by: argv[0] (Iouri V. Ivliev)
# $FreeBSD$

PORTNAME=	panoglview
PORTVERSION=	0.2.2
PORTREVISION=	7
CATEGORIES=	graphics
MASTER_SITES=	SF/hugin/${PORTNAME}/${PORTNAME}-${PORTVERSION}

MAINTAINER=	ii@any.com.ru
COMMENT=	Panorama viewer using OpenGL

USES=		compiler:c++11-lang gmake
USE_GL=		glu
GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--with-unicode
CONFIGURE_ENV=	WX_CONFIG_NAME=${WX_CONFIG} \
		PATH="$${PATH}:${LOCALBASE}/bin"
CFLAGS+=	-I${LOCALBASE}/include
CXXFLAGS+=	-I${LOCALBASE}/include -ftemplate-depth-64
LIBS+=		-L${LOCALBASE}/lib -lGLU -lGL

USE_WX=		3.0
WX_COMPS=	wx
WX_CONF_ARGS=	relative

PLIST_FILES=	bin/panoglview

.include <bsd.port.mk>