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.
38 lines
1 KiB
Makefile
38 lines
1 KiB
Makefile
# Created by: Oliver Breuninger <ob@seicom.NET>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= pstotext
|
|
PORTVERSION= 1.9
|
|
PORTREVISION= 5
|
|
CATEGORIES= print
|
|
MASTER_SITES= http://ftp.gwdg.de/pub/ghostscript/contrib/ \
|
|
http://ftp.sunet.se/pub/text-processing/postscript/interpreters/ghostscript/contrib/ \
|
|
http://gd.tuwien.ac.at/pub/publishing/ghostscript/contrib/ \
|
|
http://fossies.org/unix/misc/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= PostScript to Text converter
|
|
|
|
LICENSE= EULA
|
|
LICENSE_NAME= End User License Agreement
|
|
LICENSE_FILE= ${WRKSRC}/pstotext.txt
|
|
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
|
|
|
|
USES= ghostscript:run
|
|
|
|
SUB_LIST= LICENSE=${LICENSE} \
|
|
LICENSE_DIR=${_LICENSE_DIR}
|
|
|
|
PLIST_FILES= bin/pstotext \
|
|
man/man1/pstotext.1.gz
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} ${SUB_LIST:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \
|
|
${WRKSRC}/main.c \
|
|
${WRKSRC}/pstotext.1
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/pstotext ${STAGEDIR}${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/pstotext.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
|
|
|
|
.include <bsd.port.mk>
|