blob: f5dea40d2e483b4d32875fdacfa192893444cdba (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# $NetBSD: Makefile,v 1.21 2006/08/27 16:21:35 taca Exp $
#
DISTNAME= bkpupsd-2.2.0
CATEGORIES= sysutils
MASTER_SITES= ftp://ftp.SmartField.co.jp/pub/misc/ \
ftp://ftp.back-street.net/pub/misc/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= taca@NetBSD.org
HOMEPAGE= # not exist
COMMENT= Simple UPS daemon for BK-Pro, BK and FREQUPS A/F series
# Original program assumes BSD code base.
ONLY_FOR_PLATFORM= NetBSD-*-*
.include "../../mk/bsd.prefs.mk"
DOCDIR= ${PREFIX}/share/doc/bkpupsd
MAKE_ENV+= DEFAULT_DEVICE=${DEFAULT_SERIAL_DEVICE:Q} DOCDIR=${DOCDIR:Q} \
RCD_SCRIPTS_EXAMPLEDIR=${RCD_SCRIPTS_EXAMPLEDIR:Q}
MAKE_ENV+= BINOWN=${BINOWN} BINGRP=${BINGRP}
MAKE_ENV+= MANOWN=${MANOWN} MANGRP=${MANGRP}
MESSAGE_SUBST+= DOCDIR=${DOCDIR}
EGDIR= ${PREFIX}/share/examples/bkpupsd
CONF_FILES= ${EGDIR}/upstab ${PKG_SYSCONFDIR}/upstab
RCD_SCRIPTS= bkpupsd
pre-install:
${INSTALL_DATA_DIR} ${DOCDIR}
${INSTALL_DATA_DIR} ${EGDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCDIR}
${INSTALL_DATA} ${WRKSRC}/README.ja ${DOCDIR}
.include "../../mk/bsd.pkg.mk"
|