Import jam 2.4; submitted by Jonathan Auer <jda@auerfamily.org>.

Jam is a make(1) replacement that makes building simple things simple and
building complicated things manageable.
This commit is contained in:
naddy 2003-02-13 14:51:43 +00:00
parent aaa31e0b2a
commit b10883fded
8 changed files with 109 additions and 0 deletions

31
devel/jam/Makefile Normal file
View File

@ -0,0 +1,31 @@
# $OpenBSD: Makefile,v 1.1.1.1 2003/02/13 14:51:43 naddy Exp $
COMMENT= "build utility like make"
DISTNAME= jam-2.4
CATEGORIES= devel
HOMEPAGE= http://www.perforce.com/jam/jam.html
MAINTAINER= Jonathan Auer <jda@auerfamily.org>
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ftp://ftp.perforce.com/pub/jam/
EXTRACT_SUFX= .tar
NO_REGRESS= Yes
MAKE_FLAGS= CC="${CC}" CCFLAGS="${CFLAGS}"
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bin/jam ${PREFIX}/bin
${INSTALL_MAN_DIR} ${PREFIX}/share/doc/jam
${INSTALL_MAN} ${WRKSRC}/Jam.html ${PREFIX}/share/doc/jam
${INSTALL_MAN} ${WRKSRC}/Jambase.html ${PREFIX}/share/doc/jam
${INSTALL_MAN} ${WRKSRC}/Jamfile.html ${PREFIX}/share/doc/jam
${INSTALL_MAN} ${WRKSRC}/README ${PREFIX}/share/doc/jam
${INSTALL_MAN} ${WRKSRC}/RELNOTES ${PREFIX}/share/doc/jam
.include <bsd.port.mk>

3
devel/jam/distinfo Normal file
View File

@ -0,0 +1,3 @@
MD5 (jam-2.4.tar) = e98beb6aef4d0c1d04916ef178e75bb3
RMD160 (jam-2.4.tar) = cb680c6b03a5e4af8136c7b7891fb55d7e4da778
SHA1 (jam-2.4.tar) = b30d24130ce86cd5713be940fc95d313cc4ca51a

View File

@ -0,0 +1,16 @@
$OpenBSD: patch-Jamfile,v 1.1.1.1 2003/02/13 14:51:43 naddy Exp $
--- Jamfile.orig Wed Apr 17 21:27:35 2002
+++ Jamfile Thu Feb 13 15:18:22 2003
@@ -4,10 +4,10 @@
# There are no user-serviceable parts in this file.
#
# Put executables in platform-specific subdirectory.
-
+#CC =
if $(VMS) { LOCATE_TARGET ?= [.binvms] ; }
else if $(MAC) { LOCATE_TARGET ?= :bin.mac ; }
-else { LOCATE_TARGET ?= bin.$(OSFULL[1]:L) ; }
+else { LOCATE_TARGET ?= bin ; }
# Leave generated source in current directory; it would be nice to use
# these lines below to build the source into the platform-specific

View File

@ -0,0 +1,23 @@
$OpenBSD: patch-Makefile,v 1.1.1.1 2003/02/13 14:51:43 naddy Exp $
--- Makefile.orig Wed Mar 20 18:39:47 2002
+++ Makefile Thu Feb 13 15:18:22 2003
@@ -1,8 +1,8 @@
# Makefile for jam
-CC = cc
+#CC =
TARGET = -o jam0
-CFLAGS =
+#CFLAGS =
# Special flavors - uncomment appropriate lines
@@ -65,7 +65,7 @@ SOURCES = \
rules.c scan.c search.c timestamp.c variable.c
all: jam0
- jam0
+ ./jam0
jam0:
$(CC) $(TARGET) $(CFLAGS) $(SOURCES) $(LINKLIBS)

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-jam_h,v 1.1.1.1 2003/02/13 14:51:43 naddy Exp $
--- jam.h.orig Wed Mar 20 18:40:21 2002
+++ jam.h Thu Feb 13 15:18:22 2003
@@ -380,7 +380,7 @@
!defined(OS_MACOSX) && \
!defined(OS_RHAPSODY) && \
!defined(OS_MVS)
-# include <malloc.h>
+# include <stdlib.h>
# endif
# endif

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-jambase_c,v 1.1.1.1 2003/02/13 14:51:43 naddy Exp $
--- jambase.c.orig Wed Apr 17 21:29:45 2002
+++ jambase.c Thu Feb 13 15:18:22 2003
@@ -296,7 +296,7 @@ char *jambase[] = {
"LEX ?= lex ;\n",
"LINKFLAGS ?= $(CCFLAGS) ;\n",
"LINKLIBS ?= ;\n",
-"OPTIM ?= -O ;\n",
+"OPTIM ?= ;\n",
"RANLIB ?= ranlib ;\n",
"YACC ?= yacc ;\n",
"YACCGEN ?= .c ;\n",

4
devel/jam/pkg/DESCR Executable file
View File

@ -0,0 +1,4 @@
Jam is a make(1) replacement that makes building simple things simple and
building complicated things manageable.
WWW: ${HOMEPAGE}

8
devel/jam/pkg/PLIST Normal file
View File

@ -0,0 +1,8 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2003/02/13 14:51:43 naddy Exp $
bin/jam
share/doc/jam/Jam.html
share/doc/jam/Jambase.html
share/doc/jam/Jamfile.html
share/doc/jam/README
share/doc/jam/RELNOTES
@dirrm share/doc/jam