2002-01-17 17:23:05 +01:00
|
|
|
# ex:ts=8
|
|
|
|
#
|
|
|
|
# New ports collection makefile for: cyclone
|
|
|
|
# Date created: 2002/01/06
|
2002-11-01 14:09:32 +01:00
|
|
|
# Whom: alane <alane@FreeBSD.org> et al
|
2002-01-17 17:23:05 +01:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= cyclone
|
2003-11-07 21:50:56 +01:00
|
|
|
PORTVERSION= 0.6
|
2004-02-04 06:21:48 +01:00
|
|
|
PORTREVISION= 1
|
2002-01-17 17:23:05 +01:00
|
|
|
CATEGORIES= lang
|
2002-06-09 18:28:00 +02:00
|
|
|
MASTER_SITES= http://www.cs.cornell.edu/projects/cyclone/software/
|
2003-11-07 21:50:56 +01:00
|
|
|
# Can't conditionalise fetching of docs due to distinfo:
|
|
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${DISTNAME}-docs.tgz
|
2002-01-17 17:23:05 +01:00
|
|
|
|
2004-03-10 14:16:50 +01:00
|
|
|
MAINTAINER= vs@FreeBSD.org
|
2003-02-20 20:00:52 +01:00
|
|
|
COMMENT= A safe dialect of C from Cornell and AT&T Research
|
2002-01-17 17:23:05 +01:00
|
|
|
|
2003-12-20 13:17:37 +01:00
|
|
|
ONLY_FOR_ARCHS= i386
|
|
|
|
|
2002-01-17 17:23:05 +01:00
|
|
|
USE_GMAKE= yes
|
2003-11-07 21:50:56 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2005-04-12 05:26:56 +02:00
|
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
2003-11-07 21:50:56 +01:00
|
|
|
PLIST_SUB+= DOCSDIR=${DOCSDIR:S/^${PREFIX}\///} \
|
2005-04-12 05:26:56 +02:00
|
|
|
PORTBLD=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
2003-11-07 21:50:56 +01:00
|
|
|
ALL_TARGET= all gprof aprof
|
2002-01-17 17:23:05 +01:00
|
|
|
CYCBINDIR= ${PREFIX}/bin
|
|
|
|
CYCINCDIR= ${PREFIX}/include/cyclone
|
|
|
|
CYCLIBDIR= ${PREFIX}/lib/cyclone
|
|
|
|
|
2003-11-07 21:50:56 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
2002-01-17 17:23:05 +01:00
|
|
|
|
2005-04-12 05:26:56 +02:00
|
|
|
.if ${OSVERSION} >= 500000
|
|
|
|
BROKEN= "Cannot convert header files on -CURRENT!"
|
|
|
|
.endif
|
|
|
|
|
2002-01-17 17:23:05 +01:00
|
|
|
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>
|