2012-10-23 21:50:50 +02:00
|
|
|
# $NetBSD: Makefile,v 1.31 2012/10/23 19:50:52 asau Exp $
|
2001-05-04 13:06:03 +02:00
|
|
|
#
|
|
|
|
|
2006-09-29 17:16:50 +02:00
|
|
|
DISTNAME= bkpupsd-2.2.1
|
2008-10-22 05:28:22 +02:00
|
|
|
PKGREVISION= 1
|
2001-05-04 13:06:03 +02:00
|
|
|
CATEGORIES= sysutils
|
2007-12-02 12:37:24 +01:00
|
|
|
MASTER_SITES= ftp://ftp.back-street.net/pub/misc/
|
2002-12-22 14:06:02 +01:00
|
|
|
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
|
2006-08-27 18:21:35 +02:00
|
|
|
COMMENT= Simple UPS daemon for BK-Pro, BK and FREQUPS A/F series
|
2001-05-04 13:06:03 +02:00
|
|
|
|
2007-06-16 11:36:04 +02:00
|
|
|
INSTALLATION_DIRS= libexec/bkpupsd sbin ${PKGMANDIR}/cat5 \
|
2007-06-16 07:11:55 +02:00
|
|
|
${PKGMANDIR}/cat8 ${PKGMANDIR}/man5 ${PKGMANDIR}/man8 \
|
|
|
|
share/doc/bkpupsd share/examples/bkpupsd
|
2007-06-07 17:06:03 +02:00
|
|
|
|
2004-12-14 16:09:03 +01:00
|
|
|
# Original program assumes BSD code base.
|
|
|
|
ONLY_FOR_PLATFORM= NetBSD-*-*
|
|
|
|
|
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-12-05 21:49:47 +01:00
|
|
|
MAKE_ENV+= DEFAULT_DEVICE=${DEFAULT_SERIAL_DEVICE:Q} DOCDIR=${DOCDIR:Q} \
|
|
|
|
RCD_SCRIPTS_EXAMPLEDIR=${RCD_SCRIPTS_EXAMPLEDIR:Q}
|
2006-06-18 18:00:41 +02:00
|
|
|
MAKE_ENV+= BINOWN=${BINOWN} BINGRP=${BINGRP}
|
|
|
|
MAKE_ENV+= MANOWN=${MANOWN} MANGRP=${MANGRP}
|
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
|
2007-09-16 12:32:29 +02:00
|
|
|
RCD_SCRIPT_SRC.bkpupsd= # need to avoid automatic handling
|
2001-12-19 16:37:59 +01:00
|
|
|
|
2003-07-31 13:07:30 +02:00
|
|
|
pre-install:
|
2008-10-22 05:28:22 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${DOCDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README.ja ${DESTDIR}${DOCDIR}
|
2001-05-07 05:28:11 +02:00
|
|
|
|
2001-05-04 13:06:03 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|