mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-02 01:20:54 +00:00
17093cca0d
fixes i made recently. Add files/patch-z1-preproc which implements -include, -M and some related preprocessing macros to improve portability Bump portrevision accordingly Should close PR/141185
43 lines
767 B
Makefile
43 lines
767 B
Makefile
# 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>
|