38 lines
729 B
Makefile
38 lines
729 B
Makefile
# $NetBSD: Makefile,v 1.2 2012/10/07 17:17:25 asau Exp $
|
|
#
|
|
|
|
DISTNAME= tcc-devel-${TCC_VER}
|
|
CATEGORIES= lang
|
|
|
|
MAINTAINER= rumcic@gmail.com
|
|
HOMEPAGE= http://www.tinycc.org/
|
|
COMMENT= The Smallest ANSI C compiler
|
|
LICENSE= mit
|
|
|
|
USE_TOOLS+= gmake
|
|
HAS_CONFIGURE= yes
|
|
NO_CHECKSUM= yes
|
|
REPLACE_PERL+= texi2pod.pl
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
TCC_VER!= ${DATE} +%Y%m%d
|
|
|
|
.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}
|
|
|
|
GIT_REPOSITORIES= tcc
|
|
GIT_REPO.tcc= http://repo.or.cz/tinycc.git
|
|
GIT_BRANCH.tcc= mob
|
|
|
|
WRKSRC= ${WRKDIR}/tcc
|
|
|
|
.include "../../wip/mk/git-package.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|