1998-07-11 02:40:50 +00:00
|
|
|
# New ports collection makefile for: jam
|
|
|
|
# Date created: 10 July 1998
|
|
|
|
# Whom: Jeffrey Hsu <hsu@freebsd.org>
|
|
|
|
#
|
1999-08-25 05:57:29 +00:00
|
|
|
# $FreeBSD$
|
1998-07-11 02:40:50 +00:00
|
|
|
#
|
|
|
|
|
2000-04-11 21:30:15 +00:00
|
|
|
PORTNAME= jam
|
2002-06-17 20:36:48 +00:00
|
|
|
PORTVERSION= 2.4
|
1998-07-11 02:40:50 +00:00
|
|
|
CATEGORIES= devel
|
1999-10-25 20:48:17 +00:00
|
|
|
MASTER_SITES= ftp://ftp1.perforce.com/pub/jam/
|
1998-07-11 02:40:50 +00:00
|
|
|
|
2001-02-08 12:27:12 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 17:07:10 +00:00
|
|
|
COMMENT= A build utility like make(1)
|
1998-07-11 02:40:50 +00:00
|
|
|
|
2002-06-17 20:36:48 +00:00
|
|
|
ONLY_FOR_ARCHS= alpha i386
|
|
|
|
|
2001-02-08 12:27:12 +00:00
|
|
|
USE_ZIP= yes
|
2002-06-19 08:18:10 +00:00
|
|
|
USE_REINPLACE= yes
|
2002-06-17 20:36:48 +00:00
|
|
|
EXTRACT_BEFORE_ARGS= -q -aa
|
|
|
|
|
2002-07-18 22:08:46 +00:00
|
|
|
post-extract:
|
|
|
|
@${CHMOD} u+w ${WRKSRC}/Makefile
|
|
|
|
|
2002-06-17 20:36:48 +00:00
|
|
|
pre-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|^CC|#CC|g ; \
|
|
|
|
s|^CFLAGS|#CFLAGS|g ; \
|
2002-07-18 22:08:46 +00:00
|
|
|
s|^ jam| ./jam|g' ${WRKSRC}/Makefile
|
1998-07-11 02:40:50 +00:00
|
|
|
|
|
|
|
do-install:
|
2001-04-15 01:01:24 +00:00
|
|
|
.if ${MACHINE_ARCH} == "alpha"
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/bin.freebsdaxp/jam ${PREFIX}/bin
|
|
|
|
.else
|
2001-02-08 12:27:12 +00:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/bin.freebsd/jam ${PREFIX}/bin
|
2001-04-15 01:01:24 +00:00
|
|
|
.endif
|
2001-02-08 12:27:12 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
2002-06-17 20:36:48 +00:00
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/*.html ${DOCSDIR}
|
2001-02-08 12:27:12 +00:00
|
|
|
.endif
|
1998-07-11 02:40:50 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|