1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-13 07:34:50 +00:00
freebsd-ports/textproc/pdftohtml/Makefile
Bernhard Froehlich c79ca74cdf
textproc/pdftohtml: Add CPE information
Approved by:	portmgr (blanket)
2021-08-29 18:53:48 +00:00

26 lines
636 B
Makefile

# Created by: Soeren Boll Overgaard <boll@tolkien.dk>
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= 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>