1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00
freebsd-ports/graphics/panoglview/Makefile
Edwin Groothuis 090059a210 Bump portrevision due to upgrade of devel/gettext.
The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).

PR:             ports/124340
Submitted by:   edwin@
Approved by:    portmgr (pav)
2008-06-06 14:17:21 +00:00

47 lines
1.1 KiB
Makefile

# New ports collection makefile for: panoglview
# Date created: Sat Apr 28 07:59:00 UTC 2007
# Whom: argv[0] (Iouri V. Ivliev)
#
# $FreeBSD$
#
PORTNAME= panoglview
PORTVERSION= 0.2.1
PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= SF/hugin
MAINTAINER= ii@any.com.ru
COMMENT= Panorama viewer using OpenGL
GNU_CONFIGURE= yes
CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CFLAGS="${PTHREAD_CFLAGS} -I${LOCALBASE}/include" \
CXXFLAGS="${PTHREAD_CFLAGS} -I${LOCALBASE}/include -ftemplate-depth-64" \
LDFLAGS="${PTHREAD_LIBS} -L${LOCALBASE}/lib -lwx_gtk2_gl-${WX_VERSION}" \
WX_CONFIG_NAME=wxgtk2-${WX_VERSION}-config \
PATH="$${PATH}:${LOCALBASE}/bin"
USE_XORG= x11
USE_GMAKE= yes
USE_WX= 2.6+
WX_COMPS= wx
WX_CONF_ARGS= relative
PLIST_FILES= bin/panoglview
OPTIONS= UNICODE "Use UNICODE version of the wxgtk (NLS broken!)" off
.include <bsd.port.pre.mk>
.if defined(WITH_UNICODE)
WX_UNICODE= yes
WX_RC= wxrc-gtk2u-${WX_VERSION}
CONFIGURE_ARGS+= --with-unicode
.else
WX_RC= wxrc-gtk2-${WX_VERSION}
CONFIGURE_ARGS+= --without-unicode
.endif
.include <bsd.port.post.mk>