aboutsummaryrefslogtreecommitdiffstats
path: root/misc/pspresent/Makefile
blob: 1a383c2a490fc26273e6810ef216504f952cf9f8 (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
PORTNAME=	pspresent
PORTVERSION=	1.3
PORTREVISION=	8
CATEGORIES=	misc
MASTER_SITES=	http://www.zmatt.net/pspresent/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Full-screen slide shows of postscript files
WWW=		http://www.zmatt.net/pspresent/

LICENSE=	GPLv2

USES=		ghostscript:x11,run xorg
USE_XORG=	x11 xext xinerama
MAKE_ARGS=	CC="${CC}" CFLAGS="${CFLAGS}" LDLIBS="${LDFLAGS}"
ALL_TARGET=	pspresent

PLIST_FILES=	bin/pspresent share/man/man1/pspresent.1.gz

CFLAGS+=	-I${LOCALBASE}/include -DHAVE_LIBXINERAMA
LDFLAGS+=	-L${LOCALBASE}/lib -lX11 -lXext -lXinerama

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/pspresent ${STAGEDIR}${PREFIX}/bin
	${INSTALL_MAN} ${WRKSRC}/pspresent.1 ${STAGEDIR}${PREFIX}/share/man/man1

.include <bsd.port.mk>