freebsd-ports/textproc/pdftohtml/Makefile
Patrick Li 88f2f815d3 Keep checksum current: author rerolled distfile and the only change is to
not define HAVE_MKSTEMPS by default. Add a patch to define HAVE_MKSTEMPS
since we have it in our implementation.

PR:             ports/39582
Submitted by:   maintainer
2002-06-22 18:10:18 +00:00

33 lines
754 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.34
PORTREVISION= 1
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME= ${PORTNAME}_${PORTVERSION:S/./_/}
MAINTAINER= erwin@lansing.dk
RUN_DEPENDS= ${LOCALBASE}/bin/gs:${PORTSDIR}/print/ghostscript-gnu
WRKSRC= ${WRKDIR}/${DISTNAME}
pre-patch:
.for file in goo/Makefile xpdf/Makefile
@${MV} ${WRKSRC}/${file} ${WRKSRC}/${file}.orig
@${SED} -e "s|-O2||; s|-g||" ${WRKSRC}/${file}.orig \
> ${WRKSRC}/${file}
.endfor
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/pdftohtml ${PREFIX}/bin
.include <bsd.port.mk>