mirror of
https://git.freebsd.org/ports.git
synced 2025-06-25 22:50:32 -04:00
* 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.
38 lines
1.1 KiB
Text
38 lines
1.1 KiB
Text
# $FreeBSD$
|
|
# EPAG - additional driver for Epson ESC/Page printers
|
|
# http://www.humblesoft.com/gdevepag.html
|
|
|
|
MASTER_SITES+= http://www.humblesoft.com/pub/:epag
|
|
DISTFILES+= epag-3.09.tar.gz:epag
|
|
EXTRADEVMKFILE+= ${FILESDIR}/epag.contrib.mak
|
|
PORTDOCS+= epag
|
|
|
|
EPAG_BASE= epag
|
|
EPAG_SRCS= ${EPAG_BASE}-3.09.tar.gz
|
|
EPAG_NAME= ${EPAG_SRCS:S,.tar.gz$,,}
|
|
|
|
post-extract-epag:
|
|
${TAR} -C ${WRKSRC} -xzf ${DISTDIR}/${DIST_SUBDIR}/${EPAG_SRCS}
|
|
${LN} -s -f ${EPAG_NAME} ${WRKSRC}/${EPAG_BASE}
|
|
|
|
pre-build-epag:
|
|
cd ${WRKSRC}/epag-3.09 && \
|
|
${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} Makefile
|
|
${LN} -s -f ${WRKSRC}/epag-3.09/gdevepag.c ${WRKSRC}/src
|
|
|
|
post-install-epag:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/epag-3.09/ert ${STAGEDIR}${PREFIX}/bin
|
|
|
|
post-install-docs-epag:
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}/epag
|
|
cd ${WRKSRC}/epag-3.09 \
|
|
&& ${INSTALL_DATA} ert.txt gdevepag.txt ChangeLog \
|
|
${STAGEDIR}${DOCSDIR}/epag
|
|
cd ${WRKSRC}/epag-3.09 \
|
|
&& ${INSTALL_SCRIPT} psprint gsepagif.sh \
|
|
${STAGEDIR}${DOCSDIR}/epag
|
|
|
|
post-extract: post-extract-epag
|
|
pre-build: pre-build-epag
|
|
post-install: post-install-epag
|
|
post-install-docs: post-install-docs-epag
|