1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-11 02:50:24 +00:00
freebsd-ports/lang/tcc/Makefile
Dirk Meyer 2d493058eb - honor PREFIX
PR:		161944
Submitted by:	Nali Toja
2011-10-24 04:05:11 +00:00

44 lines
817 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
CONFIGURE_ARGS= --prefix="${PREFIX}" --cc="${CC}"
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>