mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
- Now we've OPTIONS to set the additional features more easily for end users.
- Bump PORTREVISION. Submitted by: Luigi Rizzo <rizzo@iet.unipi.it>
This commit is contained in:
parent
bebbf4c4e7
commit
6239f2e12f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=221869
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= xpdf
|
||||
PORTVERSION= 3.02
|
||||
PORTREVISION= 9
|
||||
PORTREVISION= 10
|
||||
CATEGORIES= graphics print
|
||||
MASTER_SITES= ftp://ftp.foolabs.com/pub/xpdf/ \
|
||||
${MASTER_SITE_TEX_CTAN}
|
||||
@ -35,6 +35,12 @@ CONFIGURE_ARGS= --enable-opi \
|
||||
--with-freetype2-library="${LOCALBASE}/lib" \
|
||||
--with-freetype2-includes="${LOCALBASE}/include/freetype2"
|
||||
|
||||
OPTIONS= LIBPAPER "Enable libpaper" off \
|
||||
DRAW "Enable drawing annotations" on \
|
||||
X11 "Enable X11 support" on \
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if defined(WITH_LIBPAPER)
|
||||
LIB_DEPENDS+= paper.2:${PORTSDIR}/print/libpaper
|
||||
CONFIGURE_ARGS+=--with-libpaper-library="${LOCALBASE}/lib" \
|
||||
@ -82,4 +88,4 @@ post-install:
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.post.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user