2004-12-15 13:51:49 +01:00
|
|
|
# New ports collection makefile for: panorama-tools
|
|
|
|
# Date created: 26 august 2004
|
|
|
|
# Whom: cartola (Carlos E. G. Carvalho)
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
# 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
|
2009-07-18 13:11:29 +02:00
|
|
|
PORTREVISION= 3
|
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 \
|
|
|
|
png:${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
|
|
|
|
2008-08-20 02:57:32 +02:00
|
|
|
USE_AUTOTOOLS= autoconf:262:env autoheader:262:env aclocal:19:env \
|
2009-08-02 21:36:34 +02:00
|
|
|
automake:19:env libtool:22:env
|
2007-02-19 10:38:10 +01:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/gtk-2.0 \
|
|
|
|
-I${LOCALBASE}/include/glib-2.0 \
|
|
|
|
-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
|
|
|
|
JAVA_VERSION= 1.3+
|
|
|
|
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>
|