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

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

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

USES=		compiler:c++11-lang gl 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>