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
|
2001-11-05 06:14:33 +01:00
|
|
|
PORTVERSION= 1.0.6
|
1998-03-01 01:44:59 +01:00
|
|
|
CATEGORIES= graphics
|
2001-07-03 15:18:01 +02: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%/
|
|
|
|
MASTER_SITE_SUBDIR= sane-${PORTVERSION}
|
1998-03-01 01:44:59 +01:00
|
|
|
|
2001-02-05 16:57:19 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
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
|
|
|
|
2000-10-05 08:36:23 +02:00
|
|
|
USE_GTK= yes
|
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" \
|
|
|
|
LIBS="-L${LOCALBASE}/lib"
|
1998-03-01 01:44:59 +01:00
|
|
|
|
2001-03-27 01:16:24 +02:00
|
|
|
MAN1= xcam.1 xscanimage.1
|
|
|
|
|
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
|
2001-03-22 13:59:22 +01:00
|
|
|
CONFIGURE_ARGS+= --enable-gimp
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-gimp
|
|
|
|
.endif
|
|
|
|
|
2001-12-31 11:20:19 +01:00
|
|
|
pre-everything::
|
2001-03-22 13:59:22 +01: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 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
|
|
|
|
2000-04-30 01:44:21 +02:00
|
|
|
.include <bsd.port.mk>
|