blob: 23706f8bcd12b258b26f24da8553f09860f49bd6 (
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
|
# New ports collection makefile for: yabm
# Date created: 15 January 2005
# Whom: Fredrik Lindberg <fli@shapeshifter.se>
#
# $FreeBSD$
#
PORTNAME= yabm
PORTVERSION= 0.2.1
PORTREVISION= 1
CATEGORIES= net-mgmt
MASTER_SITES= http://www.shapeshifter.se/code/yabm/release/
MAINTAINER= fli@shapeshifter.se
COMMENT= Yet Another Bandwidth Meter, somewhat resembles the Linux bwbar
LIB_DEPENDS= png.6:${PORTSDIR}/graphics/png
USE_RC_SUBR= yes
RC_SCRIPTS_SUB= PREFIX=${PREFIX} RC_SUBR=/etc/rc.subr
SUB_FILES= pkg-message
post-extract:
@${SED} ${RC_SCRIPTS_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \
${WRKSRC}/scripts/yabm.sh.sample > ${WRKSRC}/scripts/yabm.sh
post-install:
${INSTALL_SCRIPT} ${WRKSRC}/scripts/yabm.sh ${PREFIX}/etc/rc.d/yabm.sh
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
|