pkgsrc/graphics/xsane/Makefile
hubertf e32afb6fea Change BUILD_DEPENDS semantics:
first component is now a package name+version/pattern, no more
executable/patchname/whatnot.

While there, introduce BUILD_USES_MSGFMT as shorthand to pull in
devel/gettext unless /usr/bin/msgfmt exists (i.e. on post-1.5 -current).

Patch by Alistair Crooks <agc@netbsd.org>
2001-03-27 03:19:43 +00:00

38 lines
1.2 KiB
Makefile

# $NetBSD: Makefile,v 1.25 2001/03/27 03:20:02 hubertf Exp $
#
DISTNAME= xsane-0.72
CATEGORIES= graphics
MASTER_SITES= http://www.xsane.org/download/ \
http://gd.tuwien.ac.at/hci/sane/xsane/ \
ftp://ftp.mostang.com/pub/sane/xsane/ \
ftp://ftp.no.mostang.com/pub/sane/xsane/ \
ftp://ftp.de.mostang.com/pub/sane/xsane/ \
ftp://gd.tuwien.ac.at/hci/sane/xsane/ \
ftp://ftp.u-aizu.ac.jp/pub/misc/device/scsi/scanner/sane/xsane/ \
ftp://sunsite.uio.no/pub/sane/xsane/ \
ftp://ftp.informatik.uni-oldenburg.de/pub/sane/xsane/
MAINTAINER= rh@netbsd.org
HOMEPAGE= http://www.xsane.org/
COMMENT= New improved frontend for SANE
BUILD_USES_MSGFMT= yes
DEPENDS+= jpeg-6b:../../graphics/jpeg
DEPENDS+= gtk+>=1.2.5:../../x11/gtk
DEPENDS+= png>1.0.9:../../graphics/png
DEPENDS+= tiff-*:../../graphics/tiff
DEPENDS+= gimp>=1.0.4:../../graphics/gimp
DEPENDS+= sane-backends>=1.0.4:../../graphics/sane-backends
USE_LIBINTL= YES
GNU_CONFIGURE= YES
USE_GMAKE= YES
USE_X11BASE= YES
LDFLAGS+= -L${PREFIX}/lib/sane -Wl,-R${PREFIX}/lib/sane
INCLUDES= -I${PREFIX}/include -I${LOCALBASE}/include
CPPFLAGS+= ${INCLUDES}
CONFIGURE_ENV+= CPPFLAGS="${INCLUDES}" LIBS="-lintl"
.include "../../mk/bsd.pkg.mk"