1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00
freebsd-ports/textproc/pdftohtml/Makefile
Tijl Coosemans 77760fcb63 Make print/ghostscript9-agpl-base the default Ghostscript port. Upstream
changed the license to the AGPL 3 in version 9.07 so print/ghostscript9-base
is stuck at 9.06 which is almost 4 years old now.

Fix the logic in Uses/ghostscript.mk so "agpl" is treated as a real version
on its own instead of as a variant of other versions.

Fix print/ghostscript9-agpl-base to install eps2write.

Update math/asymptote to 2.37 to support newer Ghostscript.

PR:		208159
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2016-03-24 15:47:50 +00:00

27 lines
644 B
Makefile

# Created by: Soeren Boll Overgaard <boll@tolkien.dk>
# $FreeBSD$
PORTNAME= pdftohtml
PORTVERSION= 0.40a
PORTREVISION= 2
CATEGORIES= textproc
MASTER_SITES= SF/${PORTNAME}/Experimental%20Versions/${PORTNAME}%20${PORTVERSION:S|a||} \
http://fossies.org/linux/www/
MAINTAINER= ports@FreeBSD.org
COMMENT= Command-line tool for converting pdf-files into html
USES= ghostscript gmake
PLIST_FILES= bin/pdf-to-html
pre-patch:
@${FIND} ${WRKSRC} -name Makefile | ${XARGS} \
${REINPLACE_CMD} -e "s|-O[0-9]||" -e "s|-g||"
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/pdftohtml \
${STAGEDIR}${PREFIX}/bin/pdf-to-html
.include <bsd.port.mk>