mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
27470e1676
* print/ghostscript{7,8,9,9-agpl}-base Installs Ghostscript binary, libgs, and related files. These ports do not depend on X11 libraries (i.e. x11* devices are not available). USES=ghostscript will set dependency on one of them depending on GHOSTSCRIPT_DEFAULT. The default device is set to "display" or "bbox". * print/ghostscript{7,8,9,9-agpl}-x11 Installs a shared library which provides X11 support to the installed Ghostscript binaries. x11* devices will be enabled when the library is available. This depends on *-base (RUN_DEPENDS). USES=ghostscript:x11 will set dependency on one of them. - Fix integer overflow reported as CVE-2015-3228. - Update Uses/ghostscript.mk: * Add x11 keyword. nox11 keyword is now obsolete. * Use packagename in *_DEPENDS line to prevent relationship between -base and -x11 packages from being broken. - Fix x11/nox11 keyword and bump PORTREVISION in ports using USES=ghostscript to update dependency of pre-compiled packages.
43 lines
1.4 KiB
Makefile
43 lines
1.4 KiB
Makefile
# $FreeBSD$
|
|
# Gimp-Print - very high quality driver for Epson, HPs,...
|
|
# http://gimp-print.sourceforge.net/
|
|
#
|
|
# NOTE:
|
|
# Support of stp driver interface has already been discontinued, and using
|
|
# ijs driver with ijsgimpprint (part of print/gimp-print port) is highly
|
|
# recommended.
|
|
#
|
|
# For that reason, integration of stp driver is disabled by default.
|
|
|
|
MASTER_SITES+= SOURCEFORGE/gimp-print/:gprint
|
|
DISTFILES+= gimp-print-4.2.7.tar.gz:gprint
|
|
EXTRADEVMKFILE+= ${FILESDIR}/stp.contrib.mak
|
|
|
|
post-extract-gprint:
|
|
${TAR} -C ${WRKSRC} -xzf ${DISTDIR}/${DIST_SUBDIR}/gimp-print-4.2.7.tar.gz
|
|
|
|
post-configure-gprint:
|
|
cd ${WRKSRC}/gimp-print-4.2.7 && \
|
|
${SETENV} ${CONFIGURE_ENV} ${SH} ./configure \
|
|
--without-translated-ppds --with-ghost \
|
|
--without-gimp --without-samples \
|
|
--without-cups --without-ijs \
|
|
--without-user-guide --disable-escputil \
|
|
--disable-nls --disable-shared \
|
|
--prefix=${PREFIX}
|
|
|
|
pre-build-gprint:
|
|
cd ${WRKSRC}/gimp-print-4.2.7 && \
|
|
${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} Makefile
|
|
${LN} -sf ${WRKSRC}/gimp-print-4.2.7/src/ghost/*.[ch] \
|
|
${WRKSRC}/src
|
|
${MKDIR} ${WRKSRC}/gimp-print
|
|
${LN} -sf ${WRKSRC}/gimp-print-4.2.7/include/gimp-print \
|
|
${WRKSRC}/gimp-print/gimp-print
|
|
${LN} -sf ${WRKSRC}/gimp-print-4.2.7/src/main/.libs/libgimpprint.a \
|
|
${WRKSRC}/gimp-print/libgimpprint.a
|
|
|
|
post-extract: post-extract-gprint
|
|
post-configure: post-configure-gprint
|
|
pre-build: pre-build-gprint
|