View | Details | Raw Unified | Return to bug 252335 | Differences between
and this patch

Collapse All | Expand All

(-)print/cups-filters/Makefile (-5 / +29 lines)
Lines 47-70 Link Here
47
		--with-test-font-path=${LOCALBASE}/share/fonts/dejavu/DejaVuSans.ttf
47
		--with-test-font-path=${LOCALBASE}/share/fonts/dejavu/DejaVuSans.ttf
48
INSTALL_TARGET=	install-strip
48
INSTALL_TARGET=	install-strip
49
49
50
OPTIONS_DEFINE= 		BRAILLE COLORD DOCS
50
OPTIONS_DEFINE= 		COLORD DOCS
51
OPTIONS_GROUP=			FILTERS CUPS_BROWSED
51
OPTIONS_GROUP=			FILTERS CUPS_BROWSED
52
OPTIONS_GROUP_FILTERS=		GHOSTSCRIPT IMAGES MUPDF POPPLER
52
OPTIONS_GROUP_FILTERS=		GHOSTSCRIPT IMAGES MUPDF POPPLER
53
OPTIONS_GROUP_CUPS_BROWSED=	AVAHI LDAP
53
OPTIONS_GROUP_CUPS_BROWSED=	AVAHI LDAP
54
OPTIONS_RADIO=			BRAILLE
55
OPTIONS_RADIO_BRAILLE=		BRAILLE_IM6 BRAILLE_IM7
54
OPTIONS_SINGLE= 		PDFTOPS
56
OPTIONS_SINGLE= 		PDFTOPS
55
OPTIONS_SINGLE_PDFTOPS= 	PSGHOSTSCRIPT PSHYBRID PSMUPDF PSPOPPLER
57
OPTIONS_SINGLE_PDFTOPS= 	PSGHOSTSCRIPT PSHYBRID PSMUPDF PSPOPPLER
56
OPTIONS_DEFAULT=		COLORD GHOSTSCRIPT IMAGES AVAHI LDAP PSHYBRID
58
OPTIONS_DEFAULT=		COLORD GHOSTSCRIPT IMAGES AVAHI LDAP PSHYBRID
57
OPTIONS_SUB=			yes
59
OPTIONS_SUB=			yes
58
60
59
BRAILLE_CONFIGURE_ENABLE=	braille
60
BRAILLE_DESC=			Braille embosser support
61
BRAILLE_BUILD_DEPENDS=		bash:shells/bash
61
BRAILLE_BUILD_DEPENDS=		bash:shells/bash
62
BRAILLE_CONFIGURE_ON=		--enable-braille
63
BRAILLE_DESC=			Braille embosser support
62
BRAILLE_LIB_DEPENDS=		liblouis.so:devel/liblouis \
64
BRAILLE_LIB_DEPENDS=		liblouis.so:devel/liblouis \
63
#				liblouisutdml.so:devel/liblouisutdml
65
#				liblouisutdml.so:devel/liblouisutdml
64
BRAILLE_RUN_DEPENDS=		convert:graphics/ImageMagick6 \
66
BRAILLE_RUN_DEPENDS=		pdftotext:graphics/poppler-utils \
65
				pdftotext:graphics/poppler-utils \
66
				bash:shells/bash
67
				bash:shells/bash
67
68
69
BRAILLE_IM6_BUILD_DEPENDS=	${BRAILLE_BUILD_DEPENDS}
70
BRAILLE_IM6_CONFIGURE_ON=	${BRAILLE_CONFIGURE_ON}
71
BRAILLE_IM6_DESC=		Using ImageMagick 6.x
72
BRAILLE_IM6_LIB_DEPENDS=	${BRAILLE_LIB_DEPENDS}
73
BRAILLE_IM6_RUN_DEPENDS=	convert:graphics/ImageMagick6 \
74
				${BRAILLE_RUN_DEPENDS}
75
76
BRAILLE_IM7_BUILD_DEPENDS=	${BRAILLE_BUILD_DEPENDS}
77
BRAILLE_IM7_CONFIGURE_ON=	${BRAILLE_CONFIGURE_ON}
78
BRAILLE_IM7_DESC=		Using ImageMagick 7.x
79
BRAILLE_IM7_LIB_DEPENDS=	${BRAILLE_LIB_DEPENDS}
80
BRAILLE_IM7_RUN_DEPENDS=	convert:graphics/ImageMagick7 \
81
				${BRAILLE_RUN_DEPENDS}
82
68
COLORD_CONFIGURE_ENABLE=	dbus
83
COLORD_CONFIGURE_ENABLE=	dbus
69
COLORD_DESC=			Get ICC color profiles from colord (via D-Bus)
84
COLORD_DESC=			Get ICC color profiles from colord (via D-Bus)
70
COLORD_LIB_DEPENDS=		libdbus-1.so:devel/dbus
85
COLORD_LIB_DEPENDS=		libdbus-1.so:devel/dbus
Lines 132-137 Link Here
132
PSPOPPLER_RUN_DEPENDS=		pdftops:graphics/poppler-utils
147
PSPOPPLER_RUN_DEPENDS=		pdftops:graphics/poppler-utils
133
PSPOPPLER_CONFIGURE_ON= 	--with-pdftops=pdftops
148
PSPOPPLER_CONFIGURE_ON= 	--with-pdftops=pdftops
134
PSPOPPLER_DESC= 		Poppler pdftops(1)
149
PSPOPPLER_DESC= 		Poppler pdftops(1)
150
151
.include <bsd.port.options.mk>
152
153
.if ${PORT_OPTIONS:MBRAILLE_IM6} || ${PORT_OPTIONS:MBRAILLE_IM7}
154
PLIST_SUB+=		BRAILLE=""
155
.else
156
CONFIGURE_ARGS+=	--disable-braille
157
PLIST_SUB+=		BRAILLE="@comment "
158
.endif
135
159
136
post-patch:
160
post-patch:
137
	@${REINPLACE_CMD} -e 's|/usr/share|${PREFIX}/share|' \
161
	@${REINPLACE_CMD} -e 's|/usr/share|${PREFIX}/share|' \

Return to bug 252335