[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / net / nagstamon

Annotation of pkgsrc/net/nagstamon/Makefile, Revision 1.13

1.13    ! wiz         1: # $NetBSD: Makefile,v 1.12 2012/02/18 17:05:27 gls Exp $
1.1       imil        2: #
                      3:
1.12      gls         4: VERSION=       0.9.8
1.1       imil        5: DISTNAME=      nagstamon_${VERSION}
                      6: PKGNAME=       ${DISTNAME:S/_/-/}
1.13    ! wiz         7: PKGREVISION=   1
1.1       imil        8: CATEGORIES=    net python
                      9: MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=nagstamon/}
                     10:
                     11: MAINTAINER=    imil@gcu.info
1.9       obache     12: HOMEPAGE=      http://nagstamon.ifw-dresden.de/
1.1       imil       13: COMMENT=       Nagios status monitor which takes place in systray or on desktop
                     14: LICENSE=       gnu-gpl-v2
                     15:
                     16: PKG_DESTDIR_SUPPORT=   user-destdir
                     17: USE_LANGUAGES=         # none
                     18: PYDISTUTILSPKG=                yes
                     19:
1.12      gls        20: WRKSRC=                        ${WRKDIR}/Nagstamon
1.1       imil       21:
                     22: INSTALLATION_DIRS+=    ${PKGMANDIR}/man1
1.12      gls        23: REPLACE_PYTHON=                ${WRKSRC}/*.py
                     24: REPLACE_PYTHON+=       ${WRKSRC}/Nagstamon/Server/Multisite.py
1.1       imil       25:
                     26: DEPENDS+=      ${PYPKGPREFIX}-lxml>=2.2.4:../../textproc/py-lxml
                     27: DEPENDS+=      ${PYPKGPREFIX}-libxslt>=1.1.24:../../textproc/py-libxslt
                     28: DEPENDS+=      sox>=14.0.1:../../audio/sox
                     29:
1.12      gls        30: SUBST_CLASSES+=                mandir
                     31: SUBST_STAGE.mandir=    pre-configure
                     32: SUBST_SED.mandir=      -e s,@PKGMANDIR@,${PKGMANDIR},g
                     33: SUBST_FILES.mandir=    setup.py
                     34:
                     35: # Upstream renamed script from nagstamon to nagstamon.py
                     36: # Preserve compatibility with previous version of the package
1.1       imil       37: post-install:
1.12      gls        38:        ${LN} -s ${DESTDIR}${PREFIX}/bin/nagstamon.py \
                     39:                ${DESTDIR}${PREFIX}/bin/nagstamon
1.1       imil       40:
                     41: .include "../../graphics/librsvg/buildlink3.mk"
                     42: .include "../../textproc/py-libxml2/buildlink3.mk"
                     43: .include "../../x11/py-gtk2/buildlink3.mk"
                     44: .include "../../x11/py-gnome2-extras/buildlink3.mk"
                     45: .include "../../lang/python/application.mk"
                     46: .include "../../lang/python/extension.mk"
                     47: .include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>