1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-19 03:52:17 +00:00

- 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>
This commit is contained in:
Sylvio Cesar Teixeira 2012-06-17 20:18:13 +00:00
parent 5e1dae6ca3
commit 67948817be
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=299500
2 changed files with 13 additions and 9 deletions

View File

@ -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>

View File

@ -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/