aboutsummaryrefslogtreecommitdiffstats
path: root/misc/pspresent
diff options
context:
space:
mode:
authorsylvio <sylvio@FreeBSD.org>2012-06-18 04:18:13 +0800
committersylvio <sylvio@FreeBSD.org>2012-06-18 04:18:13 +0800
commitee90b752140bdb721cb56b4e0e91dbbc1dff8923 (patch)
tree52f7786091c6f0ecb394f8d98ad135d3b1d906d7 /misc/pspresent
parent221c676c527b1db4b3db37cdbb85a15b4ed8963d (diff)
downloadfreebsd-ports-gnome-ee90b752140bdb721cb56b4e0e91dbbc1dff8923.tar.gz
freebsd-ports-gnome-ee90b752140bdb721cb56b4e0e91dbbc1dff8923.tar.zst
freebsd-ports-gnome-ee90b752140bdb721cb56b4e0e91dbbc1dff8923.zip
- Update MASTER_SITES and WWW: line
- Support CC/CFLAGS properly - Add LICENSE - Add MAKE_JOBS_SAFE PR: ports/169004 Submitted by: KATO Tsuguru <tkato432@yahoo.com>
Diffstat (limited to 'misc/pspresent')
-rw-r--r--misc/pspresent/Makefile20
-rw-r--r--misc/pspresent/pkg-descr2
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/