2008-11-30 14:03:58 +00:00
|
|
|
# New ports collection makefile for: tcc
|
|
|
|
# Date created: 24 Jun 2008
|
|
|
|
# Whom: dirk.meyer@dinoex.sub.org
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= tcc
|
2009-05-21 04:42:25 +00:00
|
|
|
PORTVERSION= 0.9.25
|
2009-12-06 15:08:37 +00:00
|
|
|
PORTREVISION= 2
|
2008-11-30 14:03:58 +00:00
|
|
|
CATEGORIES= lang
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SAVANNAH}
|
|
|
|
MASTER_SITE_SUBDIR= tinycc
|
|
|
|
|
|
|
|
MAINTAINER= dinoex@FreeBSD.org
|
|
|
|
COMMENT= Tiny C Compiler
|
|
|
|
|
2008-11-30 21:00:42 +00:00
|
|
|
ONLY_FOR_ARCHS= i386
|
2009-08-21 04:39:28 +00:00
|
|
|
#ONLY_FOR_ARCHS= i386 amd64 arm alpha mips powerpc
|
|
|
|
|
2009-02-27 11:08:47 +00:00
|
|
|
CONFLICTS= TenDRA-*
|
2008-11-30 21:00:42 +00:00
|
|
|
|
2008-11-30 14:03:58 +00:00
|
|
|
USE_BZIP2= yes
|
|
|
|
HAS_CONFIGURE= yes
|
|
|
|
USE_PERL5_BUILD=yes
|
|
|
|
USE_GMAKE= yes
|
|
|
|
MAKE_ARGS+= CONFIG_NOLDL=1
|
|
|
|
MAN1= tcc.1
|
|
|
|
|
|
|
|
.if defined(NOPORTDOCS)
|
2009-08-21 04:39:28 +00:00
|
|
|
MAKE_ARGS+= NOPORTDOCS=1 CFLAGS="${CFLAGS}"
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if (${ARCH} == i386)
|
|
|
|
PLIST_SUB+= WITH_I386=""
|
|
|
|
.else
|
|
|
|
PLIST_SUB+= WITH_I386="@comment "
|
2008-11-30 14:03:58 +00:00
|
|
|
.endif
|
|
|
|
|
2009-08-21 04:39:28 +00:00
|
|
|
.include <bsd.port.post.mk>
|