mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-26 09:46:09 +00:00
e6925e760b
the process. Thanks to kato for providing parts of this update.
46 lines
1.0 KiB
Makefile
46 lines
1.0 KiB
Makefile
# New ports collection makefile for: xpdf
|
|
# Date created: 02 Feb 1996
|
|
# Whom: chuckr@glue.umd.edu
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= xpdf
|
|
PORTVERSION= 1.01
|
|
CATEGORIES= graphics print
|
|
MASTER_SITES= ftp://ftp.foolabs.com/pub/xpdf/ \
|
|
${MASTER_SITE_TEX_CTAN}
|
|
MASTER_SITE_SUBDIR= support/xpdf
|
|
|
|
MAINTAINER= DougB@FreeBSD.org
|
|
|
|
BUILD_DEPENDS= freetype-config:${PORTSDIR}/print/freetype2
|
|
LIB_DEPENDS= t1.4:${PORTSDIR}/devel/t1lib \
|
|
freetype.9:${PORTSDIR}/print/freetype2
|
|
|
|
USE_GMAKE= yes
|
|
USE_X_PREFIX= yes
|
|
USE_XPM= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
CONFIGURE_ARGS= --with-gzip --enable-opi \
|
|
--with-t1-library="${LOCALBASE}/lib" \
|
|
--with-t1-includes="${LOCALBASE}/include" \
|
|
--with-freetype2-library="${LOCALBASE}/lib" \
|
|
--with-freetype2-includes="${LOCALBASE}/include/freetype2"
|
|
.if defined(A4)
|
|
CONFIGURE_ARGS+= --enable-a4-paper
|
|
.endif
|
|
|
|
MAN1= pdffonts.1 \
|
|
pdfimages.1 \
|
|
pdfinfo.1 \
|
|
pdftopbm.1 \
|
|
pdftops.1 \
|
|
pdftotext.1 \
|
|
xpdf.1
|
|
MAN5= xpdfrc.5
|
|
|
|
.include <bsd.port.mk>
|