aboutsummaryrefslogtreecommitdiffstats
path: root/devel/imake-6/Makefile
blob: 4299981b7f8245b9ac8ccb932cd372479672f278 (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
53
54
55
56
57
58
59
60
61
62
63
64
65
# New ports collection makefile for:    imake-6
# Date created:         18 Jun 2004
# Whom:                 anholt
#
# $FreeBSD$
#

PORTNAME=   imake
PORTVERSION=    6.9.0
CATEGORIES= devel
MASTER_SITES=   ${MASTER_SITE_XORG}
MASTER_SITE_SUBDIR= X11R${PORTVERSION}/src
DISTFILES=  X11R${PORTVERSION}-src1.tar.gz \
        X11R${PORTVERSION}-src3.tar.gz

MAINTAINER= x11@FreeBSD.org
COMMENT=    Imake and other utilities from X.Org

CONFLICTS=  imake-4*

PREFIX?=    ${X11BASE}
USE_PERL5=  YES
MAKE_ENV=   MAKEFLAGS="CC=${CC}"
SCRIPTS_ENV=    CC=${CC}

.ifdef USE_IMAKE
.error You have `USE_IMAKE' variable defined either in environment or in make(1) arguments. Please undefine and try again.
.endif

.include <bsd.port.pre.mk>

DIST_SUBDIR=    xorg
WRKSRC=     ${WRKDIR}/xc/config
MTREE_FILE= /etc/mtree/BSD.x11-4.dist
MAN1=       ccmakedep.1 \
        cleanlinks.1 \
        gccmakedep.1 \
        imake.1 \
        lndir.1 \
        makedepend.1 \
        makeg.1 \
        makestrs.1 \
        mergelib.1 \
        mkdirhier.1 \
        mkhtmlindex.1 \
        pswrap.1 \
        revpath.1 \
        rman.1 \
        xmkmf.1
MANCOMPRESSED=  yes
INSTALL_TARGET= install install.man

pre-configure:
    @${REINPLACE_CMD} -e 's|%%PTHREAD_CFLAGS%%|${PTHREAD_CFLAGS}|g ; \
        s|%%PTHREAD_LIBS%%|${PTHREAD_LIBS}|g' \
        ${WRKSRC}/cf/FreeBSD.cf

.if ${X_WINDOW_SYSTEM:L} != xorg
IGNORE= is part of X.Org and you have ${X_WINDOW_SYSTEM} set for X11\
    distribution. See The X Window System and Virtual Consoles chapter\
    of FAQ for more information
NO_LATEST_LINK= yes
.endif

.include <bsd.port.post.mk>