aboutsummaryrefslogtreecommitdiff
path: root/print/xpdfopen/Makefile
blob: ba45a0211bbfe1dcde19d5c9b47688fb8c36a126 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
PORTNAME=	xpdfopen
PORTVERSION=	0.86
CATEGORIES=	print
MASTER_SITES=	ftp://tug.org/historic/systems/texlive/2015/
DISTNAME=	texlive-${DISTVERSION_TEXLIVE_SOURCE}-source
DIST_SUBDIR=	TeX

MAINTAINER=	hrs@FreeBSD.org
COMMENT=	Command line utility for PDF viewers

CONFLICTS=	texlive-base-20150521_[1-4]

USES=		tar:xz xorg
USE_XORG=	x11 xmu
EXTRACT_AFTER_ARGS=	${EXTRACT_FILES:S,^,${DISTNAME}/,}
EXTRACT_FILES=	build-aux \
		utils/xpdfopen
DISTVERSION_TEXLIVE_SOURCE=	20150521
WRKSRC=		${WRKDIR}/${DISTNAME}/utils/xpdfopen
GNU_CONFIGURE=	yes
CFLAGS+=	-I${LOCALBASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib

PLIST_FILES=	bin/pdfclose \
		bin/pdfopen \
		man/man1/pdfclose.1.gz \
		man/man1/pdfopen.1.gz

.include <bsd.port.mk>