2001-03-22 13:59:22 +01:00
|
|
|
# New ports collection makefile for: sane-frontends
|
1998-12-06 10:37:29 +01:00
|
|
|
# Date created: Sat Jul 19 16:23:10 MET DST 1997
|
|
|
|
# Whom: gary@hotlava.com
|
1998-03-01 01:44:59 +01:00
|
|
|
#
|
1999-08-25 08:16:32 +02:00
|
|
|
# $FreeBSD$
|
1998-03-01 01:44:59 +01:00
|
|
|
#
|
|
|
|
|
2001-03-22 13:59:22 +01:00
|
|
|
PORTNAME= sane-frontends
|
2005-10-07 16:39:21 +02:00
|
|
|
PORTVERSION= 1.0.14
|
2005-11-05 06:22:06 +01:00
|
|
|
PORTREVISION= 1
|
1998-03-01 01:44:59 +01:00
|
|
|
CATEGORIES= graphics
|
2005-10-07 16:39:21 +02:00
|
|
|
MASTER_SITES= http://alioth.debian.org/download.php/1140/ \
|
|
|
|
ftp://ftp.sane-project.org/pub/sane/%SUBDIR%/ \
|
2004-08-25 12:38:38 +02:00
|
|
|
ftp://ftp2.sane-project.org/pub/sane/%SUBDIR%/ \
|
|
|
|
ftp://ftp3.sane-project.org/pub/sane/%SUBDIR%/ \
|
|
|
|
ftp://gd.tuwien.ac.at/hci/sane/%SUBDIR%/ \
|
|
|
|
http://gd.tuwien.ac.at/hci/sane/%SUBDIR%/
|
2003-02-10 22:08:22 +01:00
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}-${PORTVERSION}
|
1998-03-01 01:44:59 +01:00
|
|
|
|
2001-02-05 16:57:19 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 19:08:19 +01:00
|
|
|
COMMENT= Tools for access to scanners, digitals camera, frame grabbers etc
|
1998-03-01 01:44:59 +01:00
|
|
|
|
2001-03-22 13:59:22 +01:00
|
|
|
LIB_DEPENDS= sane.1:${PORTSDIR}/graphics/sane-backends
|
1999-05-29 05:56:15 +02:00
|
|
|
|
2004-04-18 19:10:36 +02:00
|
|
|
USE_GNOME= gnometarget
|
2001-03-27 01:16:24 +02:00
|
|
|
USE_GMAKE= yes
|
|
|
|
GNU_CONFIGURE= yes
|
2000-04-30 01:44:21 +02:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
2004-04-18 19:10:36 +02:00
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
1998-03-01 01:44:59 +01:00
|
|
|
|
2002-02-10 00:28:47 +01:00
|
|
|
MAN1= scanadf.1 xcam.1 xscanimage.1
|
2001-03-27 01:16:24 +02:00
|
|
|
|
2004-08-21 01:19:51 +02:00
|
|
|
OPTIONS= GTK1 "GTK1 support (Default is GTK2)" off \
|
|
|
|
GIMP "also build xscanimage as a GIMP plug-in" off
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2004-04-18 19:10:36 +02:00
|
|
|
.if defined(WITH_GTK1)
|
|
|
|
USE_GNOME+= gtk12
|
|
|
|
CONFIGURE_ARGS+= --disable-gtk2
|
2001-03-22 13:59:22 +01:00
|
|
|
.if defined(WITH_GIMP)
|
2001-03-27 01:16:24 +02:00
|
|
|
LIB_DEPENDS+= gimp:${PORTSDIR}/graphics/gimp1
|
2004-04-18 19:10:36 +02:00
|
|
|
CONFIGURE_ARGS+= --enable-gimp12
|
2001-03-22 13:59:22 +01:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-gimp
|
|
|
|
.endif
|
2003-05-01 23:33:30 +02:00
|
|
|
.else
|
2004-04-18 19:10:36 +02:00
|
|
|
USE_GNOME+= gtk20
|
|
|
|
.if defined(WITH_GIMP)
|
|
|
|
LIB_DEPENDS+= gimp-2.0:${PORTSDIR}/graphics/gimp
|
|
|
|
CONFIGURE_ARGS+= --enable-gimp
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-gimp
|
|
|
|
.endif
|
2003-05-01 23:33:30 +02:00
|
|
|
.endif
|
|
|
|
|
1998-03-01 01:44:59 +01:00
|
|
|
post-install:
|
2001-03-31 18:09:05 +02:00
|
|
|
@${SED} 's:/usr/local:${PREFIX}:' ${PKGMESSAGE}
|
1998-03-01 01:44:59 +01:00
|
|
|
|
2004-08-21 01:19:51 +02:00
|
|
|
.include <bsd.port.post.mk>
|