pkgsrc/graphics/kdegraphics3/Makefile
markd baf994966f Revert kghostview Makefile.{am,in} to the -3.2.0 version as the latest
version produces a kghostview that fails to run on NetBSD and the reason
for the change (Debian packaging issues) shouldn't effect us.
Bump PKGREVISION.
2004-03-14 00:44:27 +00:00

41 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.34 2004/03/14 00:44:27 markd Exp $
DISTNAME= kdegraphics-${_KDE_VERSION}
PKGREVISION= 1
CATEGORIES= graphics
COMMENT= Graphics programs for the KDE integrated X11 desktop
DEPENDS+= xdg-dirs>=1.1:../../misc/xdg-dirs
.include "../../meta-pkgs/kde3/Makefile.kde3"
#DEPENDS+= gPhoto2
#DEPENDS+= gpio
USE_BUILDLINK2= YES
BUILDLINK_DEPENDS.lcms= lcms>=1.12
CONFIGURE_ARGS+= --without-kamera # requires gPhoto2, gpio
CONFIGURE_ARGS+= --with-imlib-config=${X11PREFIX}/bin
# Ensure we export symbols in the linked shared object.
LDFLAGS+= ${EXPORT_SYMBOLS_LDFLAGS}
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "NetBSD" && !exists(${X11BASE}/lib/libXxf86vm.so)
PLIST_SUBST+= KGAMMA_SUFFIX="a"
.else
PLIST_SUBST+= KGAMMA_SUFFIX="so"
.endif
.include "../../converters/fribidi/buildlink2.mk"
.include "../../graphics/tiff/buildlink2.mk"
.include "../../graphics/glut/buildlink2.mk"
.include "../../graphics/imlib/buildlink2.mk"
.include "../../graphics/sane-backends/buildlink2.mk"
.include "../../meta-pkgs/kde3/buildlink2.mk"
.include "../../x11/kdebase3/buildlink2.mk"
.include "../../mk/ghostscript.mk"
.include "../../mk/bsd.pkg.mk"