5eba22ab35
libkvm isn't needed, and skill/snice can run without setgid. Tested on 1.3.3, 1.4 and 1.5A, and should work all the way back to NetBSD 0.8. Note: applies for NetBSD only, not Solaris :)
31 lines
803 B
Makefile
31 lines
803 B
Makefile
# $NetBSD: Makefile,v 1.9 2000/06/26 07:54:40 simonb Exp $
|
|
#
|
|
# The version number for skill does not match the @P number.
|
|
# This is normal.
|
|
|
|
DISTNAME= skill-3.7@P8
|
|
PKGNAME= skill-3.7.9
|
|
WRKSRC= ${WRKDIR}/${PKGNAME}
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= ftp://fast.cs.utah.edu/pub/skill/
|
|
EXTRACT_SUFX= _tar.Z
|
|
|
|
MAINTAINER= kim@tac.nyc.ny.us
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
.if ${OPSYS} == "NetBSD"
|
|
MAKE_ENV+= OSTYPE=bsd-44
|
|
.elif ${OPSYS} == "SunOS"
|
|
BINMODE= 02555
|
|
MAKE_ENV+= OSTYPE=sys-5r4 BINGRP=sys CPPFLAGS=
|
|
.endif
|
|
|
|
pre-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/skill ${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/skill.1 ${PREFIX}/man/man1
|
|
${RM} -f ${PREFIX}/bin/snice ${PREFIX}/man/man1/snice.1
|
|
${LN} -s skill ${PREFIX}/bin/snice
|
|
${LN} -s skill.1 ${PREFIX}/man/man1/snice.1
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|