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