aboutsummaryrefslogtreecommitdiffstats
path: root/devel/cxxtools/Makefile
blob: 8ea06ecca1c2a3ddfcd16a59554c772e593cb507 (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
# Created by: Juergen Lock <nox@FreeBSD.org>
# $FreeBSD$

PORTNAME=   cxxtools
PORTVERSION=    2.2.1
PORTREVISION=   3
CATEGORIES= devel
MASTER_SITES=   http://www.tntnet.org/download/

MAINTAINER= ports@FreeBSD.org
COMMENT=    Collection of general-purpose C++ classes

LICENSE=    LGPL21+
LICENSE_FILE=   ${WRKSRC}/COPYING

BROKEN_sparc64= does not configure

USES=       cpe iconv libtool localbase pathfix
CPE_VENDOR= tntnet
USE_CSTD=   gnu89
GNU_CONFIGURE=  yes
INSTALL_TARGET= install-strip
USE_LDCONFIG=   yes

.include <bsd.port.pre.mk>

.if ${ARCH} == "amd64"
PLIST_SUB+= X86_64_ONLY=""
.else
PLIST_SUB+= X86_64_ONLY="@comment "
.endif

.if ${ARCH} == "i386"
PLIST_SUB+= I386_ONLY=""
.else
PLIST_SUB+= I386_ONLY="@comment "
.endif

.if (${ARCH} == "amd64") || (${ARCH} == "i386")
PLIST_SUB+= X86_ONLY=""
.else
PLIST_SUB+= X86_ONLY="@comment "
.endif

.if ${ARCH} == "arm" || ${ARCH} == "armv6"
PLIST_SUB+= ARM_ONLY=""
.else
PLIST_SUB+= ARM_ONLY="@comment "
.endif

.if ${ARCH} == "mips" || ${ARCH} == "mips64"
PLIST_SUB+= MIPS_ONLY=""
.else
PLIST_SUB+= MIPS_ONLY="@comment "
.endif

.if ${ARCH} == "powerpc" || ${ARCH} == "powerpc64"
PLIST_SUB+= PPC_ONLY=""
.else
PLIST_SUB+= PPC_ONLY="@comment "
.endif

.include <bsd.port.post.mk>