2007-07-29 20:41:50 +00:00
|
|
|
# New ports collection makefile for: pspresent
|
|
|
|
# Date created: 25 Jul 2007
|
|
|
|
# Whom: Timothy Bourke <timbob@bigpond.com>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= pspresent
|
|
|
|
PORTVERSION= 1.3
|
|
|
|
CATEGORIES= misc
|
|
|
|
MASTER_SITES= http://www.cse.unsw.edu.au/~matthewc/pspresent/
|
|
|
|
|
|
|
|
MAINTAINER= timbob@bigpond.com
|
|
|
|
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:
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 17:56:05 +00:00
|
|
|
@${REINPLACE_CMD} -e 's|/usr/X11R6|$${LOCALBASE}|' ${WRKSRC}/Makefile
|
2007-07-29 20:41:50 +00:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/pspresent ${PREFIX}/bin
|
|
|
|
@${INSTALL_MAN} ${WRKSRC}/pspresent.1 ${MAN1PREFIX}/man/man1
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|