pkgsrc/print/libgnomeprint/Makefile
reed 5abef9be14 Over 1200 files touched but no revisions bumped :)
RECOMMENDED is removed. It becomes ABI_DEPENDS.

BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo.

BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo.

BUILDLINK_DEPENDS does not change.

IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS
which defaults to "yes".

Added to obsolete.mk checking for IGNORE_RECOMMENDED.

I did not manually go through and fix any aesthetic tab/spacing issues.

I have tested the above patch on DragonFly building and packaging
subversion and pkglint and their many dependencies.

I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I
have used IGNORE_RECOMMENDED for a long time). I have been an active user
of IGNORE_RECOMMENDED since it was available.

As suggested, I removed the documentation sentences suggesting bumping for
"security" issues.

As discussed on tech-pkg.

I will commit to revbump, pkglint, pkg_install, createbuildlink separately.

Note that if you use wip, it will fail!  I will commit to pkgsrc-wip
later (within day).
2006-04-06 06:21:32 +00:00

61 lines
1.7 KiB
Makefile

# $NetBSD: Makefile,v 1.48 2006/04/06 06:22:36 reed Exp $
#
DISTNAME= libgnomeprint-2.12.1
PKGREVISION= 2
CATEGORIES= print gnome
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/libgnomeprint/2.12/}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= jmmv@NetBSD.org
HOMEPAGE= http://www.levien.com/gnome/print-arch.html
COMMENT= Library for the GNOME2 Printing Architecture
BUILD_USES_MSGFMT= YES
USE_TOOLS+= gmake pkg-config
USE_PKGLOCALEDIR= YES
USE_LIBTOOL= YES
GNU_CONFIGURE= YES
BUILDLINK_API_DEPENDS.freetype2+= freetype2>=2.1.4
PKGCONFIG_OVERRIDE= libgnomeprint/libgnomeprint-2.2.pc.in
CONFIGURE_ARGS+= --enable-gtk-doc=no
CONFIGURE_ARGS+= --with-html-dir=${PREFIX}/share/doc
PKG_OPTIONS_VAR= PKG_OPTIONS.libgnomeprint
PKG_SUPPORTED_OPTIONS= cups
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mcups)
.include "../../print/libgnomecups/buildlink3.mk"
CONFIGURE_ARGS+= --with-cups
PLIST_SUBST+= USE_CUPS=
.else
CONFIGURE_ARGS+= --without-cups
PLIST_SUBST+= USE_CUPS="@comment "
.endif
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "Darwin"
# AC_LTDL_SHLIBEXT doesn't work on Darwin (and would give the wrong
# answer here even if it did).
CONFIGURE_ENV+= libltdl_cv_shlibext=so
.endif
PRINT_PLIST_AWK+= /cups/ { print "$${USE_CUPS}" $$0; next; }
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/glib2/buildlink3.mk"
.include "../../devel/libbonobo/buildlink3.mk"
.include "../../devel/pango/buildlink3.mk"
.include "../../fonts/fontconfig/buildlink3.mk"
.include "../../graphics/freetype2/buildlink3.mk"
.include "../../graphics/libart2/buildlink3.mk"
.include "../../textproc/intltool/buildlink3.mk"
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"