aboutsummaryrefslogblamecommitdiff
path: root/lang/tcc/Makefile
blob: 2b95d892e104c9ca44e6c3027635d6292fe846e6 (plain) (tree)
1
2
3
4
5
6
7
8
9







                                                 
                      
                 






                                       
                    

                                                         
                        
 







                              








                                               

      
                           
# New ports collection makefile for:    tcc
# Date created:         24 Jun 2008
# Whom:                 dirk.meyer@dinoex.sub.org
#
# $FreeBSD$
#

PORTNAME=	tcc
PORTVERSION=	0.9.25
PORTREVISION=	2
CATEGORIES=	lang
MASTER_SITES=	${MASTER_SITE_SAVANNAH}
MASTER_SITE_SUBDIR=	tinycc

MAINTAINER=	dinoex@FreeBSD.org
COMMENT=	Tiny C Compiler

ONLY_FOR_ARCHS=	i386
#ONLY_FOR_ARCHS=	i386 amd64 arm alpha mips powerpc

CONFLICTS=	TenDRA-*

USE_BZIP2=	yes
HAS_CONFIGURE=	yes
USE_PERL5_BUILD=yes
USE_GMAKE=	yes
MAKE_ARGS+=	CONFIG_NOLDL=1
MAN1=	tcc.1

.if defined(NOPORTDOCS)
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 "
.endif

.include <bsd.port.post.mk>