aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/xsane/Makefile
blob: a2000a58bad15105d725dc3162d08a3b1c68c133 (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
# New ports collection makefile for:    xsane
# Date created:         Fri Apr  8 00:18:29 MET DST 1999
# Whom:             Dominik Brettnacher <domi@saargate.de>
#
# $FreeBSD$
#

PORTNAME=   xsane
PORTVERSION=    0.61
CATEGORIES= graphics
MASTER_SITES=   http://www.wolfsburg.de/~rauch/sane/ \
        http://gd.tuwien.ac.at/hci/sane/xsane/ \
        ftp://ftp.mostang.com/pub/sane/xsane/ \

MAINTAINER= domi@saargate.de

LIB_DEPENDS=    gtk12.2:${PORTSDIR}/x11-toolkits/gtk12 \
        sane.1:${PORTSDIR}/graphics/sane \
        jpeg.9:${PORTSDIR}/graphics/jpeg \
        tiff.4:${PORTSDIR}/graphics/tiff \
        png.4:${PORTSDIR}/graphics/png

GTK_CONFIG?=    ${X11BASE}/bin/gtk12-config

USE_GMAKE=  yes
USE_X_PREFIX=   yes
USE_AUTOCONF=   yes
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        GTK_CONFIG="${GTK_CONFIG}" \
        LIBS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS= --enable-intl-patch

MAN1=       xsane.1

post-install:
    @${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>