38 lines
931 B
Makefile
38 lines
931 B
Makefile
# $OpenBSD: Makefile,v 1.4 2009/11/11 11:24:31 steven Exp $
|
|
|
|
COMMENT = network traffic monitor and statistics
|
|
DISTNAME = slurm-0.3.3
|
|
PKGNAME = ${DISTNAME}p1
|
|
CATEGORIES = net
|
|
|
|
HOMEPAGE = http://www.wormulon.net/slurm/
|
|
|
|
MAINTAINER = Ryan Freeman <ryan@slipgate.org>
|
|
|
|
# GPLv2+
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
PERMIT_PACKAGE_FTP = Yes
|
|
PERMIT_DISTFILES_CDROM =Yes
|
|
PERMIT_DISTFILES_FTP = Yes
|
|
|
|
WANTLIB = c ncurses
|
|
|
|
MASTER_SITES = ${HOMEPAGE}
|
|
|
|
CONFIGURE_STYLE = gnu
|
|
|
|
pre-configure:
|
|
@${SUBST_CMD} ${WRKSRC}/theme.c ${WRKSRC}/slurm.1
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKBUILD}/slurm ${PREFIX}/bin/
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/slurm/
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/slurm/
|
|
.for i in COPYRIGHT FAQ THANKS COPYING
|
|
${INSTALL_DATA} ${WRKBUILD}/$i ${PREFIX}/share/doc/slurm/
|
|
.endfor
|
|
${INSTALL_DATA} ${WRKBUILD}/themes/*.theme ${PREFIX}/share/slurm/
|
|
${INSTALL_MAN} ${WRKBUILD}/slurm.1 ${PREFIX}/man/man1/
|
|
|
|
.include <bsd.port.mk>
|