aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/v/Makefile
blob: 845b2c1fe7777559faa4f1529068dbcb3bc62b57 (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
# New ports collection makefile for:    v
# Version required:     1.19
# Date created:         8 Feb 1998
# Whom:                 Donald Burr <dburr@FreeBSD.ORG>
#
# $Id: Makefile,v 1.8 1998/11/27 09:04:50 asami Exp $
#

DISTNAME=   v-1.19
CATEGORIES= x11-toolkits devel graphics
MASTER_SITES=   ftp://ftp.ntua.gr/pub/X11/v/old/ \
        ftp://ftp.dl.ac.uk/ccp14/ftp-mirror/programming/objectcentral/old/

MAINTAINER= dburr@FreeBSD.ORG

WRKSRC=     ${WRKDIR}/v

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

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 "==> Extra documentation WILL NOT be installed."
.else
    @echo "==> 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 "==> Extra docs installed.  Note, you will need *tex to read 'em."
.endif
    @${CAT} ${PKGDIR}/MESSAGE

.include <bsd.port.mk>