blob: 46a1a3309b35a997a9dbaf72d3d008e3cba3ddfb (
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
|
# $NetBSD: Makefile,v 1.1.1.1 2010/03/12 00:13:40 morr Exp $
#
DISTNAME= bsdstats-5.3
CATEGORIES= sysutils misc
MASTER_SITES= # http://www.bsdstats.org/downloads/
DISTFILES= # empty
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.bsdstats.org/
COMMENT= BSD-Stats collector script
DEPENDS+= netcat-[0-9]*:../../net/netcat
PKG_DESTDIR_SUPPORT= user-destdir
# XXX: Others might work
ONLY_FOR_PLATFORM= NetBSD-*-* DragonFly-*-* FreeBSD-*-* OpenBSD-*-*
BUILD_DEFS+= VARBASE
WRKSRC= ${WRKDIR}/bsdstats
NO_BUILD= yes
INSTALLATION_DIRS= bin
post-extract:
${MKDIR} ${WRKDIR}/bsdstats
${SED} -e "s!@PREFIX@!${PREFIX}!g" ${FILESDIR}/300.statistics \
> ${WRKSRC}/300.statistics
do-install:
${INSTALL} ${WRKSRC}/300.statistics ${DESTDIR}${PREFIX}/bin/300.statistics
.include "../../mk/bsd.pkg.mk"
|