openbsd-ports/print/gv/Makefile
jasper 9ec6ec012f - long overdue update of gv to 3.7.1.
among the many fixes are security fixes for CVE-2002-0838, CVE-2006-5864,
CVE-2010-2055 and CVE-2010-2056
- tweak DESCR
- fix MASTER_SITES/HOMEPAGE
- update license version
2010-09-14 08:50:07 +00:00

35 lines
829 B
Makefile

# $OpenBSD: Makefile,v 1.33 2010/09/14 08:50:07 jasper Exp $
COMMENT= PostScript and PDF previewer
DISTNAME= gv-3.7.1
CATEGORIES= print
HOMEPAGE= http://www.gnu.org/software/gv/
MASTER_SITES= ${MASTER_SITE_GNU:=gv/}
# GPLv3+
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB += ICE SM X11 Xext Xmu Xpm Xt c m Xaw3d Xinerama
MODULES= converters/libiconv
LIB_DEPENDS= ::x11/Xaw3d
RUN_DEPENDS= :ghostscript-*:print/ghostscript/gnu
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= --enable-SIGCHLD-fallback \
--enable-scrollbar-code
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
USE_X11= Yes
FAKE_FLAGS+= appdefaultsdir="${PREFIX}/lib/X11/app-defaults/"
.include <bsd.port.mk>