Fake plan9 subdir.

Add rc flavors.
This commit is contained in:
espie 2000-06-07 00:52:07 +00:00
parent 2026dfeb34
commit a8548d6360
13 changed files with 84 additions and 63 deletions

View File

@ -1,9 +1,8 @@
# $OpenBSD: Makefile,v 1.8 2000/04/09 17:37:45 espie Exp $
# $OpenBSD: Makefile,v 1.9 2000/06/07 00:52:08 espie Exp $
DISTNAME= 9menu-1.5
CATEGORIES= plan9
NEED_VERSION= 1.191
FAKE=No
MASTER_SITES= ftp://ftp.mathcs.emory.edu/pub/arnold/
EXTRACT_SUFX= .shar.gz
@ -14,7 +13,7 @@ PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
USE_X11= yes
USE_X11= Yes
WRKDIST= ${WRKDIR}
EXTRACT_CMD= gzcat
EXTRACT_BEFORE_ARGS= # empty

View File

@ -1,9 +1,8 @@
# $OpenBSD: Makefile,v 1.9 2000/04/09 17:37:46 espie Exp $
# $OpenBSD: Makefile,v 1.10 2000/06/07 00:52:08 espie Exp $
DISTNAME= 9wm-1.1
CATEGORIES= plan9
NEED_VERSION= 1.191
FAKE=No
MASTER_SITES= ftp://ftp.mathcs.emory.edu/pub/arnold/
EXTRACT_SUFX= .shar.gz
@ -18,6 +17,6 @@ WRKDIST= ${WRKDIR}
EXTRACT_CMD= gzcat
EXTRACT_BEFORE_ARGS= # empty
EXTRACT_AFTER_ARGS= | ${SH}
USE_IMAKE= yes
USE_IMAKE= Yes
.include <bsd.port.mk>

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.6 1999/06/11 14:46:05 brad Exp $
# $OpenBSD: Makefile,v 1.7 2000/06/07 00:52:07 espie Exp $
# $FreeBSD: Makefile,v 1.4 1997/11/17 11:55:01 tg Exp $
#
@ -7,6 +7,8 @@
SUBDIR += 9wm
# SUBDIR += Xg
SUBDIR += rc
SUBDIR += rc,readline
SUBDIR += rc,editline
SUBDIR += sam
SUBDIR += tcs
SUBDIR += wily

View File

@ -1,10 +1,9 @@
# $OpenBSD: Makefile,v 1.7 2000/04/09 17:37:46 espie Exp $
# $OpenBSD: Makefile,v 1.8 2000/06/07 00:52:08 espie Exp $
WITH_EDITLINE= yes
#WITH_EDITLINE= yes
DISTNAME= rc-1.6
CATEGORIES= plan9 shells
NEED_VERSION= 1.121
FAKE=No
MASTER_SITES= http://www.star.le.ac.uk/~tjg/rc/release/ \
ftp://ftp.sys.toronto.edu/pub/rc/
MASTER_SITES0= http://www.star.le.ac.uk/~tjg/rc/misc/
@ -13,40 +12,38 @@ MASTER_SITES0= http://www.star.le.ac.uk/~tjg/rc/misc/
MAINTAINER= markus@openbsd.org
LICENSE_TYPE= BSD
PERMIT_PACKAGE_CDROM= YES
PERMIT_PACKAGE_FTP= YES
PERMIT_DISTFILES_CDROM= YES
PERMIT_DISTFILES_FTP= YES
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
SEPARATE_BUILD= concurrent
GNU_CONFIGURE= yes
GNU_CONFIGURE= Yes
CONFIGURE_ARGS+= --with-history
FLAVORS=readline editline
FLAVOR?=
.if defined(WITH_READLINE) && ${WITH_READLINE:U} == YES
CONFIGURE_ARGS+= --with-readline
FLAVOR+=readline
.elif defined(WITH_EDITLINE) && ${WITH_EDITLINE:U} == YES
FLAVOR+=editline
.endif
.if ${FLAVOR:L} == "readline"
CONFIGURE_ARGS+= --with-readline
.elif ${FLAVOR:L} == "editline"
DISTFILES= ${DISTNAME}.tar.gz editline-1.5.tar.gz:0
EDITLINE= ${WRKSRC}/../editline
CONFIGURE_ARGS+= --with-editline
CONFIGURE_ENV+= LIBS="-L${EDITLINE}"
.endif
pre-fetch:
.if !defined(NO_WARNINGS)
.if !defined(WITH_READLINE) && !defined(WITH_EDITLINE)
@echo '*******************************************************'
@echo '* Note that you can build rc using the readline or *'
@echo '* editline library (emacs style command line editing) *'
@echo '* by setting the shell variable WITH_READLINE or *'
@echo '* WITH_EDITLINE to yes *'
@echo '*******************************************************'
.endif
.endif
pre-configure:
.if defined(WITH_EDITLINE) && ${WITH_EDITLINE:U} == YES
.if ${FLAVOR:L} == "editline"
@echo "===> Compiling editline"
(cd ${EDITLINE} && make)
cd ${EDITLINE} && make
.endif
.include <bsd.port.mk>

