2005-04-11 23:44:48 +02:00
|
|
|
# $NetBSD: Makefile,v 1.17 2005/04/11 21:47:22 tv Exp $
|
2001-05-04 13:06:03 +02:00
|
|
|
#
|
|
|
|
|
2003-03-12 17:43:45 +01:00
|
|
|
DISTNAME= bkpupsd-2.1.2
|
2005-01-04 14:37:30 +01:00
|
|
|
PKGREVISION= 4
|
2001-05-04 13:06:03 +02:00
|
|
|
CATEGORIES= sysutils
|
2003-03-12 17:43:45 +01:00
|
|
|
MASTER_SITES= ftp://ftp.jone-system.com/pub/misc/ \
|
2002-12-22 14:06:02 +01:00
|
|
|
ftp://ftp.back-street.net/pub/misc/
|
|
|
|
EXTRACT_SUFX= .tar.bz2
|
2001-05-04 13:06:03 +02:00
|
|
|
|
2003-07-18 00:50:55 +02:00
|
|
|
MAINTAINER= taca@NetBSD.org
|
2003-03-12 17:43:45 +01:00
|
|
|
HOMEPAGE= # not exist
|
2003-07-21 19:24:10 +02:00
|
|
|
COMMENT= Simple UPS daemon for BK-Pro, BK series and FREQUPS F series
|
2001-05-04 13:06:03 +02:00
|
|
|
|
2004-12-14 16:09:03 +01:00
|
|
|
# Original program assumes BSD code base.
|
|
|
|
ONLY_FOR_PLATFORM= NetBSD-*-*
|
|
|
|
|
2003-07-31 13:07:30 +02:00
|
|
|
USE_PKGINSTALL= YES
|
|
|
|
|
2001-05-07 05:28:11 +02:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
2001-12-19 16:37:59 +01:00
|
|
|
DOCDIR= ${PREFIX}/share/doc/bkpupsd
|
2005-01-04 15:13:59 +01:00
|
|
|
MAKE_ENV+= DEFAULT_DEVICE=${DEFAULT_SERIAL_DEVICE} DOCDIR=${DOCDIR} \
|
|
|
|
RCD_SCRIPTS_EXAMPLEDIR=${RCD_SCRIPTS_EXAMPLEDIR}
|
2001-12-19 16:37:59 +01:00
|
|
|
|
2003-07-31 13:07:30 +02:00
|
|
|
MESSAGE_SUBST+= DOCDIR=${DOCDIR}
|
|
|
|
|
|
|
|
EGDIR= ${PREFIX}/share/examples/bkpupsd
|
|
|
|
CONF_FILES= ${EGDIR}/upstab ${PKG_SYSCONFDIR}/upstab
|
|
|
|
|
|
|
|
RCD_SCRIPTS= bkpupsd
|
2001-12-19 16:37:59 +01:00
|
|
|
|
2003-07-31 13:07:30 +02:00
|
|
|
pre-install:
|
|
|
|
${INSTALL_DATA_DIR} ${DOCDIR}
|
|
|
|
${INSTALL_DATA_DIR} ${EGDIR}
|
2001-12-19 16:37:59 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${DOCDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README.ja ${DOCDIR}
|
2001-05-07 05:28:11 +02:00
|
|
|
|
2001-05-04 13:06:03 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|