[BACK]Return to Makefile.common CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / sysutils / ups-nut

Annotation of pkgsrc/sysutils/ups-nut/Makefile.common, Revision 1.6

1.6     ! jym         1: # $NetBSD: Makefile.common,v 1.5 2013/02/16 17:34:58 jdf Exp $
1.3       bouyer      2: # used by sysutils/ups-nut/Makefile
                      3: # used by sysutils/ups-nut-cgi/Makefile
                      4: # used by sysutils/ups-nut-snmp/Makefile
                      5: # used by sysutils/ups-nut-usb/Makefile
1.4       wiz         6: # used by sysutils/p5-UPS-Nut/Makefile
1.1       ghen        7:
1.6     ! jym         8: BRANCH=                        2.7
        !             9: DISTNAME=              nut-${BRANCH}.4
1.1       ghen       10: CATEGORIES=            sysutils
1.6     ! jym        11: MASTER_SITES=          http://www.networkupstools.org/source/${BRANCH}/
1.1       ghen       12:
                     13: MAINTAINER=            pkgsrc-users@NetBSD.org
                     14: HOMEPAGE=              http://www.networkupstools.org/
                     15:
1.6     ! jym        16: LICENSE=               gnu-gpl-v2 OR gnu-gpl-v3
1.3       bouyer     17:
                     18: NUT_USER?=             nut
                     19: NUT_GROUP?=            nut
                     20:
1.1       ghen       21: DISTINFO_FILE=         ${.CURDIR}/../../sysutils/ups-nut/distinfo
                     22: PATCHDIR=              ${.CURDIR}/../../sysutils/ups-nut/patches
                     23:
1.3       bouyer     24: USE_LIBTOOL=           yes
1.6     ! jym        25: USE_LANGUAGES=         c c++
1.1       ghen       26: GNU_CONFIGURE=         yes
                     27: CONFIGURE_ARGS+=       --sysconfdir=${NUT_CONFDIR:Q}
                     28: CONFIGURE_ARGS+=       --datadir=${NUT_DATADIR:Q}
                     29: CONFIGURE_ARGS+=       --localstatedir=${NUT_STATEDIR:Q}
                     30: CONFIGURE_ARGS+=       --with-statepath=${NUT_STATEDIR:Q}
1.2       ghen       31: CONFIGURE_ARGS+=       --with-htmlpath=${PREFIX:Q}/share/nut/html
1.3       bouyer     32: CONFIGURE_ARGS+=       --with-user=${NUT_USER}
                     33: CONFIGURE_ARGS+=       --with-group=${NUT_GROUP}
1.2       ghen       34:
                     35: CHECK_PORTABILITY_SKIP=        packaging/*
1.1       ghen       36:
                     37: .include "../../mk/bsd.prefs.mk"
                     38:
                     39: PKG_SYSCONFSUBDIR?=    nut
                     40: NUT_CONFDIR=           ${PKG_SYSCONFDIR}
                     41: NUT_DATADIR=           ${PREFIX}/share/nut
                     42: NUT_DOCDIR=            ${PREFIX}/share/doc/nut
                     43: NUT_DRVDIR=            ${PREFIX}/libexec/nut
                     44: NUT_EGDIR=             ${PREFIX}/share/examples/nut
                     45: NUT_STATEDIR?=         ${VARBASE}/db/nut
                     46: NUT_CGIDIR=            ${PREFIX}/libexec/cgi-bin

CVSweb <webmaster@jp.NetBSD.org>