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
|
2003-06-25 17:13:49 +02:00
|
|
|
PORTVERSION= 0.36
|
2001-08-06 14:15:55 +02:00
|
|
|
CATEGORIES= textproc
|
2002-06-18 10:15:26 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
2002-04-01 04:25:02 +02:00
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
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
|
|
|
|
2002-06-19 14:53:40 +02:00
|
|
|
RUN_DEPENDS= ${LOCALBASE}/bin/gs:${PORTSDIR}/print/ghostscript-gnu
|
|
|
|
|
2002-06-22 20:10:18 +02:00
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}
|
2002-07-01 16:37:37 +02:00
|
|
|
USE_REINPLACE= yes
|
2001-08-06 14:15:55 +02:00
|
|
|
|
2002-06-18 10:15:26 +02:00
|
|
|
pre-patch:
|
|
|
|
.for file in goo/Makefile xpdf/Makefile
|
2002-07-01 16:37:37 +02:00
|
|
|
${REINPLACE_CMD} -e "s|-O2||; s|-g||" ${WRKSRC}/${file}
|
2002-06-18 10:15:26 +02:00
|
|
|
.endfor
|
|
|
|
|
2001-08-06 14:15:55 +02:00
|
|
|
do-install:
|
2002-04-25 00:54:23 +02:00
|
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/pdftohtml ${PREFIX}/bin
|
2001-08-06 14:15:55 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|