c222660538
wouldn't mind seeing other people continue to maintain these packages. Resetting to pkgsrc-users@NetBSD.org
30 lines
959 B
Makefile
30 lines
959 B
Makefile
# $NetBSD: Makefile,v 1.8 2012/11/25 23:32:30 othyro Exp $
|
|
#
|
|
|
|
DISTNAME= shaper_2.2.12-0.7.3.orig
|
|
PKGNAME= shaper-2.2.12
|
|
CATEGORIES= net linux
|
|
MASTER_SITES= ${MASTER_SITE_DEBIAN:=pool/main/s/shaper/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://freshmeat.net/projects/cbq.init
|
|
COMMENT= Bandwidth limiter for Linux
|
|
|
|
WRKSRC= ${WRKDIR}/shaper-2.2.12-0.7.3/shaper/
|
|
|
|
ONLY_FOR_PLATFORM= Linux-*-*
|
|
|
|
RCD_SCRIPTS= shaper
|
|
EGDIR= ${PREFIX}/share/examples/shaper
|
|
CONF_FILES= ${EGDIR}/shaper.conf ${PKG_SYSCONFDIR}/shaper.conf
|
|
|
|
INSTALLATION_DIRS= sbin
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/shapecfg ${DESTDIR}${PREFIX}/sbin/
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/shaper/
|
|
${INSTALL_DATA} ${WRKSRC}/../README.shaper ${DESTDIR}${PREFIX}/share/doc/shaper/
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/examples/shaper/
|
|
${INSTALL_DATA} ${FILESDIR}/shaper.conf ${DESTDIR}${PREFIX}/share/examples/shaper/
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|