blob: 7545fef68a65c36bf5d006a07cc55aa9b444aa97 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# New ports collection makefile for: jam
# Date created: 10 July 1998
# Whom: Jeffrey Hsu <hsu@freebsd.org>
#
# $FreeBSD$
#
PORTNAME= jam
PORTVERSION= 2.4
CATEGORIES= devel
MASTER_SITES= ftp://ftp1.perforce.com/pub/jam/
MAINTAINER= ports@FreeBSD.org
ONLY_FOR_ARCHS= alpha i386
USE_ZIP= yes
EXTRACT_BEFORE_ARGS= -q -aa
pre-patch:
@${REINPLACE_CMD} -e 's|^CC|#CC|g ; \
s|^CFLAGS|#CFLAGS|g ; \
s|\tjam|\t\$$\{.CURDIR\}/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
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/*.html ${DOCSDIR}
.endif
.include <bsd.port.mk>
|