aboutsummaryrefslogtreecommitdiff
path: root/misc/pspresent
diff options
context:
space:
mode:
authorSylvio Cesar Teixeira <sylvio@FreeBSD.org>2012-06-17 20:18:13 +0000
committerSylvio Cesar Teixeira <sylvio@FreeBSD.org>2012-06-17 20:18:13 +0000
commit67948817be4127901b902d7546fa96957dfbb87c (patch)
treed21615ac7b861c0292f073235bd3dc513f0b76e6 /misc/pspresent
parent5e1dae6ca38e1cedc0562c6bddf47e90396e9bd6 (diff)
downloadports-67948817be4127901b902d7546fa96957dfbb87c.tar.gz
ports-67948817be4127901b902d7546fa96957dfbb87c.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>
Notes
Notes: svn path=/head/; revision=299500
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/