2012-12-10 14:18:28 +01:00
|
|
|
# Created by: cartola (Carlos E. G. Carvalho)
|
2004-12-15 13:51:49 +01:00
|
|
|
# $FreeBSD$
|
2012-12-10 14:18:28 +01:00
|
|
|
|
2004-12-15 13:51:49 +01:00
|
|
|
# This port has been made as a building and running dependence for the
|
|
|
|
# hugin port.
|
|
|
|
# The hugin port is a gui interface to interact with this and other
|
|
|
|
# tools.
|
|
|
|
|
|
|
|
PORTNAME= libpano12
|
2007-10-08 14:36:54 +02:00
|
|
|
PORTVERSION= 2.8.6
|
2012-06-01 07:26:28 +02:00
|
|
|
PORTREVISION= 7
|
2007-02-19 10:38:10 +01:00
|
|
|
CATEGORIES= graphics java
|
2009-08-22 02:23:13 +02:00
|
|
|
MASTER_SITES= SF/panotools/${PORTNAME}/${PORTNAME}-${PORTVERSION}
|
2004-12-15 13:51:49 +01:00
|
|
|
|
2007-03-05 07:14:30 +01:00
|
|
|
MAINTAINER= vd@FreeBSD.org
|
2004-12-15 13:51:49 +01:00
|
|
|
COMMENT= Panorama Tools to make panorama pictures
|
|
|
|
|
|
|
|
LIB_DEPENDS= tiff:${PORTSDIR}/graphics/tiff \
|
2012-06-01 07:26:28 +02:00
|
|
|
png15:${PORTSDIR}/graphics/png \
|
2007-10-09 18:29:50 +02:00
|
|
|
jpeg:${PORTSDIR}/graphics/jpeg
|
2004-12-15 13:51:49 +01:00
|
|
|
|
2007-02-19 10:38:10 +01:00
|
|
|
USE_GNOME= gtk20 glib20 pango atk
|
2004-12-15 13:51:49 +01:00
|
|
|
|
2010-12-04 08:34:27 +01:00
|
|
|
USE_AUTOTOOLS= autoconf:env autoheader:env aclocal:env \
|
|
|
|
automake:env libtool:env
|
2007-02-19 10:38:10 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2011-09-24 00:26:39 +02:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include/gtk-2.0 \
|
|
|
|
-I${LOCALBASE}/include/glib-2.0 \
|
2012-06-01 07:26:28 +02:00
|
|
|
-I${LOCALBASE}/include/libpng15 \
|
2011-09-24 00:26:39 +02:00
|
|
|
-I${LOCALBASE}/include/pango-1.0 \
|
|
|
|
-I${LOCALBASE}/include/atk-1.0
|
2009-06-15 09:55:17 +02:00
|
|
|
CONFIGURE_ARGS= --with-png=${LOCALBASE} \
|
|
|
|
--with-jpeg=${LOCALBASE} \
|
|
|
|
--with-tiff=${LOCALBASE}
|
2004-12-15 13:51:49 +01:00
|
|
|
|
2007-02-19 10:38:10 +01:00
|
|
|
USE_LDCONFIG= yes
|
2004-12-15 13:51:49 +01:00
|
|
|
|
2007-02-19 10:38:10 +01:00
|
|
|
.if !defined(WITHOUT_JAVA)
|
|
|
|
USE_JAVA= yes
|
2012-12-10 14:18:28 +01:00
|
|
|
JAVA_VERSION= 1.6+
|
2007-02-19 10:38:10 +01:00
|
|
|
JAVA_OS= native
|
|
|
|
CONFIGURE_ARGS+= --with-java=${JAVA_HOME}
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --without-java
|
|
|
|
.endif
|
|
|
|
|
|
|
|
pre-configure:
|
2007-09-30 06:47:36 +02:00
|
|
|
cd ${WRKSRC} && ./bootstrap
|
2004-12-15 13:51:49 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|