Changeset View
Changeset View
Standalone View
Standalone View
head/misc/pspresent/Makefile
# Created by: Timothy Bourke <timbob@bigpond.com> | # Created by: Timothy Bourke <timbob@bigpond.com> | ||||
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= pspresent | PORTNAME= pspresent | ||||
PORTVERSION= 1.3 | PORTVERSION= 1.3 | ||||
PORTREVISION= 4 | PORTREVISION= 4 | ||||
CATEGORIES= misc | CATEGORIES= misc | ||||
MASTER_SITES= http://www.zmatt.net/pspresent/ | MASTER_SITES= http://www.zmatt.net/pspresent/ | ||||
MAINTAINER= ports@FreeBSD.org | MAINTAINER= ports@FreeBSD.org | ||||
COMMENT= Full-screen slide shows of postscript files | COMMENT= Full-screen slide shows of postscript files | ||||
LICENSE= GPLv2 | LICENSE= GPLv2 | ||||
USE_XORG= x11 xext xinerama | USE_XORG= x11 xext xinerama | ||||
USE_GHOSTSCRIPT_RUN= yes | USES= ghostscript:run | ||||
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" LDLIBS="${LDFLAGS}" | MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" LDLIBS="${LDFLAGS}" | ||||
ALL_TARGET= pspresent | ALL_TARGET= pspresent | ||||
PLIST_FILES= bin/pspresent man/man1/pspresent.1.gz | PLIST_FILES= bin/pspresent man/man1/pspresent.1.gz | ||||
CFLAGS+= -I${LOCALBASE}/include -DHAVE_LIBXINERAMA | CFLAGS+= -I${LOCALBASE}/include -DHAVE_LIBXINERAMA | ||||
LDFLAGS+= -L${LOCALBASE}/lib -lX11 -lXext -lXinerama | LDFLAGS+= -L${LOCALBASE}/lib -lX11 -lXext -lXinerama | ||||
do-install: | do-install: | ||||
${INSTALL_PROGRAM} ${WRKSRC}/pspresent ${STAGEDIR}${PREFIX}/bin | ${INSTALL_PROGRAM} ${WRKSRC}/pspresent ${STAGEDIR}${PREFIX}/bin | ||||
${INSTALL_MAN} ${WRKSRC}/pspresent.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 | ${INSTALL_MAN} ${WRKSRC}/pspresent.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 | ||||
.include <bsd.port.mk> | .include <bsd.port.mk> |