blob: a5b8080725c390561e197d02397e3e26aceea657 (
plain)
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
|
# 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=${MACHINE_ARCH}-portbld-freebsd${OSREL}
PLIST_SUB+= DOCSDIR=${DOCSDIR:S/^${PREFIX}\///} \
PORTBLD=${MACHINE_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>
.if ${OSVERSION} >= 500000
BROKEN= "Cannot convert header files on -CURRENT!"
.endif
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>
|