diff options
author | bouyer <bouyer@pkgsrc.org> | 2000-01-21 19:15:59 +0000 |
---|---|---|
committer | bouyer <bouyer@pkgsrc.org> | 2000-01-21 19:15:59 +0000 |
commit | 9de579284d31c24edb5728079478618ebe44f3f3 (patch) | |
tree | a0df28a970fa32635bf64137c72568c74f1902c8 /sysutils/apcupsd/Makefile | |
parent | 3bf6037ae5b0aac57c99ea6e74f67060d0ccad7d (diff) | |
download | pkgsrc-9de579284d31c24edb5728079478618ebe44f3f3.tar.gz |
apcupsd, a daemon to manage and monitor APC UPSes.
Diffstat (limited to 'sysutils/apcupsd/Makefile')
-rw-r--r-- | sysutils/apcupsd/Makefile | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/sysutils/apcupsd/Makefile b/sysutils/apcupsd/Makefile new file mode 100644 index 00000000000..674273254a0 --- /dev/null +++ b/sysutils/apcupsd/Makefile @@ -0,0 +1,29 @@ +# $NetBSD: Makefile,v 1.1.1.1 2000/01/21 19:15:59 bouyer Exp $ +# + +DISTNAME= apcupsd-3.5.8.src +PKGNAME= apcupsd-3.5.8 +CATEGORIES= sysutils +MASTER_SITES= ftp://sunsite.unc.edu/pub/linux/system/ups/ + +MAINTAINER= bouyer@netbsd.org +HOMEPAGE= http://www.brisse.dk/site/apcupsd/ + +USE_GMAKE= yes + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/apcupsd-netbsd ${PREFIX}/sbin/apcupsd + ${INSTALL_PROGRAM} ${WRKSRC}/apcaccess-netbsd ${PREFIX}/bin/apcaccess + ${SED} -e 's|@@PREFIX@@|${PREFIX}|' ${WRKSRC}/installs/powersc > \ + ${WRKDIR}/powersc + ${INSTALL_SCRIPT} ${WRKDIR}/powersc ${PREFIX}/sbin/ + ${SED} -e 's|@@PREFIX@@|${PREFIX}|' ${WRKSRC}/installs/apcupsd.conf > \ + ${WRKDIR}/apcupsd.conf.sample + ${INSTALL_DATA} ${WRKDIR}/apcupsd.conf.sample ${PREFIX}/etc/ + @${MKDIR} ${PREFIX}/share/doc/apcupsd + ${INSTALL_DATA} ${WRKSRC}/readmes/README* \ + ${WRKSRC}/readmes/minicom.apcupsd ${PREFIX}/share/doc/apcupsd/ + ${SED} -e 's|@@PREFIX@@|${PREFIX}|' ${WRKSRC}/docs/apcupsd.man8 > \ + ${WRKDIR}/apcupsd.8 + ${INSTALL_MAN} ${WRKDIR}/apcupsd.8 ${PREFIX}/man/man8/ +.include "../../mk/bsd.pkg.mk" |