# ex:ts=8 # # New ports collection makefile for: cyclone # Date created: 2002/01/06 # Whom: alane et al # # $FreeBSD$ # PORTNAME= cyclone PORTVERSION= 0.6 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= ports@FreeBSD.org COMMENT= A safe dialect of C from Cornell and AT&T Research 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 .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