aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/v/Makefile
blob: 2342fb4e074f35b29b02359bedf1bd6ca6c9f08f (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
# New ports collection makefile for:    v
# Date created:         8 Feb 1998
# Whom:                 Donald Burr <dburr@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   v
PORTVERSION=    1.19
PORTREVISION=   1
CATEGORIES= x11-toolkits devel graphics
MASTER_SITES=   http://programming.ccp14.ac.uk/ftp-mirror/programming/objectcentral/

MAINTAINER= ports@FreeBSD.org
COMMENT=    A C++ GUI development framework for X11 and Microsoft Windows

.if ${MACHINE_ARCH} == "alpha"
BROKEN=     compiler error in function fixup_memory_subreg
.endif

WRKSRC=     ${WRKDIR}/v

USE_X_PREFIX=   YES
USE_GMAKE=  YES
MAKE_ENV=   INSTALLDIR=${PREFIX} HOMEV=${WRKSRC}

.include <bsd.port.pre.mk>

.if ${OSVERSION} >= 500113
BROKEN=         "Does not compile (bad C++ code)"
.endif

do-configure:
    ${CP} ${WRKSRC}/ConfigX.mk ${WRKSRC}/Config.mk

pre-build:
    ${MKDIR} ${WRKSRC}/obj/bsd ${WRKSRC}/objm/bsd ${WRKSRC}/lib/bsd ${WRKSRC}/bin/bsd

post-install:
    ${RANLIB} ${PREFIX}/lib/libV.a
.ifdef NOPORTDOCS
    @${ECHO_MSG} "==> Extra documentation WILL NOT be installed."
.else
    @${ECHO_MSG} "==> Installing extra docs under ${PREFIX}/share/doc/v..."
    ${MKDIR} ${PREFIX}/share/doc/v
    ${CP} -R ${WRKSRC}/doc/* ${PREFIX}/share/doc/v
    ${FIND} ${PREFIX}/share/doc/v -type d -exec ${CHMOD} 755 {} \;
    ${FIND} ${PREFIX}/share/doc/v -type f -exec ${CHMOD} 644 {} \;
    @${ECHO_MSG} "==> Extra docs installed.  Note, you will need *tex to read 'em."
.endif
    @${CAT} ${PKGMESSAGE}

.include <bsd.port.post.mk>