freebsd-ports/misc/pspresent/Makefile
Tijl Coosemans 77760fcb63 Make print/ghostscript9-agpl-base the default Ghostscript port. Upstream
changed the license to the AGPL 3 in version 9.07 so print/ghostscript9-base
is stuck at 9.06 which is almost 4 years old now.

Fix the logic in Uses/ghostscript.mk so "agpl" is treated as a real version
on its own instead of as a variant of other versions.

Fix print/ghostscript9-agpl-base to install eps2write.

Update math/asymptote to 2.37 to support newer Ghostscript.

PR:		208159
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2016-03-24 15:47:50 +00:00

30 lines
749 B
Makefile

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