freebsd-ports/textproc/pdftohtml/Makefile
2013-05-16 13:08:03 +00:00

34 lines
729 B
Makefile

# ex:ts=8
# New ports collection makefile for: pdftohtml
# Date created: 1 Jun 2001
# Whom: Soeren Boll Overgaard <boll@tolkien.dk>
#
# $FreeBSD$
#
PORTNAME= pdftohtml
PORTVERSION= 0.39
PORTREVISION= 6
CATEGORIES= textproc
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= A command-line tool for converting pdf-files into html
CONFLICTS= poppler-utils-[0-9]*
USE_GHOSTSCRIPT_RUN= yes
USE_GMAKE= yes
PLIST_FILES= bin/pdftohtml
WRKSRC= ${WRKDIR}/${DISTNAME}
pre-patch:
@${FIND} ${WRKSRC} -name Makefile | ${XARGS} \
${REINPLACE_CMD} -e "s|-O[0-9]||" -e "s|-g||"
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/pdftohtml ${PREFIX}/bin
.include <bsd.port.mk>