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

PORTNAME=   panoglview
PORTVERSION=    0.2.2
PORTREVISION=   8
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>