freebsd-ports/textproc/pdftohtml/Makefile

27 lines
641 B
Makefile
Raw Normal View History

# Created by: Soeren Boll Overgaard <boll@tolkien.dk>
# $FreeBSD$
PORTNAME= pdftohtml
PORTVERSION= 0.40a
CATEGORIES= textproc
MASTER_SITES= SF/${PORTNAME}/Experimental%20Versions/${PORTNAME}%20${PORTVERSION:S|a||} \
http://fossies.org/linux/www/
2013-05-16 15:08:03 +02:00
MAINTAINER= ports@FreeBSD.org
COMMENT= Command-line tool for converting pdf-files into html
USES= gmake
USE_GHOSTSCRIPT_RUN= yes
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:
2014-03-20 16:04:39 +01:00
${INSTALL_PROGRAM} ${WRKSRC}/src/pdftohtml \
${STAGEDIR}${PREFIX}/bin/pdf-to-html
.include <bsd.port.mk>