freebsd-ports/textproc/pdftohtml/Makefile
Jason E. Hale 0cf5809549 - Use SF macro in MASTER_SITES
- Remove redundant WRKSRC redefinition
2014-06-22 09:03:46 +00:00

26 lines
641 B
Makefile

# 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/
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:
${INSTALL_PROGRAM} ${WRKSRC}/src/pdftohtml \
${STAGEDIR}${PREFIX}/bin/pdf-to-html
.include <bsd.port.mk>