# $OpenBSD: Makefile,v 1.18 2010/07/26 20:23:28 ajacoutot Exp $ COMMENT-main= high quality print drivers COMMENT-foomatic= Foomatic data for gutenprint drivers V= 5.2.5 DISTNAME= gutenprint-${V} PKGNAME-main= ${DISTNAME} PKGNAME-foomatic= foomatic-db-${DISTNAME} REVISION-main= 0 MAJOR_V= ${V:C/^([0-9]+\.[0-9]+).*/\1/} SUBST_VARS= MAJOR_V CATEGORIES= print EXTRACT_SUFX= .tar.bz2 SHARED_LIBS+= gutenprint 1.0 # .2.3 HOMEPAGE= http://gimp-print.sourceforge.net/ MAINTAINER= Antoine Jacoutot # GPLv2 PERMIT_PACKAGE_CDROM= Yes PERMIT_PACKAGE_FTP= Yes PERMIT_DISTFILES_CDROM= Yes PERMIT_DISTFILES_FTP= Yes MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gimp-print/} MULTI_PACKAGES= -main -foomatic MODULES= devel/gettext WANTLIB-main += c m ncurses readline ijs BUILD_DEPENDS= :foomatic-db-engine->=4.0.3:print/foomatic-db-engine LIB_DEPENDS-main= ${MODGETTEXT_LIB_DEPENDS} \ ::print/ijs WANTLIB-foomatic += # empty LIB_DEPENDS-foomatic= # empty RUN_DEPENDS-foomatic= ::print/foomatic-db \ ::${BUILD_PKGPATH},-main PKG_ARCH-foomatic= * USE_X11= Yes USE_GMAKE= Yes USE_LIBTOOL= Yes CONFIGURE_STYLE= gnu CONFIGURE_ARGS+= ${CONFIGURE_SHARED} \ --enable-static \ --enable-test \ --enable-testpattern \ --enable-escputil \ --disable-libgutenprintui2 \ --with-foomatic \ --with-foomatic3 \ --with-ghostscript \ --with-cups=no \ --without-gimp2 CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" \ LIBS="-liconv -lintl" \ am_cv_prog_tar_ustar=plaintar .for i in DVIPS DB2PDF DVIPDF DB2PS DB2HTML DOXYGEN TEXI2HTML CONVERT CONFIGURE_ENV+= ac_cv_path_$i="" .endfor FAKE_FLAGS= docdir=${PREFIX}/share/doc/gutenprint pre-configure: ${SUBST_CMD} ${WRKSRC}/src/gutenprintui2/plist.c .include