aboutsummaryrefslogtreecommitdiffstats
path: root/lang/cyclone/Makefile
blob: 9f4534a79cb86eca0a4913376908006527f9df25 (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
# ex:ts=8
#
# New ports collection makefile for:    cyclone
# Date created:     2002/01/06
# Whom:         alane <alane@FreeBSD.org> et al
#
# $FreeBSD$
#

PORTNAME=   cyclone
PORTVERSION=    0.6
PORTREVISION=   1
CATEGORIES= lang
MASTER_SITES=   http://www.cs.cornell.edu/projects/cyclone/software/
# Can't conditionalise fetching of docs due to distinfo:
DISTFILES=  ${DISTNAME}${EXTRACT_SUFX} ${DISTNAME}-docs.tgz

MAINTAINER= vs@FreeBSD.org
COMMENT=    A safe dialect of C from Cornell and AT&T Research

ONLY_FOR_ARCHS= i386

USE_GMAKE=  yes
GNU_CONFIGURE=  yes
CONFIGURE_TARGET=   --build=${ARCH}-portbld-freebsd${OSREL}
PLIST_SUB+= DOCSDIR=${DOCSDIR:S/^${PREFIX}\///} \
        PORTBLD=${ARCH}-portbld-freebsd${OSREL}
ALL_TARGET= all gprof aprof
CYCBINDIR=  ${PREFIX}/bin
CYCINCDIR=  ${PREFIX}/include/cyclone
CYCLIBDIR=  ${PREFIX}/lib/cyclone

.include <bsd.port.pre.mk>

post-install:
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR} ${DOCSDIR}/online-manual
    @${INSTALL_DATA} ${WRKDIR}/*.pdf ${DOCSDIR}
    @${INSTALL_DATA} ${WRKDIR}/online-manual/* ${DOCSDIR}/online-manual
.endif

.include <bsd.port.post.mk>