aboutsummaryrefslogtreecommitdiffstats
path: root/misc/pspresent/Makefile
blob: c528801db0bd7557fa2f769a9b76f8394ac51f61 (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
30
31
# New ports collection makefile for:   pspresent
# Date created:        25 Jul 2007
# Whom:                Timothy Bourke <timbob@bigpond.com>
#
# $FreeBSD$
#

PORTNAME=   pspresent
PORTVERSION=    1.3
PORTREVISION=   3
CATEGORIES= misc
MASTER_SITES=   http://www.cse.unsw.edu.au/~matthewc/pspresent/

MAINTAINER= ports@FreeBSD.org
COMMENT=    Full-screen slide shows of postscript files

USE_GHOSTSCRIPT_RUN=    yes
USE_XORG=   x11 xext xinerama
ALL_TARGET= pspresent
PLIST_FILES=    bin/pspresent

MAN1=       pspresent.1

post-patch:
    @${REINPLACE_CMD} -e 's|/usr/X11R6|$${LOCALBASE}|' ${WRKSRC}/Makefile

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

.include <bsd.port.mk>