1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-05 01:55:52 +00:00
freebsd-ports/sysutils/skill/files/patch-aa
Patrick Li 0741cd6a1e Update to 4.1
PR:		37115
Submitted by:	maintainer
2002-04-20 06:30:22 +00:00

41 lines
1.3 KiB
Plaintext

--- Makefile.orig Fri Apr 5 23:53:39 2002
+++ Makefile Sat Apr 20 02:26:08 2002
@@ -55,7 +55,6 @@
DESTDIR=
SHELL= /bin/sh
-PREFIX= /usr/local
# CONFIGURE: Set location of executable, it's group and mode.
BINDIR= ${PREFIX}/bin
@@ -79,7 +78,7 @@
OBJS= main.o argparse.o getproc.o
HDRS= conf.h
-CFLAGS= -O ${COPTS}
+#CFLAGS= -O ${COPTS}
all: skill
@@ -96,18 +95,11 @@
#(SysV) filepriv -d ${DESTDIR}/${BINDIR}/skill
rm -f ${DESTDIR}/${BINDIR}/skill ${DESTDIR}/${MANDIR}/skill.${MANSFX}
rm -f ${DESTDIR}/${BINDIR}/snice ${DESTDIR}/${MANDIR}/snice.${MANSFX}
-# install -c -g ${BINGRP} -m ${BINMOD} -s skill ${DESTDIR}/${BINDIR}
- cp skill ${DESTDIR}/${BINDIR}/skill
- strip ${DESTDIR}/${BINDIR}/skill
- chgrp ${BINGRP} ${DESTDIR}/${BINDIR}/skill
- chmod ${BINMOD} ${DESTDIR}/${BINDIR}/skill
+ ${BSD_INSTALL_PROGRAM} skill ${DESTDIR}/${BINDIR}
ln ${DESTDIR}/${BINDIR}/skill ${DESTDIR}/${BINDIR}/snice
#(SysV) filepriv -f dacread ${DESTDIR}/${BINDIR}/skill
# install -c -m 644 skill.1 ${DESTDIR}/${MANDIR}/skill.${MANSFX}
- cp skill.1 ${DESTDIR}/${MANDIR}/skill.${MANSFX}
- chmod 644 ${DESTDIR}/${MANDIR}/skill.${MANSFX}
- ln ${DESTDIR}/${MANDIR}/skill.${MANSFX}\
- ${DESTDIR}/${MANDIR}/snice.${MANSFX}
+ ${BSD_INSTALL_MAN} skill.1 ${DESTDIR}/${MANDIR}/skill.${MANSFX}
config Config: FRC
./Config