diff options
author | wiz <wiz> | 2010-01-27 10:24:08 +0000 |
---|---|---|
committer | wiz <wiz> | 2010-01-27 10:24:08 +0000 |
commit | d61cee4bfa4e57b2b4124395fac70528e63a1e8a (patch) | |
tree | 5323038d0eae8e8eaf21ff9857db062a664b35c3 /graphics/comix | |
parent | 73866df63e0c42992726ec7103e3014ec319b93d (diff) | |
download | pkgsrc-d61cee4bfa4e57b2b4124395fac70528e63a1e8a.tar.gz |
Add gnome option, default on, that adds GConf dependency (previously
always enabled). Based on patch by David DEMELIER on pkgsrc-users.
Include desktopdb.mk.
Bump PKGREVISION.
Diffstat (limited to 'graphics/comix')
-rw-r--r-- | graphics/comix/Makefile | 8 | ||||
-rw-r--r-- | graphics/comix/options.mk | 11 |
2 files changed, 16 insertions, 3 deletions
diff --git a/graphics/comix/Makefile b/graphics/comix/Makefile index 3302aed2f0b..dfe1505cb8c 100644 --- a/graphics/comix/Makefile +++ b/graphics/comix/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.23 2010/01/18 09:58:57 wiz Exp $ +# $NetBSD: Makefile,v 1.24 2010/01/27 10:24:08 wiz Exp $ # DISTNAME= comix-4.0.4 -PKGREVISION= 2 +PKGREVISION= 3 CATEGORIES= graphics python MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=comix/} @@ -23,6 +23,8 @@ DEPENDS+= ${PYPKGPREFIX}-sqlite3-[0-9]*:../../databases/py-sqlite3 MANCOMPRESSED= yes +.include "options.mk" + SUBST_CLASSES+= install-path SUBST_STAGE.install-path= pre-build SUBST_MESSAGE.install-path= Fixing man page installation path. @@ -37,11 +39,11 @@ do-install: cd ${WRKSRC} && ${PYTHONBIN} install.py install --dir ${DESTDIR}${PREFIX} .include "../../databases/shared-mime-info/mimedb.mk" -.include "../../devel/GConf/buildlink3.mk" .include "../../graphics/hicolor-icon-theme/buildlink3.mk" BUILDLINK_API_DEPENDS.pyimaging+= ${PYPKGPREFIX}-imaging>=1.1.5 .include "../../graphics/py-imaging/buildlink3.mk" .include "../../lang/python/application.mk" +.include "../../sysutils/desktop-file-utils/desktopdb.mk" BUILDLINK_API_DEPENDS.pygtk2+= ${PYPKGPREFIX}-gtk2>=2.12 .include "../../x11/py-gtk2/buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/graphics/comix/options.mk b/graphics/comix/options.mk new file mode 100644 index 00000000000..074caf0daf7 --- /dev/null +++ b/graphics/comix/options.mk @@ -0,0 +1,11 @@ +# $NetBSD: options.mk,v 1.1 2010/01/27 10:24:08 wiz Exp $ + +PKG_OPTIONS_VAR= PKG_OPTIONS.comix +PKG_SUPPORTED_OPTIONS= gnome +PKG_SUGGESTED_OPTIONS= gnome + +.include "../../mk/bsd.options.mk" + +.if !empty(PKG_OPTIONS:Mgnome) +.include "../../devel/GConf/buildlink3.mk" +.endif |