freebsd-ports/textproc/pdftohtml/Makefile

33 lines
696 B
Makefile
Raw Normal View History

# ex:ts=8
# New ports collection makefile for: pdftohtml
# Date created: 1 Jun 2001
# Whom: Soeren Boll Overgaard <boll@tolkien.dk>
#
# $FreeBSD$
#
PORTNAME= pdftohtml
2006-08-25 13:05:56 +02:00
PORTVERSION= 0.39
PORTREVISION= 5
CATEGORIES= textproc
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
2003-06-12 18:41:16 +02:00
MAINTAINER= erwin@FreeBSD.org
2003-02-21 14:42:50 +01:00
COMMENT= A command-line tool for converting pdf-files into html
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>