diff options
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/9base/DESCR | 6 | ||||
-rw-r--r-- | sysutils/9base/Makefile | 25 | ||||
-rw-r--r-- | sysutils/9base/PLIST | 34 | ||||
-rw-r--r-- | sysutils/9base/distinfo | 23 | ||||
-rw-r--r-- | sysutils/9base/patches/patch-aa | 26 | ||||
-rw-r--r-- | sysutils/9base/patches/patch-ab | 13 | ||||
-rw-r--r-- | sysutils/9base/patches/patch-ac | 26 | ||||
-rw-r--r-- | sysutils/9base/patches/patch-ad | 21 | ||||
-rw-r--r-- | sysutils/9base/patches/patch-ae | 21 | ||||
-rw-r--r-- | sysutils/9base/patches/patch-af | 21 | ||||
-rw-r--r-- | sysutils/9base/patches/patch-ag | 21 | ||||
-rw-r--r-- | sysutils/9base/patches/patch-ah | 21 | ||||
-rw-r--r-- | sysutils/9base/patches/patch-ai | 21 | ||||
-rw-r--r-- | sysutils/9base/patches/patch-aj | 21 | ||||
-rw-r--r-- | sysutils/9base/patches/patch-ak | 21 | ||||
-rw-r--r-- | sysutils/9base/patches/patch-al | 21 | ||||
-rw-r--r-- | sysutils/9base/patches/patch-am | 21 | ||||
-rw-r--r-- | sysutils/9base/patches/patch-an | 21 | ||||
-rw-r--r-- | sysutils/9base/patches/patch-ao | 21 | ||||
-rw-r--r-- | sysutils/9base/patches/patch-ap | 21 | ||||
-rw-r--r-- | sysutils/9base/patches/patch-aq | 21 | ||||
-rw-r--r-- | sysutils/9base/patches/patch-ar | 21 |
22 files changed, 468 insertions, 0 deletions
diff --git a/sysutils/9base/DESCR b/sysutils/9base/DESCR new file mode 100644 index 00000000000..3b547acaee4 --- /dev/null +++ b/sysutils/9base/DESCR @@ -0,0 +1,6 @@ +This is a port of various original plan9 tools to Unix based on +plan9ports [1], mk-with-libs.tgz [2] and wmii [3]. + +[1] http://www.swtch.com/plan9port/ +[2] http://swtch.com/plan9port/unix/ +[3] http://www.wmii.net diff --git a/sysutils/9base/Makefile b/sysutils/9base/Makefile new file mode 100644 index 00000000000..01d8cb9e7b0 --- /dev/null +++ b/sysutils/9base/Makefile @@ -0,0 +1,25 @@ +# $NetBSD: Makefile,v 1.1.1.1 2005/10/29 16:04:38 minskim Exp $ +# + +DISTNAME= 9base-20051028 +CATEGORIES= sysutils shells +MASTER_SITES= http://wmii.de/snaps/ + +MAINTAINER= lems@gmx.net +HOMEPAGE= http://wmii.de/ +COMMENT= Port of various original plan9 tools + +CONFLICTS= rc-[0-9]* + +USE_PKGINSTALL= yes +PKG_SHELL= bin/rc + +.include "../../mk/bsd.prefs.mk" + +.if ${GNU_PROGRAM_PREFIX} == "" +CONFLICTS+= coreutils-[0-9]* +CONFLICTS+= grep-[0-9]* +CONFLICTS+= gsed-[0-9]* +.endif + +.include "../../mk/bsd.pkg.mk" diff --git a/sysutils/9base/PLIST b/sysutils/9base/PLIST new file mode 100644 index 00000000000..5e5c36e4107 --- /dev/null +++ b/sysutils/9base/PLIST @@ -0,0 +1,34 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2005/10/29 16:04:38 minskim Exp $ +bin/awk +bin/basename +bin/cat +bin/cleanname +bin/echo +bin/grep +bin/rc +bin/sed +bin/seq +bin/sleep +bin/sort +bin/tee +bin/test +bin/touch +bin/tr +bin/uniq +lib/rcmain +man/man1/awk.1 +man/man1/basename.1 +man/man1/cat.1 +man/man1/cleanname.1 +man/man1/echo.1 +man/man1/grep.1 +man/man1/rc.1 +man/man1/sed.1 +man/man1/seq.1 +man/man1/sleep.1 +man/man1/sort.1 +man/man1/tee.1 +man/man1/test.1 +man/man1/touch.1 +man/man1/tr.1 +man/man1/uniq.1 diff --git a/sysutils/9base/distinfo b/sysutils/9base/distinfo new file mode 100644 index 00000000000..424cddf218b --- /dev/null +++ b/sysutils/9base/distinfo @@ -0,0 +1,23 @@ +$NetBSD: distinfo,v 1.1.1.1 2005/10/29 16:04:38 minskim Exp $ + +SHA1 (9base-20051028.tar.gz) = 852725d9047b78912e788d4437f4062c9652b7d7 +RMD160 (9base-20051028.tar.gz) = 5fc10ee56d339320617949a2947645d821fdfd62 +Size (9base-20051028.tar.gz) = 218077 bytes +SHA1 (patch-aa) = 62e63e9045a18208ffc9e607df30b35e2825db6a +SHA1 (patch-ab) = f42ba9c8825b9898ce0278f1c7db2fdacce58af8 +SHA1 (patch-ac) = 4f8b1476e73a2517b1de193b3cf640bda4d16a82 +SHA1 (patch-ad) = 59109d872d40a63163b37e76d5b0b76515d17f5a +SHA1 (patch-ae) = d0fedcd2fc6e689020d8791f53744d85339be91c +SHA1 (patch-af) = 4c06e44b4e351f1ad4c781afbedd7b2c5e9427e8 +SHA1 (patch-ag) = 254dc9517dbb48c6047cfc504b4ef64fa97e3b18 +SHA1 (patch-ah) = 0598d123ecd680ceec8d01c501237a6d371e9a94 +SHA1 (patch-ai) = 014db6ae8aab5c5c86fb7cc60e498f0f8afbb390 +SHA1 (patch-aj) = 4a4a934aa96283cb5dbc4108551f8c80793c1c3a +SHA1 (patch-ak) = f0a3215be3141d104fd0e8d199c849b1f5a69317 +SHA1 (patch-al) = 482bd6c7af9a6ce6453818df3831a1de8e481b92 +SHA1 (patch-am) = 7f2deafef23e55a1e793674d53602c5f8a04955d +SHA1 (patch-an) = 3eca6202e34dae9303edf8c5140b3d2ff3557d91 +SHA1 (patch-ao) = 7936547140cc7e9cdcd5dbadd9fef9267705d923 +SHA1 (patch-ap) = 6669724caa674d62abf3b98e86581fa25232d57f +SHA1 (patch-aq) = 7e70edd4ee046119fda9e0cc5cdecccbcb424d04 +SHA1 (patch-ar) = 17aa0d4e877af1b99bb83cbe95625ca436b19931 diff --git a/sysutils/9base/patches/patch-aa b/sysutils/9base/patches/patch-aa new file mode 100644 index 00000000000..e43acc33f1c --- /dev/null +++ b/sysutils/9base/patches/patch-aa @@ -0,0 +1,26 @@ +$NetBSD: patch-aa,v 1.1.1.1 2005/10/29 16:04:38 minskim Exp $ + +--- config.mk.orig 2005-10-28 18:59:21.000000000 +0000 ++++ config.mk +@@ -1,16 +1,16 @@ + # Customize to fit your system + + # paths +-PREFIX = /usr/local/9 +-MANPREFIX = ${PREFIX}/share/man ++#PREFIX = /usr/local/9 ++MANPREFIX = ${PREFIX}/man + + # flags + VERSION = 20051028 +-CFLAGS = -Wall -Wno-missing-braces -Wno-parentheses -Wno-switch -Os -c -I. -DPREFIX="\"${PREFIX}\"" +-LDFLAGS = ++CFLAGS += -c -I. -DPREFIX="\"${PREFIX}\"" ++LDFLAGS += + O = o + + # compiler + AR = ar rc +-CC = cc ++#CC = cc + YACC = yacc diff --git a/sysutils/9base/patches/patch-ab b/sysutils/9base/patches/patch-ab new file mode 100644 index 00000000000..4663284c03a --- /dev/null +++ b/sysutils/9base/patches/patch-ab @@ -0,0 +1,13 @@ +$NetBSD: patch-ab,v 1.1.1.1 2005/10/29 16:04:38 minskim Exp $ + +--- lib9/libc.h.orig 2005-08-23 21:38:52.000000000 +0000 ++++ lib9/libc.h +@@ -832,7 +832,7 @@ extern int post9pservice(int, char*); + # endif + #endif + +-#if defined(__OpenBSD__) ++#if defined(__OpenBSD__) || defined(__NetBSD__) + #define sched_yield() \ + do { \ + struct timespec ts; \ diff --git a/sysutils/9base/patches/patch-ac b/sysutils/9base/patches/patch-ac new file mode 100644 index 00000000000..085cc1e6d18 --- /dev/null +++ b/sysutils/9base/patches/patch-ac @@ -0,0 +1,26 @@ +$NetBSD: patch-ac,v 1.1.1.1 2005/10/29 16:04:38 minskim Exp $ + +--- rc/Makefile.orig 2005-10-17 12:08:07.000000000 +0000 ++++ rc/Makefile +@@ -30,15 +30,12 @@ depend: + @${YACC} -d ${YFILES} + + install: ${TARG} +- @mkdir -p ${DESTDIR}${PREFIX}/bin +- @cp -f ${TARG} ${DESTDIR}${PREFIX}/bin/ +- @chmod 755 ${DESTDIR}${PREFIX}/bin/${TARG} +- @mkdir -p ${DESTDIR}${PREFIX}/lib +- @cp -f ${RCMAIN} ${DESTDIR}${PREFIX}/lib +- @chmod 755 ${DESTDIR}${PREFIX}/lib/${RCMAIN} +- @mkdir -p ${DESTDIR}${MANPREFIX}/man1 +- @cp -f ${MANFILES} ${DESTDIR}${MANPREFIX}/man1 +- @chmod 444 ${DESTDIR}${MANPREFIX}/man1/${MANFILES} ++ @${BSD_INSTALL_PROGRAM_DIR} ${DESTDIR}${PREFIX}/bin ++ @${BSD_INSTALL_PROGRAM} ${TARG} ${DESTDIR}${PREFIX}/bin/ ++ @${BSD_INSTALL_LIB_DIR} ${DESTDIR}${PREFIX}/lib ++ @${BSD_INSTALL_LIB} ${RCMAIN} ${DESTDIR}${PREFIX}/lib ++ @${BSD_INSTALL_MAN_DIR} ${DESTDIR}${MANPREFIX}/man1 ++ @${BSD_INSTALL_MAN} ${MANFILES} ${DESTDIR}${MANPREFIX}/man1 + + uninstall: + @rm -f ${DESTDIR}${PREFIX}/bin/${TARG} diff --git a/sysutils/9base/patches/patch-ad b/sysutils/9base/patches/patch-ad new file mode 100644 index 00000000000..56cda79ef42 --- /dev/null +++ b/sysutils/9base/patches/patch-ad @@ -0,0 +1,21 @@ +$NetBSD: patch-ad,v 1.1.1.1 2005/10/29 16:04:38 minskim Exp $ + +--- basename/Makefile.orig 2005-10-17 12:08:07.000000000 +0000 ++++ basename/Makefile +@@ -12,12 +12,10 @@ MANFILES = basename.1 + all: ${TARG} + + install: ${TARG} +- @mkdir -p ${DESTDIR}${PREFIX}/bin +- @cp -f ${TARG} ${DESTDIR}${PREFIX}/bin/ +- @chmod 755 ${DESTDIR}${PREFIX}/bin/${TARG} +- @mkdir -p ${DESTDIR}${MANPREFIX}/man1 +- @cp -f ${MANFILES} ${DESTDIR}${MANPREFIX}/man1 +- @chmod 444 ${DESTDIR}${MANPREFIX}/man1/${MANFILES} ++ @${BSD_INSTALL_PROGRAM_DIR} ${DESTDIR}${PREFIX}/bin ++ @${BSD_INSTALL_PROGRAM} ${TARG} ${DESTDIR}${PREFIX}/bin/ ++ @${BSD_INSTALL_MAN_DIR} ${DESTDIR}${MANPREFIX}/man1 ++ @${BSD_INSTALL_MAN} ${MANFILES} ${DESTDIR}${MANPREFIX}/man1 + + uninstall: + @rm -f ${DESTDIR}${PREFIX}/bin/${TARG} diff --git a/sysutils/9base/patches/patch-ae b/sysutils/9base/patches/patch-ae new file mode 100644 index 00000000000..6df9e07a975 --- /dev/null +++ b/sysutils/9base/patches/patch-ae @@ -0,0 +1,21 @@ +$NetBSD: patch-ae,v 1.1.1.1 2005/10/29 16:04:38 minskim Exp $ + +--- cat/Makefile.orig 2005-10-17 12:08:07.000000000 +0000 ++++ cat/Makefile +@@ -12,12 +12,10 @@ MANFILES = cat.1 + all: ${TARG} + + install: ${TARG} +- @mkdir -p ${DESTDIR}${PREFIX}/bin +- @cp -f ${TARG} ${DESTDIR}${PREFIX}/bin/ +- @chmod 755 ${DESTDIR}${PREFIX}/bin/${TARG} +- @mkdir -p ${DESTDIR}${MANPREFIX}/man1 +- @cp -f ${MANFILES} ${DESTDIR}${MANPREFIX}/man1 +- @chmod 444 ${DESTDIR}${MANPREFIX}/man1/${MANFILES} ++ @${BSD_INSTALL_PROGRAM_DIR} ${DESTDIR}${PREFIX}/bin ++ @${BSD_INSTALL_PROGRAM} ${TARG} ${DESTDIR}${PREFIX}/bin/ ++ @${BSD_INSTALL_MAN_DIR} ${DESTDIR}${MANPREFIX}/man1 ++ @${BSD_INSTALL_MAN} ${MANFILES} ${DESTDIR}${MANPREFIX}/man1 + + uninstall: + @rm -f ${DESTDIR}${PREFIX}/bin/${TARG} diff --git a/sysutils/9base/patches/patch-af b/sysutils/9base/patches/patch-af new file mode 100644 index 00000000000..c15acee9071 --- /dev/null +++ b/sysutils/9base/patches/patch-af @@ -0,0 +1,21 @@ +$NetBSD: patch-af,v 1.1.1.1 2005/10/29 16:04:38 minskim Exp $ + +--- cleanname/Makefile.orig 2005-10-17 12:08:07.000000000 +0000 ++++ cleanname/Makefile +@@ -12,12 +12,10 @@ MANFILES = cleanname.1 + all: ${TARG} + + install: ${TARG} +- @mkdir -p ${DESTDIR}${PREFIX}/bin +- @cp -f ${TARG} ${DESTDIR}${PREFIX}/bin/ +- @chmod 755 ${DESTDIR}${PREFIX}/bin/${TARG} +- @mkdir -p ${DESTDIR}${MANPREFIX}/man1 +- @cp -f ${MANFILES} ${DESTDIR}${MANPREFIX}/man1 +- @chmod 444 ${DESTDIR}${MANPREFIX}/man1/${MANFILES} ++ @${BSD_INSTALL_PROGRAM_DIR} ${DESTDIR}${PREFIX}/bin ++ @${BSD_INSTALL_PROGRAM} ${TARG} ${DESTDIR}${PREFIX}/bin/ ++ @${BSD_INSTALL_MAN_DIR} ${DESTDIR}${MANPREFIX}/man1 ++ @${BSD_INSTALL_MAN} ${MANFILES} ${DESTDIR}${MANPREFIX}/man1 + + uninstall: + @rm -f ${DESTDIR}${PREFIX}/bin/${TARG} diff --git a/sysutils/9base/patches/patch-ag b/sysutils/9base/patches/patch-ag new file mode 100644 index 00000000000..9e5374914bd --- /dev/null +++ b/sysutils/9base/patches/patch-ag @@ -0,0 +1,21 @@ +$NetBSD: patch-ag,v 1.1.1.1 2005/10/29 16:04:38 minskim Exp $ + +--- echo/Makefile.orig 2005-10-17 12:08:07.000000000 +0000 ++++ echo/Makefile +@@ -12,12 +12,10 @@ MANFILES = echo.1 + all: ${TARG} + + install: ${TARG} +- @mkdir -p ${DESTDIR}${PREFIX}/bin +- @cp -f ${TARG} ${DESTDIR}${PREFIX}/bin/ +- @chmod 755 ${DESTDIR}${PREFIX}/bin/${TARG} +- @mkdir -p ${DESTDIR}${MANPREFIX}/man1 +- @cp -f ${MANFILES} ${DESTDIR}${MANPREFIX}/man1 +- @chmod 444 ${DESTDIR}${MANPREFIX}/man1/${MANFILES} ++ @${BSD_INSTALL_PROGRAM_DIR} ${DESTDIR}${PREFIX}/bin ++ @${BSD_INSTALL_PROGRAM} ${TARG} ${DESTDIR}${PREFIX}/bin/ ++ @${BSD_INSTALL_MAN_DIR} ${DESTDIR}${MANPREFIX}/man1 ++ @${BSD_INSTALL_MAN} ${MANFILES} ${DESTDIR}${MANPREFIX}/man1 + + uninstall: + @rm -f ${DESTDIR}${PREFIX}/bin/${TARG} diff --git a/sysutils/9base/patches/patch-ah b/sysutils/9base/patches/patch-ah new file mode 100644 index 00000000000..0efacb57cb1 --- /dev/null +++ b/sysutils/9base/patches/patch-ah @@ -0,0 +1,21 @@ +$NetBSD: patch-ah,v 1.1.1.1 2005/10/29 16:04:38 minskim Exp $ + +--- grep/Makefile.orig 2005-10-17 12:08:07.000000000 +0000 ++++ grep/Makefile +@@ -26,12 +26,10 @@ depend: + @${YACC} -d ${YFILES} + + install: ${TARG} +- @mkdir -p ${DESTDIR}${PREFIX}/bin +- @cp -f ${TARG} ${DESTDIR}${PREFIX}/bin/ +- @chmod 755 ${DESTDIR}${PREFIX}/bin/${TARG} +- @mkdir -p ${DESTDIR}${MANPREFIX}/man1 +- @cp -f ${MANFILES} ${DESTDIR}${MANPREFIX}/man1 +- @chmod 444 ${DESTDIR}${MANPREFIX}/man1/${MANFILES} ++ @${BSD_INSTALL_PROGRAM_DIR} ${DESTDIR}${PREFIX}/bin ++ @${BSD_INSTALL_PROGRAM} ${TARG} ${DESTDIR}${PREFIX}/bin/ ++ @${BSD_INSTALL_MAN_DIR} ${DESTDIR}${MANPREFIX}/man1 ++ @${BSD_INSTALL_MAN} ${MANFILES} ${DESTDIR}${MANPREFIX}/man1 + + uninstall: + @rm -f ${DESTDIR}${PREFIX}/bin/${TARG} diff --git a/sysutils/9base/patches/patch-ai b/sysutils/9base/patches/patch-ai new file mode 100644 index 00000000000..368edf8b895 --- /dev/null +++ b/sysutils/9base/patches/patch-ai @@ -0,0 +1,21 @@ +$NetBSD: patch-ai,v 1.1.1.1 2005/10/29 16:04:38 minskim Exp $ + +--- sed/Makefile.orig 2005-10-17 12:08:07.000000000 +0000 ++++ sed/Makefile +@@ -12,12 +12,10 @@ MANFILES = sed.1 + all: ${TARG} + + install: ${TARG} +- @mkdir -p ${DESTDIR}${PREFIX}/bin +- @cp -f ${TARG} ${DESTDIR}${PREFIX}/bin/ +- @chmod 755 ${DESTDIR}${PREFIX}/bin/${TARG} +- @mkdir -p ${DESTDIR}${MANPREFIX}/man1 +- @cp -f ${MANFILES} ${DESTDIR}${MANPREFIX}/man1 +- @chmod 444 ${DESTDIR}${MANPREFIX}/man1/${MANFILES} ++ @${BSD_INSTALL_PROGRAM_DIR} ${DESTDIR}${PREFIX}/bin ++ @${BSD_INSTALL_PROGRAM} ${TARG} ${DESTDIR}${PREFIX}/bin/ ++ @${BSD_INSTALL_MAN_DIR} ${DESTDIR}${MANPREFIX}/man1 ++ @${BSD_INSTALL_MAN} ${MANFILES} ${DESTDIR}${MANPREFIX}/man1 + + uninstall: + @rm -f ${DESTDIR}${PREFIX}/bin/${TARG} diff --git a/sysutils/9base/patches/patch-aj b/sysutils/9base/patches/patch-aj new file mode 100644 index 00000000000..571a17ff813 --- /dev/null +++ b/sysutils/9base/patches/patch-aj @@ -0,0 +1,21 @@ +$NetBSD: patch-aj,v 1.1.1.1 2005/10/29 16:04:38 minskim Exp $ + +--- seq/Makefile.orig 2005-10-17 12:08:07.000000000 +0000 ++++ seq/Makefile +@@ -12,12 +12,10 @@ MANFILES = seq.1 + all: ${TARG} + + install: ${TARG} +- @mkdir -p ${DESTDIR}${PREFIX}/bin +- @cp -f ${TARG} ${DESTDIR}${PREFIX}/bin/ +- @chmod 755 ${DESTDIR}${PREFIX}/bin/${TARG} +- @mkdir -p ${DESTDIR}${MANPREFIX}/man1 +- @cp -f ${MANFILES} ${DESTDIR}${MANPREFIX}/man1 +- @chmod 444 ${DESTDIR}${MANPREFIX}/man1/${MANFILES} ++ @${BSD_INSTALL_PROGRAM_DIR} ${DESTDIR}${PREFIX}/bin ++ @${BSD_INSTALL_PROGRAM} ${TARG} ${DESTDIR}${PREFIX}/bin/ ++ @${BSD_INSTALL_MAN_DIR} ${DESTDIR}${MANPREFIX}/man1 ++ @${BSD_INSTALL_MAN} ${MANFILES} ${DESTDIR}${MANPREFIX}/man1 + + uninstall: + @rm -f ${DESTDIR}${PREFIX}/bin/${TARG} diff --git a/sysutils/9base/patches/patch-ak b/sysutils/9base/patches/patch-ak new file mode 100644 index 00000000000..af66f2f9747 --- /dev/null +++ b/sysutils/9base/patches/patch-ak @@ -0,0 +1,21 @@ +$NetBSD: patch-ak,v 1.1.1.1 2005/10/29 16:04:38 minskim Exp $ + +--- sleep/Makefile.orig 2005-10-17 12:08:07.000000000 +0000 ++++ sleep/Makefile +@@ -12,12 +12,10 @@ MANFILES = sleep.1 + all: ${TARG} + + install: ${TARG} +- @mkdir -p ${DESTDIR}${PREFIX}/bin +- @cp -f ${TARG} ${DESTDIR}${PREFIX}/bin/ +- @chmod 755 ${DESTDIR}${PREFIX}/bin/${TARG} +- @mkdir -p ${DESTDIR}${MANPREFIX}/man1 +- @cp ${MANFILES} ${DESTDIR}${MANPREFIX}/man1 +- @chmod 444 ${DESTDIR}${MANPREFIX}/man1/${MANFILES} ++ @${BSD_INSTALL_PROGRAM_DIR} ${DESTDIR}${PREFIX}/bin ++ @${BSD_INSTALL_PROGRAM} ${TARG} ${DESTDIR}${PREFIX}/bin/ ++ @${BSD_INSTALL_MAN_DIR} ${DESTDIR}${MANPREFIX}/man1 ++ @${BSD_INSTALL_MAN} ${MANFILES} ${DESTDIR}${MANPREFIX}/man1 + + uninstall: + @rm -f ${DESTDIR}${PREFIX}/bin/${TARG} diff --git a/sysutils/9base/patches/patch-al b/sysutils/9base/patches/patch-al new file mode 100644 index 00000000000..6812693a380 --- /dev/null +++ b/sysutils/9base/patches/patch-al @@ -0,0 +1,21 @@ +$NetBSD: patch-al,v 1.1.1.1 2005/10/29 16:04:38 minskim Exp $ + +--- sort/Makefile.orig 2005-10-17 12:08:07.000000000 +0000 ++++ sort/Makefile +@@ -12,12 +12,10 @@ MANFILES = sort.1 + all: ${TARG} + + install: ${TARG} +- @mkdir -p ${DESTDIR}${PREFIX}/bin +- @cp -f ${TARG} ${DESTDIR}${PREFIX}/bin/ +- @chmod 755 ${DESTDIR}${PREFIX}/bin/${TARG} +- @mkdir -p ${DESTDIR}${MANPREFIX}/man1 +- @cp -f ${MANFILES} ${DESTDIR}${MANPREFIX}/man1 +- @chmod 444 ${DESTDIR}${MANPREFIX}/man1/${MANFILES} ++ @${BSD_INSTALL_PROGRAM_DIR} ${DESTDIR}${PREFIX}/bin ++ @${BSD_INSTALL_PROGRAM} ${TARG} ${DESTDIR}${PREFIX}/bin/ ++ @${BSD_INSTALL_MAN_DIR} ${DESTDIR}${MANPREFIX}/man1 ++ @${BSD_INSTALL_MAN} ${MANFILES} ${DESTDIR}${MANPREFIX}/man1 + + uninstall: + @rm -f ${DESTDIR}${PREFIX}/bin/${TARG} diff --git a/sysutils/9base/patches/patch-am b/sysutils/9base/patches/patch-am new file mode 100644 index 00000000000..2eada85c3e9 --- /dev/null +++ b/sysutils/9base/patches/patch-am @@ -0,0 +1,21 @@ +$NetBSD: patch-am,v 1.1.1.1 2005/10/29 16:04:38 minskim Exp $ + +--- tee/Makefile.orig 2005-10-17 12:08:07.000000000 +0000 ++++ tee/Makefile +@@ -12,12 +12,10 @@ MANFILES = tee.1 + all: ${TARG} + + install: ${TARG} +- @mkdir -p ${DESTDIR}${PREFIX}/bin +- @cp -f ${TARG} ${DESTDIR}${PREFIX}/bin/ +- @chmod 755 ${DESTDIR}${PREFIX}/bin/${TARG} +- @mkdir -p ${DESTDIR}${MANPREFIX}/man1 +- @cp -f ${MANFILES} ${DESTDIR}${MANPREFIX}/man1 +- @chmod 444 ${DESTDIR}${MANPREFIX}/man1/${MANFILES} ++ @${BSD_INSTALL_PROGRAM_DIR} ${DESTDIR}${PREFIX}/bin ++ @${BSD_INSTALL_PROGRAM} ${TARG} ${DESTDIR}${PREFIX}/bin/ ++ @${BSD_INSTALL_MAN_DIR} ${DESTDIR}${MANPREFIX}/man1 ++ @${BSD_INSTALL_MAN} ${MANFILES} ${DESTDIR}${MANPREFIX}/man1 + + uninstall: + @rm -f ${DESTDIR}${PREFIX}/bin/${TARG} diff --git a/sysutils/9base/patches/patch-an b/sysutils/9base/patches/patch-an new file mode 100644 index 00000000000..d43982bb191 --- /dev/null +++ b/sysutils/9base/patches/patch-an @@ -0,0 +1,21 @@ +$NetBSD: patch-an,v 1.1.1.1 2005/10/29 16:04:38 minskim Exp $ + +--- test/Makefile.orig 2005-10-17 12:08:07.000000000 +0000 ++++ test/Makefile +@@ -12,12 +12,10 @@ MANFILES = test.1 + all: ${TARG} + + install: ${TARG} +- @mkdir -p ${DESTDIR}${PREFIX}/bin +- @cp -f ${TARG} ${DESTDIR}${PREFIX}/bin/ +- @chmod 755 ${DESTDIR}${PREFIX}/bin/${TARG} +- @mkdir -p ${DESTDIR}${MANPREFIX}/man1 +- @cp -f ${MANFILES} ${DESTDIR}${MANPREFIX}/man1 +- @chmod 444 ${DESTDIR}${MANPREFIX}/man1/${MANFILES} ++ @${BSD_INSTALL_PROGRAM_DIR} ${DESTDIR}${PREFIX}/bin ++ @${BSD_INSTALL_PROGRAM} ${TARG} ${DESTDIR}${PREFIX}/bin/ ++ @${BSD_INSTALL_MAN_DIR} ${DESTDIR}${MANPREFIX}/man1 ++ @${BSD_INSTALL_MAN} ${MANFILES} ${DESTDIR}${MANPREFIX}/man1 + + uninstall: + @rm -f ${DESTDIR}${PREFIX}/bin/${TARG} diff --git a/sysutils/9base/patches/patch-ao b/sysutils/9base/patches/patch-ao new file mode 100644 index 00000000000..22663ecd95d --- /dev/null +++ b/sysutils/9base/patches/patch-ao @@ -0,0 +1,21 @@ +$NetBSD: patch-ao,v 1.1.1.1 2005/10/29 16:04:38 minskim Exp $ + +--- touch/Makefile.orig 2005-10-17 12:08:07.000000000 +0000 ++++ touch/Makefile +@@ -12,12 +12,10 @@ MANFILES = touch.1 + all: ${TARG} + + install: ${TARG} +- @mkdir -p ${DESTDIR}${PREFIX}/bin +- @cp -f ${TARG} ${DESTDIR}${PREFIX}/bin/ +- @chmod 755 ${DESTDIR}${PREFIX}/bin/${TARG} +- @mkdir -p ${DESTDIR}${MANPREFIX}/man1 +- @cp -f ${MANFILES} ${DESTDIR}${MANPREFIX}/man1 +- @chmod 444 ${DESTDIR}${MANPREFIX}/man1/${MANFILES} ++ @${BSD_INSTALL_PROGRAM_DIR} ${DESTDIR}${PREFIX}/bin ++ @${BSD_INSTALL_PROGRAM} ${TARG} ${DESTDIR}${PREFIX}/bin/ ++ @${BSD_INSTALL_MAN_DIR} ${DESTDIR}${MANPREFIX}/man1 ++ @${BSD_INSTALL_MAN} ${MANFILES} ${DESTDIR}${MANPREFIX}/man1 + + uninstall: + @rm -f ${DESTDIR}${PREFIX}/bin/${TARG} diff --git a/sysutils/9base/patches/patch-ap b/sysutils/9base/patches/patch-ap new file mode 100644 index 00000000000..813394e31c8 --- /dev/null +++ b/sysutils/9base/patches/patch-ap @@ -0,0 +1,21 @@ +$NetBSD: patch-ap,v 1.1.1.1 2005/10/29 16:04:38 minskim Exp $ + +--- tr/Makefile.orig 2005-10-17 12:08:07.000000000 +0000 ++++ tr/Makefile +@@ -12,12 +12,10 @@ MANFILES = tr.1 + all: ${TARG} + + install: ${TARG} +- @mkdir -p ${DESTDIR}${PREFIX}/bin +- @cp -f ${TARG} ${DESTDIR}${PREFIX}/bin/ +- @chmod 755 ${DESTDIR}${PREFIX}/bin/${TARG} +- @mkdir -p ${DESTDIR}${MANPREFIX}/man1 +- @cp -f ${MANFILES} ${DESTDIR}${MANPREFIX}/man1 +- @chmod 444 ${DESTDIR}${MANPREFIX}/man1/${MANFILES} ++ @${BSD_INSTALL_PROGRAM_DIR} ${DESTDIR}${PREFIX}/bin ++ @${BSD_INSTALL_PROGRAM} ${TARG} ${DESTDIR}${PREFIX}/bin/ ++ @${BSD_INSTALL_MAN_DIR} ${DESTDIR}${MANPREFIX}/man1 ++ @${BSD_INSTALL_MAN} ${MANFILES} ${DESTDIR}${MANPREFIX}/man1 + + uninstall: + @rm -f ${DESTDIR}${PREFIX}/bin/${TARG} diff --git a/sysutils/9base/patches/patch-aq b/sysutils/9base/patches/patch-aq new file mode 100644 index 00000000000..d28817a86f3 --- /dev/null +++ b/sysutils/9base/patches/patch-aq @@ -0,0 +1,21 @@ +$NetBSD: patch-aq,v 1.1.1.1 2005/10/29 16:04:38 minskim Exp $ + +--- uniq/Makefile.orig 2005-10-17 12:08:07.000000000 +0000 ++++ uniq/Makefile +@@ -12,12 +12,10 @@ MANFILES = uniq.1 + all: ${TARG} + + install: ${TARG} +- @mkdir -p ${DESTDIR}${PREFIX}/bin +- @cp -f ${TARG} ${DESTDIR}${PREFIX}/bin/ +- @chmod 755 ${DESTDIR}${PREFIX}/bin/${TARG} +- @mkdir -p ${DESTDIR}${MANPREFIX}/man1 +- @cp -f ${MANFILES} ${DESTDIR}${MANPREFIX}/man1 +- @chmod 444 ${DESTDIR}${MANPREFIX}/man1/${MANFILES} ++ @${BSD_INSTALL_PROGRAM_DIR} ${DESTDIR}${PREFIX}/bin ++ @${BSD_INSTALL_PROGRAM} ${TARG} ${DESTDIR}${PREFIX}/bin/ ++ @${BSD_INSTALL_MAN_DIR} ${DESTDIR}${MANPREFIX}/man1 ++ @${BSD_INSTALL_MAN} ${MANFILES} ${DESTDIR}${MANPREFIX}/man1 + + uninstall: + @rm -f ${DESTDIR}${PREFIX}/bin/${TARG} diff --git a/sysutils/9base/patches/patch-ar b/sysutils/9base/patches/patch-ar new file mode 100644 index 00000000000..22c86eb4615 --- /dev/null +++ b/sysutils/9base/patches/patch-ar @@ -0,0 +1,21 @@ +$NetBSD: patch-ar,v 1.1.1.1 2005/10/29 16:04:38 minskim Exp $ + +--- awk/Makefile.orig 2005-10-28 18:59:20.000000000 +0000 ++++ awk/Makefile +@@ -26,12 +26,10 @@ depend: + @${YACC} -d ${YFILES} + + install: ${TARG} +- @mkdir -p ${DESTDIR}${PREFIX}/bin +- @cp -f ${TARG} ${DESTDIR}${PREFIX}/bin/ +- @chmod 755 ${DESTDIR}${PREFIX}/bin/${TARG} +- @mkdir -p ${DESTDIR}${MANPREFIX}/man1 +- @cp -f ${MANFILES} ${DESTDIR}${MANPREFIX}/man1 +- @chmod 444 ${DESTDIR}${MANPREFIX}/man1/${MANFILES} ++ @${BSD_INSTALL_PROGRAM_DIR} ${DESTDIR}${PREFIX}/bin ++ @${BSD_INSTALL_PROGRAM} ${TARG} ${DESTDIR}${PREFIX}/bin/ ++ @${BSD_INSTALL_MAN_DIR} ${DESTDIR}${MANPREFIX}/man1 ++ @${BSD_INSTALL_MAN} ${MANFILES} ${DESTDIR}${MANPREFIX}/man1 + + uninstall: + @rm -f ${DESTDIR}${PREFIX}/bin/${TARG} |