freebsd-ports/textproc/pdftohtml/Makefile
Maxim Sobolev 0bafca98cb This package doesn't really require X11 or Motif.
Make it respecting CFLAGS while I am here.
2007-04-20 21:13:41 +00:00

41 lines
940 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= 1
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= erwin@FreeBSD.org
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-fetch:
.if !defined(WITH_GHOSTSCRIPT_AFPL) || ${WITH_GHOSTSCRIPT_AFPL} != yes
@${ECHO} ""
@${ECHO} " Define WITH_GHOSTSCRIPT_AFPL=yes to use"
@${ECHO} " AFPL Postscript interpreter instead of GNU one"
@${ECHO} ""
.endif
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>