Files
ports/textproc/pdftohtml/Makefile
Michael Osipov fcf68ae5ec */*: Bump PORTREVISION for Ghostscript 10 change
Reported by:	sunpoet
Approved by:	jrm (mentor), sunpoet
Differential Revision:	https://reviews.freebsd.org/D42412
2023-11-03 08:17:38 +01:00

25 lines
631 B
Makefile

PORTNAME= pdftohtml
PORTVERSION= 0.40a
PORTREVISION= 3
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
WWW= https://sourceforge.net/projects/pdftohtml/
USES= cpe 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>