2001-08-06 14:15:55 +02:00
|
|
|
# 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
|
2010-03-28 08:47:48 +02:00
|
|
|
PORTREVISION= 5
|
2001-08-06 14:15:55 +02:00
|
|
|
CATEGORIES= textproc
|
2009-08-22 02:37:17 +02:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
|
2001-08-06 14:15:55 +02:00
|
|
|
|
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
|
2001-08-06 14:15:55 +02:00
|
|
|
|
2007-03-28 10:30:10 +02:00
|
|
|
USE_GHOSTSCRIPT_RUN= yes
|
2006-04-20 12:34:53 +02:00
|
|
|
USE_GMAKE= yes
|
|
|
|
|
2004-01-31 00:06:52 +01:00
|
|
|
PLIST_FILES= bin/pdftohtml
|
2006-03-28 00:16:34 +02:00
|
|
|
|
2002-06-22 20:10:18 +02:00
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}
|
2001-08-06 14:15:55 +02:00
|
|
|
|
2002-06-18 10:15:26 +02:00
|
|
|
pre-patch:
|
2006-03-28 00:16:34 +02:00
|
|
|
@${FIND} ${WRKSRC} -name Makefile | ${XARGS} \
|
|
|
|
${REINPLACE_CMD} -e "s|-O[0-9]||" -e "s|-g||"
|
2002-06-18 10:15:26 +02:00
|
|
|
|
2001-08-06 14:15:55 +02:00
|
|
|
do-install:
|
2006-04-20 12:34:53 +02:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/src/pdftohtml ${PREFIX}/bin
|
2001-08-06 14:15:55 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|