587719f356
Hopefully later tools.mk will be extended to do this, but for now this works. (It may be a good idea to check if ${LEX} exists too.) This closes my PR #20920.
36 lines
970 B
Makefile
36 lines
970 B
Makefile
# $NetBSD: Makefile,v 1.18 2003/10/08 22:40:42 reed Exp $
|
|
#
|
|
|
|
DISTNAME= gimp-print-4.2.5
|
|
PKGNAME= gimp-print-lib-4.2.5
|
|
PKGREVISION= 1
|
|
CATEGORIES= print
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gimp-print/}
|
|
|
|
MAINTAINER= tech-pkg@NetBSD.org
|
|
HOMEPAGE= http://gimp-print.sourceforge.net/
|
|
COMMENT= Drivers for Canon, Epson, Lexmark, and PCL printers
|
|
|
|
.if !exists(/usr/bin/flex) && !exists(/usr/bin/lex)
|
|
BUILD_DEPENDS+= flex-[0-9]*:../../devel/flex
|
|
LEX= ${LOCALBASE}/bin/flex
|
|
.endif
|
|
|
|
USE_BUILDLINK2= yes
|
|
USE_GMAKE= yes
|
|
USE_PKGLOCALEDIR= yes
|
|
USE_LIBTOOL= yes
|
|
LIBTOOL_OVERRIDE= ${WRKSRC}/libtool
|
|
INFO_FILES= gimpprint.info
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS+= --without-cups
|
|
CONFIGURE_ARGS+= --without-ghost
|
|
CONFIGURE_ARGS+= --without-gimp
|
|
CONFIGURE_ARGS+= --without-readline
|
|
CONFIGURE_ARGS+= --without-translated-ppds
|
|
CONFIGURE_ARGS+= --without-samples
|
|
CONFIGURE_ARGS+= --disable-escputil
|
|
|
|
.include "../../devel/gettext-lib/buildlink2.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|