[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.7

1.7     ! jperkin     1: # $NetBSD: Makefile.common,v 1.6 2018/09/21 00:59:53 jym 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.7     ! jperkin     8: DISTNAME=              nut-2.7.4
1.1       ghen        9: CATEGORIES=            sysutils
1.7     ! jperkin    10: MASTER_SITES=          http://www.networkupstools.org/source/${PKGVERSION_NOREV:R}/
1.1       ghen       11:
                     12: MAINTAINER=            pkgsrc-users@NetBSD.org
                     13: HOMEPAGE=              http://www.networkupstools.org/
                     14:
1.6       jym        15: LICENSE=               gnu-gpl-v2 OR gnu-gpl-v3
1.3       bouyer     16:
                     17: NUT_USER?=             nut
                     18: NUT_GROUP?=            nut
                     19:
1.1       ghen       20: DISTINFO_FILE=         ${.CURDIR}/../../sysutils/ups-nut/distinfo
                     21: PATCHDIR=              ${.CURDIR}/../../sysutils/ups-nut/patches
                     22:
1.3       bouyer     23: USE_LIBTOOL=           yes
1.6       jym        24: USE_LANGUAGES=         c c++
1.1       ghen       25: GNU_CONFIGURE=         yes
                     26: CONFIGURE_ARGS+=       --sysconfdir=${NUT_CONFDIR:Q}
                     27: CONFIGURE_ARGS+=       --datadir=${NUT_DATADIR:Q}
                     28: CONFIGURE_ARGS+=       --localstatedir=${NUT_STATEDIR:Q}
                     29: CONFIGURE_ARGS+=       --with-statepath=${NUT_STATEDIR:Q}
1.2       ghen       30: CONFIGURE_ARGS+=       --with-htmlpath=${PREFIX:Q}/share/nut/html
1.3       bouyer     31: CONFIGURE_ARGS+=       --with-user=${NUT_USER}
                     32: CONFIGURE_ARGS+=       --with-group=${NUT_GROUP}
1.2       ghen       33:
                     34: CHECK_PORTABILITY_SKIP=        packaging/*
1.1       ghen       35:
                     36: .include "../../mk/bsd.prefs.mk"
                     37:
                     38: PKG_SYSCONFSUBDIR?=    nut
                     39: NUT_CONFDIR=           ${PKG_SYSCONFDIR}
                     40: NUT_DATADIR=           ${PREFIX}/share/nut
                     41: NUT_DOCDIR=            ${PREFIX}/share/doc/nut
                     42: NUT_DRVDIR=            ${PREFIX}/libexec/nut
                     43: NUT_EGDIR=             ${PREFIX}/share/examples/nut
                     44: NUT_STATEDIR?=         ${VARBASE}/db/nut
                     45: NUT_CGIDIR=            ${PREFIX}/libexec/cgi-bin

CVSweb <webmaster@jp.NetBSD.org>