View File

@ -1,10 +1,9 @@
# $OpenBSD: Makefile,v 1.10 2000/04/09 17:37:47 espie Exp $
# $OpenBSD: Makefile,v 1.11 2000/06/07 00:52:08 espie Exp $
DISTNAME= sam
PKGNAME= sam-4.3-19980506
CATEGORIES= plan9
NEED_VERSION= 1.191
FAKE=No
MASTER_SITES= ftp://netlib.bell-labs.com/netlib/research/ \
http://netlib.bell-labs.com/netlib/research/
EXTRACT_SUFX= .shar.gz
@ -16,10 +15,10 @@ EXTRACT_AFTER_ARGS= | sh
MAINTAINER= markus@openbsd.org
LICENSE_TYPE= COPY
PERMIT_PACKAGE_CDROM= YES
PERMIT_PACKAGE_FTP= YES
PERMIT_DISTFILES_CDROM= YES
PERMIT_DISTFILES_FTP= YES
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WRKDIST= ${WRKDIR}

View File

@ -1,5 +1,6 @@
--- doc/sam.1-old Thu Sep 3 19:55:50 1998
+++ doc/sam.1 Thu Sep 3 20:10:53 1998
$OpenBSD: patch-aa,v 1.2 2000/06/07 00:52:08 espie Exp $
--- doc/sam.1.orig Wed Jun 7 02:38:18 2000
+++ doc/sam.1 Wed Jun 7 02:38:25 2000
@@ -1,34 +1,3 @@
-.de F
-.B

View File

@ -1,5 +1,6 @@
--- libXg/Makefile.dist Thu Sep 3 19:20:34 1998
+++ libXg/Makefile Thu Sep 3 22:23:12 1998
$OpenBSD: patch-ab,v 1.2 2000/06/07 00:52:08 espie Exp $
--- libXg/Makefile.orig Wed Jun 7 02:38:21 2000
+++ libXg/Makefile Wed Jun 7 02:38:26 2000
@@ -8,17 +8,17 @@
#
# Additionally, -D_POSIX_SOURCE (or its equivalent) may be specified
@ -21,7 +22,7 @@
# add name of librarian
AR=ar
@@ -50,7 +50,5 @@
@@ -50,7 +50,5 @@ nuke: clean
$(LIB): $(OBJS)
$(AR) rv $(LIB) $(OBJS)
$(RANLIB) $(LIB)

View File

@ -1,5 +1,6 @@
--- libframe/Makefile.dist Thu Sep 3 19:20:34 1998
+++ libframe/Makefile Thu Sep 3 22:20:25 1998
$OpenBSD: patch-ac,v 1.2 2000/06/07 00:52:09 espie Exp $
--- libframe/Makefile.orig Wed Jun 7 02:38:21 2000
+++ libframe/Makefile Wed Jun 7 02:38:26 2000
@@ -8,14 +8,14 @@
#
# Additionally, -D_POSIX_SOURCE (or its equivalent) may be specified

View File

@ -1,5 +1,6 @@
--- sam/Makefile.dist Thu Sep 3 19:20:33 1998
+++ sam/Makefile Thu Sep 3 22:17:14 1998
$OpenBSD: patch-ad,v 1.2 2000/06/07 00:52:09 espie Exp $
--- sam/Makefile.orig Wed Jun 7 02:38:21 2000
+++ sam/Makefile Wed Jun 7 02:42:06 2000
@@ -8,7 +8,7 @@
#
# Additionally, -D_POSIX_SOURCE (or its equivalent) may be specified
@ -9,7 +10,7 @@
# add -Iincludedir for any include directories that need to be searched
# for posix header files (for UMIPS, add -I/usr/include/posix)
@@ -22,12 +22,12 @@
@@ -22,12 +22,12 @@ HOMEDIR=HOME
# where sam is to be installed. SAMSAVEDIR is the name of the directory
# where the samsave file restoration script is stored.
RSAMNAME=sam
@ -26,7 +27,7 @@
# Set SHELLNAME and SHELLPATH to the name of a shell and the pathname
# of its executable
@@ -37,7 +37,7 @@
@@ -37,7 +37,7 @@ SHELLPATH=/bin/sh
# Set RXNAME and RXPATHNAME to the name of the remote execution command
# and the pathname of its executable
RXNAME=rsh
@ -35,3 +36,16 @@
SAMSAVE=/bin/sh\\n$(SAMSAVEDIR)/samsave
@@ -68,9 +68,9 @@ nuke: clean
rm -f sam
install: sam
- cp sam $(SAMDIR)/$(RSAMNAME)
- cp samsave $(SAMSAVEDIR)/samsave
- chmod +x $(SAMSAVEDIR)/samsave
+ cp sam $(DESTDIR)$(SAMDIR)/$(RSAMNAME)
+ cp samsave $(DESTDIR)$(SAMSAVEDIR)/samsave
+ chmod +x $(DESTDIR)$(SAMSAVEDIR)/samsave
$(OBJ): sam.h ../include/u.h ../include/libc.h errors.h mesg.h

