ports/85352: [UPDATE] devel/jam: clean-up, remove ONLY_FOR_ARCHS

Alejandro Pulver alejandro at varnet.biz
Sat Aug 27 14:40:21 UTC 2005


>Number:         85352
>Category:       ports
>Synopsis:       [UPDATE] devel/jam: clean-up, remove ONLY_FOR_ARCHS
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Aug 27 14:40:20 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Alejandro Pulver
>Release:        FreeBSD 5.4-RELEASE i386
>Organization:
>Environment:





>Description:


Changes:
* Take maintainership.
* Clean-up.
* Remove ONLY_FOR_ARCHS.


>How-To-Repeat:





>Fix:


--- jam.diff begins here ---
diff -urN /usr/ports/devel/jam/Makefile jam/Makefile
--- /usr/ports/devel/jam/Makefile	Wed Jul 27 18:10:51 2005
+++ jam/Makefile	Fri Aug 26 17:14:02 2005
@@ -11,34 +11,16 @@
 CATEGORIES=	devel
 MASTER_SITES=	ftp://ftp.perforce.com/pub/jam/
 
-MAINTAINER=	ports at FreeBSD.org
+MAINTAINER=	alejandro at varnet.biz
 COMMENT=	A build utility like make(1)
 
-ONLY_FOR_ARCHS=	alpha i386 amd64
-
 USE_ZIP=	yes
-USE_REINPLACE=	yes
-EXTRACT_BEFORE_ARGS=	-q -aa
 NO_WRKSUBDIR=	yes
 
-DOCSDIR=	${PREFIX}/share/doc/jam
-
-post-extract:
-	@${CHMOD} u+w ${WRKSRC}/Makefile
-
-pre-patch:
-	@${REINPLACE_CMD} -e 's|^CC|#CC|g ; \
-		 s|^CFLAGS|#CFLAGS|g ; \
-		 s|^	jam|	./jam|g' ${WRKSRC}/Makefile
-
 do-install:
-.if ${MACHINE_ARCH} == "alpha"
-	${INSTALL_PROGRAM} ${WRKSRC}/bin.freebsdaxp/jam ${PREFIX}/bin
-.else
-	${INSTALL_PROGRAM} ${WRKSRC}/bin.freebsd/jam ${PREFIX}/bin
-.endif
+	${INSTALL_PROGRAM} ${WRKSRC}/bin/${PORTNAME} ${PREFIX}/bin
 .if !defined(NOPORTDOCS)
-	@${MKDIR} ${DOCSDIR}
+	${MKDIR} ${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/*.html ${DOCSDIR}
 .endif
 
diff -urN /usr/ports/devel/jam/files/patch-Jamfile jam/files/patch-Jamfile
--- /usr/ports/devel/jam/files/patch-Jamfile	Wed Dec 31 21:00:00 1969
+++ jam/files/patch-Jamfile	Fri Aug 26 17:10:48 2005
@@ -0,0 +1,11 @@
+--- Jamfile.orig	Thu Aug 19 15:19:29 2004
++++ Jamfile	Fri Aug 26 17:10:28 2005
+@@ -7,7 +7,7 @@
+ 
+ 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
diff -urN /usr/ports/devel/jam/files/patch-Makefile jam/files/patch-Makefile
--- /usr/ports/devel/jam/files/patch-Makefile	Wed Dec 31 21:00:00 1969
+++ jam/files/patch-Makefile	Fri Aug 26 17:17:16 2005
@@ -0,0 +1,10 @@
+--- Makefile.orig	Wed Apr 23 01:45:50 2003
++++ Makefile	Fri Aug 26 17:17:13 2005
+@@ -1,7 +1,5 @@
+ # Makefile for jam
+ 
+-CC = cc
+-CFLAGS =
+ EXENAME = ./jam0
+ TARGET = -o $(EXENAME)
+ 
diff -urN /usr/ports/devel/jam/pkg-descr jam/pkg-descr
--- /usr/ports/devel/jam/pkg-descr	Thu Feb  8 09:27:06 2001
+++ jam/pkg-descr	Fri Aug 26 17:18:38 2005
@@ -1,5 +1,6 @@
-Jam/MR (formerly "jam - make(1) redux") 
-Jam/MR is a build utility like make(1).  It has its own expressive language
+Jam/MR (formerly "jam - make(1) redux").
+
+Jam/MR is a build utility like make(1). It has its own expressive language
 which allows for portable Jamfiles capable of building large projects with
 multiple concurrent processes.
 
--- jam.diff ends here ---



>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list