aboutsummaryrefslogtreecommitdiffstats
path: root/devel/ftjam/Makefile
blob: 83c9efd68854325ec74926dbc7fb15d7b5a61dde (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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# New ports collection makefile for:    FTJam
# Date created:     Wed Oct 12 03:26:39 UTC 2005
# Whom:         Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   ftjam
PORTVERSION=    2.5.2
CATEGORIES= devel
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= freetype

MAINTAINER= bms@FreeBSD.org
COMMENT=    Small build tool that can be used as a replacement for make(1)

CONFLICTS=  jam-[0-9]*

USE_BZIP2=  yes
USE_GMAKE=  yes

.ifndef(NOPORTDOCS)
PORTDOCS=   \
        Jam.html \
        Jambase.html \
        Jamfile.html \
        Porting \
        README \
        RELNOTES \
        jam.c
.endif

PLIST_FILES=    bin/${PORTNAME}

do-configure:
    @${REINPLACE_CMD} -E \
        -e 's|^(CC[[:space:]]*=).*$$|\1${CC}|' \
        -e 's|^(CFLAGS[[:space:]]*=).*$$|\1${CFLAGS}|' \
        ${BUILD_WRKSRC}/${MAKEFILE}

do-install:
.ifndef(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
. for file in ${PORTDOCS}
    @${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
. endfor
.endif
# INSTALL_WRKSRC changes depending on ARCH
    @${INSTALL_PROGRAM} `${FIND} ${WRKSRC} -name "bin.unix*"`/jam \
        ${PREFIX}/bin/${PORTNAME}

.include <bsd.port.mk>