View File

@ -1,6 +1,7 @@
--- sam/unix.c.dist Thu Sep 3 19:23:37 1998
+++ sam/unix.c Thu Sep 3 19:24:32 1998
@@ -147,18 +147,18 @@
$OpenBSD: patch-ae,v 1.2 2000/06/07 00:52:09 espie Exp $
--- sam/unix.c.orig Wed Jun 7 02:38:23 2000
+++ sam/unix.c Wed Jun 7 02:38:26 2000
@@ -147,18 +147,18 @@ notifyf(void *a, char *b) /* never calle
int
newtmp(int i)
{

View File

@ -1,5 +1,6 @@
--- samterm/Makefile.dist Thu Sep 3 19:20:34 1998
+++ samterm/Makefile Thu Sep 3 22:27:39 1998
$OpenBSD: patch-af,v 1.2 2000/06/07 00:52:09 espie Exp $
--- samterm/Makefile.orig Wed Jun 7 02:38:21 2000
+++ samterm/Makefile Wed Jun 7 02:42:31 2000
@@ -8,7 +8,7 @@
#
# Additionally, -D_POSIX_SOURCE (or its equivalent) may be specified
@ -9,7 +10,7 @@
# add -Iincludedir for any include directories that need to be searched
# for posix header files (for UMIPS, add -I/usr/include/posix)
@@ -16,11 +16,11 @@
@@ -16,11 +16,11 @@ INCS=-I../include
# SAMTERM contains the name of the file containing the samterm
# executable.
@ -23,3 +24,11 @@
CFLAGS=$(OS) $(INCS) -D_LIBXG_EXTENSION
@@ -41,6 +41,6 @@ nuke: clean
rm -f samterm
install: samterm
- cp samterm $(SAMTERM)
+ cp samterm $(DESTDIR)$(SAMTERM)
$(OBJ): samterm.h flayer.h ../include/frame.h ../include/libg.h ../include/u.h ../include/libc.h ../sam/mesg.h

View File

@ -1,10 +1,9 @@
# $OpenBSD: Makefile,v 1.11 2000/04/09 17:37:48 espie Exp $
# $OpenBSD: Makefile,v 1.12 2000/06/07 00:52:09 espie Exp $
DISTNAME= tcs
PKGNAME= tcs-19950325
CATEGORIES= plan9
NEED_VERSION= 1.191
FAKE=No
MASTER_SITES= ftp://plan9.bell-labs.com/plan9/unixsrc/ \
ftp://ftp.gwdg.de/pub/gnu2/plan9/unixsrc/
EXTRACT_SUFX= .shar.Z

View File

@ -1,8 +1,7 @@
# $OpenBSD: Makefile,v 1.6 2000/04/09 17:37:49 espie Exp $
# $OpenBSD: Makefile,v 1.7 2000/06/07 00:52:09 espie Exp $
DISTNAME= wily-0.13.41
CATEGORIES= plan9 editors
FAKE=No
MASTER_SITES= ftp://ftp.cs.york.ac.uk/pub/mhw/wily/src/ \
ftp://ftp.cs.su.oz.au/gary/wily/src/old/
EXTRACT_SUFX= .tgz
@ -15,8 +14,8 @@ PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
SEPARATE_BUILD= simple
USE_X11= yes
USE_AUTOCONF= yes
USE_X11= Yes
USE_AUTOCONF= Yes
WILYDOCDIR= ${PREFIX}/share/doc/wily
WILYTUTEDIR= ${WILYDOCDIR}/tute
@ -28,12 +27,12 @@ WILYDOCFILES= index.html intro.html download.html credits.html FAQ.html \
fonts mouse tute/findword tute/script tute/start tute/hello.c \
tute/send_to_gary
post-install:
@mkdir -p ${WILYDOCDIR}
@mkdir -p ${WILYTUTEDIR}
@strip ${PREFIX}/bin/wily
do-install:
@${INSTALL_PROGRAM} ${WRKBUILD}/wily/wily ${PREFIX}/bin
@${INSTALL_DATA_DIR} ${WILYDOCDIR}
@${INSTALL_DATA_DIR} ${WILYTUTEDIR}
@set -e; for f in ${WILYDOCFILES}; do \
${INSTALL_DATA} ${WRKSRC}/Doc/$${f} ${WILYDOCDIR}/$${f}; \
${INSTALL_DATA} ${WRKSRC}/Doc/$$f ${WILYDOCDIR}/$$f; \
done
.include <bsd.port.mk>