pkgsrc-wip/tcc/Makefile

29 lines
612 B
Makefile

# $NetBSD: Makefile,v 1.8 2005/04/11 21:15:59 tvierling Exp $
#
DISTNAME= tcc-0.9.22
CATEGORIES= lang
MASTER_SITES= http://fabrice.bellard.free.fr/tcc/
MAINTAINER= pancake@phreaker.net
HOMEPAGE= http://www.tinycc.org/
COMMENT= The Smallest ANSI C compiler
ONLY_FOR_PLATFORM= *-*-i386
NOT_FOR_PLATFORM= NetBSD-1.6.2-*
USE_GNU_TOOLS+= make
HAS_CONFIGURE= yes
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} != "Linux"
SUBST_CLASSES=ldl
SUBST_FILES.ldl=Makefile
SUBST_STAGE.ldl=post-patch
SUBST_SED.ldl=-e 's,LIBS=,\#LIBS,'
.endif
CONFIGURE_ARGS+= --prefix=${PREFIX}
.include "../../mk/bsd.pkg.mk"