aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/libpano12/Makefile
blob: 7a7fc8877066da3545b610b2835016bc9bfcbc9c (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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# 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
PORTVERSION=    2.8.6
PORTREVISION=   6
CATEGORIES= graphics java
MASTER_SITES=   SF/panotools/${PORTNAME}/${PORTNAME}-${PORTVERSION}

MAINTAINER= vd@FreeBSD.org
COMMENT=    Panorama Tools to make panorama pictures

LIB_DEPENDS=    tiff:${PORTSDIR}/graphics/tiff \
        png:${PORTSDIR}/graphics/png \
        jpeg:${PORTSDIR}/graphics/jpeg

USE_GNOME=  gtk20 glib20 pango atk

USE_AUTOTOOLS=  autoconf:267:env autoheader:267:env aclocal:111:env \
        automake:111:env libtool:22:env
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"
CONFIGURE_ARGS= --with-png=${LOCALBASE} \
        --with-jpeg=${LOCALBASE} \
        --with-tiff=${LOCALBASE}

USE_LDCONFIG=   yes

.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:
    cd ${WRKSRC} && ./bootstrap

.include <bsd.port.mk>