mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
41b58dcf97
The conflict between this unmaintained port and poppler-utils can be problematic. Ports should be using poppler-utils rather than this one as a build dependency. This port's package list is 1-line long, so lets just rename the program so that it can coexist with the version from poppler-utils. The name changes from "pdftohtml" to "pdf-to-html" along with a PORTREVISION bump. Minor cleanup to pet portlint was alson done.
29 lines
633 B
Makefile
29 lines
633 B
Makefile
# Created by: Soeren Boll Overgaard <boll@tolkien.dk>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= pdftohtml
|
|
PORTVERSION= 0.39
|
|
PORTREVISION= 7
|
|
CATEGORIES= textproc
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Command-line tool for converting pdf-files into html
|
|
|
|
USES= gmake
|
|
USE_GHOSTSCRIPT_RUN= yes
|
|
|
|
PLIST_FILES= bin/pdf-to-html
|
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}
|
|
|
|
NO_STAGE= yes
|
|
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/pdf-to-html
|
|
|
|
.include <bsd.port.mk>
|