Makefile 720 B

123456789101112131415161718192021222324252627282930
  1. # $OpenBSD: Makefile,v 1.42 2016/09/13 18:52:05 naddy Exp $
  2. COMMENT= PostScript and PDF previewer
  3. DISTNAME= gv-3.7.4
  4. CATEGORIES= print
  5. HOMEPAGE= https://www.gnu.org/software/gv/
  6. MASTER_SITES= ${MASTER_SITE_GNU:=gv/}
  7. # GPLv3+
  8. PERMIT_PACKAGE_CDROM= Yes
  9. WANTLIB += ICE SM X11 Xext Xmu Xpm Xt c iconv m Xaw3d Xinerama
  10. LIB_DEPENDS= converters/libiconv \
  11. x11/Xaw3d
  12. RUN_DEPENDS= print/ghostscript/gnu
  13. CONFIGURE_STYLE= gnu
  14. CONFIGURE_ARGS+= --enable-SIGCHLD-fallback \
  15. --enable-scrollbar-code
  16. CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
  17. LDFLAGS="-L${LOCALBASE}/lib"
  18. FAKE_FLAGS+= appdefaultsdir="${PREFIX}/lib/X11/app-defaults/"
  19. .include <bsd.port.mk>