diff options
-rw-r--r-- | misc/pspresent/Makefile | 20 | ||||
-rw-r--r-- | misc/pspresent/pkg-descr | 2 |
2 files changed, 13 insertions, 9 deletions
diff --git a/misc/pspresent/Makefile b/misc/pspresent/Makefile index c528801db0bd..b48eec8b5d4e 100644 --- a/misc/pspresent/Makefile +++ b/misc/pspresent/Makefile @@ -7,25 +7,29 @@ PORTNAME= pspresent PORTVERSION= 1.3 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= misc -MASTER_SITES= http://www.cse.unsw.edu.au/~matthewc/pspresent/ +MASTER_SITES= http://www.zmatt.net/pspresent/ MAINTAINER= ports@FreeBSD.org COMMENT= Full-screen slide shows of postscript files -USE_GHOSTSCRIPT_RUN= yes +LICENSE= GPLv2 + USE_XORG= x11 xext xinerama +USE_GHOSTSCRIPT_RUN= yes +MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" LDLIBS="${LDFLAGS}" ALL_TARGET= pspresent -PLIST_FILES= bin/pspresent +MAKE_JOBS_SAFE= yes MAN1= pspresent.1 +PLIST_FILES= bin/pspresent -post-patch: - @${REINPLACE_CMD} -e 's|/usr/X11R6|$${LOCALBASE}|' ${WRKSRC}/Makefile +CFLAGS+= -I${LOCALBASE}/include -DHAVE_LIBXINERAMA +LDFLAGS+= -L${LOCALBASE}/lib -lX11 -lXext -lXinerama do-install: - @${INSTALL_PROGRAM} ${WRKSRC}/pspresent ${PREFIX}/bin - @${INSTALL_MAN} ${WRKSRC}/pspresent.1 ${MAN1PREFIX}/man/man1 + ${INSTALL_PROGRAM} ${WRKSRC}/pspresent ${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/pspresent.1 ${MAN1PREFIX}/man/man1 .include <bsd.port.mk> diff --git a/misc/pspresent/pkg-descr b/misc/pspresent/pkg-descr index a1623b7b4aa9..f0a687a687b4 100644 --- a/misc/pspresent/pkg-descr +++ b/misc/pspresent/pkg-descr @@ -2,4 +2,4 @@ pspresent is a presentation tool to display full-screen PostScript presentations. It provides simple navigation, and double-buffers for seamless transitions. -WWW: http://www.cse.unsw.edu.au/~matthewc/pspresent +WWW: http://www.zmatt.net/pspresent/ |