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

Annotation of pkgsrc/sysutils/apcupsd/Makefile, Revision 1.17

1.17    ! wiz         1: # $NetBSD: Makefile,v 1.16 2002/10/02 22:20:49 dillo Exp $
1.1       bouyer      2:
1.2       jlam        3: DISTNAME=              apcupsd-3.6.2
                      4: CATEGORIES=            sysutils
1.3       wiz         5: MASTER_SITES=          ftp://ftp.oasi.gpa.it/pub/apcupsd/stable/tar/
1.2       jlam        6:
                      7: MAINTAINER=            bouyer@netbsd.org
1.3       wiz         8: HOMEPAGE=              http://www.sibbald.com/apcupsd/
1.7       wiz         9: COMMENT=               UPS power management for APCC Products
1.2       jlam       10:
1.8       hubertf    11: BUILD_USES_MSGFMT=     yes
1.2       jlam       12:
1.17    ! wiz        13: USE_BUILDLINK2=                # defined
1.2       jlam       14: USE_GMAKE=             # defined
                     15:
                     16: GNU_CONFIGURE=         # defined
                     17:
1.13      lukem      18: # Thread support is needed to for http support, and to compile powerflute,
                     19: # which has a curses interface
1.2       jlam       20: #
1.13      lukem      21: #CONFIGURE_ARGS+=      --enable-http           # include http support
1.17    ! wiz        22: #.include "../../devel/ncurses/buildlink2.mk"
1.2       jlam       23: #CONFIGURE_ARGS+=      --enable-threads        # compile threading code
                     24: #CONFIGURE_ARGS+=      --enable-powerflute     # compile powerflute program
                     25:
                     26: CONFIGURE_ARGS+=       --with-catgets          # use catgets functions
                     27: CONFIGURE_ARGS+=       --enable-nls            # i18n support
                     28:
                     29: # we should probably allow the tty to be set in /etc/mk.conf too
                     30: #
                     31: post-build:
                     32:        ${SED} -e 's|@@PREFIX@@|${PREFIX}|' ${WRKSRC}/examples/apcupsd.conf > \
                     33:                ${WRKDIR}/apcupsd.conf
                     34:        ${SED} -e 's|@@PREFIX@@|${PREFIX}|' ${FILESDIR}/apcupsd > \
                     35:                ${WRKDIR}/apcupsd
                     36:        ${SED} -e 's|@@PREFIX@@|${PREFIX}|' ${WRKSRC}/doc/apcupsd.man > \
                     37:                ${WRKSRC}/doc/apcupsd.8
                     38:
                     39: DOCS=  README.BackUPS-Pro      \
                     40:        README.NEW              \
                     41:        README.NewerBackUPS-Pro \
                     42:        README.Share-UPS        \
                     43:        README.SmartUPS-VS      \
                     44:        README.apcaccess        \
                     45:        README.autoconfig       \
                     46:        README.cable            \
                     47:        README.developers       \
                     48:        Statement.APCC          \
                     49:        minicom.apcupsd         \
                     50:        port.gif
                     51:
                     52: post-install:
                     53:        ${INSTALL_DATA_DIR} ${PREFIX}/share/examples
                     54:        ${INSTALL_DATA} ${WRKDIR}/apcupsd.conf ${PREFIX}/share/examples
                     55:        ${INSTALL_SCRIPT} ${WRKDIR}/apcupsd ${PREFIX}/etc/rc.d
                     56:        ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/apcupsd
                     57: .for file in ${DOCS}
                     58:        ${INSTALL_DATA} ${WRKSRC}/doc/${file} ${PREFIX}/share/doc/apcupsd
                     59: .endfor
                     60:
1.17    ! wiz        61: .include "../../devel/gettext-lib/buildlink2.mk"
1.1       bouyer     62: .include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>