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
|
2003-05-01 21:33:30 +00:00
|
|
|
PORTVERSION= 1.0.11
|
2004-02-04 05:21:48 +00:00
|
|
|
PORTREVISION= 1
|
1998-03-01 00:44:59 +00:00
|
|
|
CATEGORIES= graphics
|
2001-07-03 13:18:01 +00:00
|
|
|
MASTER_SITES= ftp://ftp.mostang.com/pub/sane/%SUBDIR%/ \
|
|
|
|
ftp://ftp.de.mostang.com/pub/sane/%SUBDIR%/ \
|
|
|
|
ftp://ftp.no.mostang.com/pub/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
|
|
|
|
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" \
|
|
|
|
LIBS="-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
|
|
|
|
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
|
2001-03-22 12:59:22 +00:00
|
|
|
CONFIGURE_ARGS+= --enable-gimp
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-gimp
|
|
|
|
.endif
|
|
|
|
|
2003-05-01 21:33:30 +00:00
|
|
|
.if defined(WITH_GTK2)
|
|
|
|
.undef WITH_GIMP
|
|
|
|
USE_GNOME= gtk20
|
|
|
|
.else
|
|
|
|
USE_GNOME= gtk12
|
|
|
|
CONFIGURE_ARGS= --disable-gtk2
|
|
|
|
.endif
|
|
|
|
|
2001-12-31 10:20:19 +00:00
|
|
|
pre-everything::
|
2001-03-22 12:59:22 +00:00
|
|
|
.if !defined(WITH_GIMP)
|
|
|
|
@${ECHO_MSG} "*** Note: xscanimage can be built with a standalone"
|
|
|
|
@${ECHO_MSG} "*** X scanner interface as well as a GIMP plug-in."
|
|
|
|
@${ECHO_MSG} "*** If you wish to do this, hit Ctrl-C now and use"
|
|
|
|
@${ECHO_MSG} "*** \"WITH_GIMP=yes\""
|
|
|
|
.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
|
|
|
|
2000-04-29 23:44:21 +00:00
|
|
|
.include <bsd.port.mk>
|