Changeset View
Changeset View
Standalone View
Standalone View
head/print/cups-filters/Makefile
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= cups-filters | PORTNAME= cups-filters | ||||
PORTVERSION= 1.13.4 | PORTVERSION= 1.13.4 | ||||
PORTREVISION?= 2 | PORTREVISION?= 3 | ||||
CATEGORIES= print | CATEGORIES= print | ||||
MASTER_SITES= http://www.openprinting.org/download/cups-filters/ | MASTER_SITES= http://www.openprinting.org/download/cups-filters/ | ||||
MAINTAINER= cyberbotx@cyberbotx.com | MAINTAINER= cyberbotx@cyberbotx.com | ||||
COMMENT= Additional backends, filters and other software for CUPS | COMMENT= Additional backends, filters and other software for CUPS | ||||
LICENSE= BSD4CLAUSE GPLv2 GPLv2+ GPLv3 GPLv3+ LGPL20 LGPL21+ MIT | LICENSE= BSD4CLAUSE GPLv2 GPLv2+ GPLv3 GPLv3+ LGPL20 LGPL21+ MIT | ||||
LICENSE_COMB= multi | LICENSE_COMB= multi | ||||
LIB_DEPENDS= liblcms2.so:graphics/lcms2 \ | LIB_DEPENDS= liblcms2.so:graphics/lcms2 \ | ||||
libqpdf.so:print/qpdf \ | libqpdf.so:print/qpdf \ | ||||
libcupsimage.so:print/cups \ | libcupsimage.so:print/cups \ | ||||
libfreetype.so:print/freetype2 \ | libfreetype.so:print/freetype2 \ | ||||
libfontconfig.so:x11-fonts/fontconfig \ | libfontconfig.so:x11-fonts/fontconfig \ | ||||
libpoppler.so:graphics/poppler \ | libpoppler.so:graphics/poppler | ||||
libmupdf.so:graphics/mupdf | |||||
CONFLICTS= cups-pstoraster-[0-9]* foomatic-filters-[0-9]* | CONFLICTS= cups-pstoraster-[0-9]* foomatic-filters-[0-9]* | ||||
USES= compiler:c++11-lib cpe gettext ghostscript gmake gnome libtool \ | USES= compiler:c++11-lib cpe gettext ghostscript gmake gnome libtool \ | ||||
iconv pathfix pkgconfig shebangfix tar:xz | iconv pathfix pkgconfig shebangfix tar:xz | ||||
CPE_VENDOR= linuxfoundation | CPE_VENDOR= linuxfoundation | ||||
SHEBANG_FILES= filter/braille/drivers/generic/brftoembosser.in \ | SHEBANG_FILES= filter/braille/drivers/generic/brftoembosser.in \ | ||||
filter/braille/drivers/index/imageubrltoindexv3.in \ | filter/braille/drivers/index/imageubrltoindexv3.in \ | ||||
Show All 10 Lines | |||||
CPPFLAGS+= -I${LOCALBASE}/include | CPPFLAGS+= -I${LOCALBASE}/include | ||||
LIBS+= -L${LOCALBASE}/lib ${ICONV_LIB} | LIBS+= -L${LOCALBASE}/lib ${ICONV_LIB} | ||||
USE_LDCONFIG= yes | USE_LDCONFIG= yes | ||||
OPTIONS_DEFINE= BRAILLE COLORD DOCS IJS IMAGEFILTERS | OPTIONS_DEFINE= BRAILLE COLORD DOCS IJS IMAGEFILTERS | ||||
OPTIONS_GROUP= CUPS_BROWSED | OPTIONS_GROUP= CUPS_BROWSED | ||||
OPTIONS_GROUP_CUPS_BROWSED= AVAHI LDAP | OPTIONS_GROUP_CUPS_BROWSED= AVAHI LDAP | ||||
OPTIONS_SINGLE= PDFTOPS_RENDERER | OPTIONS_SINGLE= PDFTOPS_RENDERER | ||||
OPTIONS_SINGLE_PDFTOPS_RENDERER=GS HYBRID PDFTOPS | OPTIONS_SINGLE_PDFTOPS_RENDERER=GS HYBRID PDFTOPS MUPDF | ||||
OPTIONS_DEFAULT= AVAHI COLORD HYBRID IJS IMAGEFILTERS | OPTIONS_DEFAULT= AVAHI COLORD HYBRID IJS IMAGEFILTERS | ||||
OPTIONS_SUB= yes | OPTIONS_SUB= yes | ||||
BRAILLE_CONFIGURE_ENABLE= braille | BRAILLE_CONFIGURE_ENABLE= braille | ||||
BRAILLE_DESC= Braille embosser support | BRAILLE_DESC= Braille embosser support | ||||
BRAILLE_LIB_DEPENDS= liblouis.so:devel/liblouis \ | BRAILLE_LIB_DEPENDS= liblouis.so:devel/liblouis \ | ||||
# liblouisutdml.so:devel/liblouisutdml | # liblouisutdml.so:devel/liblouisutdml | ||||
BRAILLE_RUN_DEPENDS= convert:graphics/ImageMagick \ | BRAILLE_RUN_DEPENDS= convert:graphics/ImageMagick \ | ||||
Show All 39 Lines | |||||
HYBRID_RUN_DEPENDS= pdftops:graphics/poppler-utils | HYBRID_RUN_DEPENDS= pdftops:graphics/poppler-utils | ||||
HYBRID_CONFIGURE_ON= --with-pdftops=hybrid --with-pdftops-path=${LOCALBASE}/bin/pdftops | HYBRID_CONFIGURE_ON= --with-pdftops=hybrid --with-pdftops-path=${LOCALBASE}/bin/pdftops | ||||
HYBRID_DESC= Ghostscript or Poppler depending on printer | HYBRID_DESC= Ghostscript or Poppler depending on printer | ||||
PDFTOPS_BUILD_DEPENDS= pdftops:graphics/poppler-utils | PDFTOPS_BUILD_DEPENDS= pdftops:graphics/poppler-utils | ||||
PDFTOPS_RUN_DEPENDS= pdftops:graphics/poppler-utils | PDFTOPS_RUN_DEPENDS= pdftops:graphics/poppler-utils | ||||
PDFTOPS_CONFIGURE_ON= --with-pdftops=pdftops --with-pdftops-path=${LOCALBASE}/bin/pdftops | PDFTOPS_CONFIGURE_ON= --with-pdftops=pdftops --with-pdftops-path=${LOCALBASE}/bin/pdftops | ||||
PDFTOPS_DESC= Poppler pdftops(1) | PDFTOPS_DESC= Poppler pdftops(1) | ||||
MUPDF_BUILD_DEPENDS= mutool:graphics/mupdf | |||||
MUPDF_RUN_DEPENDS= mutool:graphics/mupdf | |||||
MUPDF_CONFIGURE_ON= --with-pdftops=mupdf | |||||
MUPDF_CONFIGURE_ENABLE= mutool | |||||
MUPDF_DESC= MuPDF renderer | |||||
PDFTOPS_RENDERER_DESC= Default PDF-to-PostScript renderer | PDFTOPS_RENDERER_DESC= Default PDF-to-PostScript renderer | ||||
post-patch: | post-patch: | ||||
@${REINPLACE_CMD} 's:-std=c++0x:-std=c++11:' ${WRKSRC}/Makefile.in | @${REINPLACE_CMD} 's:-std=c++0x:-std=c++11:' ${WRKSRC}/Makefile.in | ||||
@${REINPLACE_CMD} -e 's|/usr/share|${PREFIX}/share|' \ | @${REINPLACE_CMD} -e 's|/usr/share|${PREFIX}/share|' \ | ||||
-e 's|README.gz|README|' \ | -e 's|README.gz|README|' \ | ||||
${WRKSRC}/utils/cups-browsed.8 \ | ${WRKSRC}/utils/cups-browsed.8 \ | ||||
${WRKSRC}/utils/cups-browsed.conf.5 | ${WRKSRC}/utils/cups-browsed.conf.5 | ||||
.include <bsd.port.mk> | .include <bsd.port.mk> |