37 lines
786 B
Makefile
37 lines
786 B
Makefile
# $OpenBSD: Makefile,v 1.8 2012/10/15 15:18:32 sthen Exp $
|
|
|
|
COMMENT= Small Device C Compiler
|
|
BROKEN-sparc64= illegal operands building SDCCval.c
|
|
|
|
DISTNAME= sdcc-src-2.8.0
|
|
PKGNAME= ${DISTNAME:S/-src//}
|
|
EXTRACT_SUFX= .tar.bz2
|
|
CATEGORIES= devel
|
|
REVISION= 0
|
|
|
|
HOMEPAGE= http://sdcc.sourceforge.net/
|
|
|
|
MAINTAINER= Andreas Bihlmaier <andreas.bihlmaier@gmx.de>
|
|
|
|
# GPL
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
WANTLIB= c m stdc++ readline termcap
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=sdcc/}
|
|
|
|
BUILD_DEPENDS= ${RUN_DEPENDS}
|
|
RUN_DEPENDS= devel/gputils
|
|
|
|
CONFIGURE_STYLE= gnu
|
|
CONFIGURE_ARGS+= docdir=${PREFIX}/share/doc/sdcc
|
|
CONFIGURE_ENV+= sdcc_cv_CCggdb="no"
|
|
|
|
USE_GMAKE= Yes
|
|
|
|
WRKDIST= ${WRKDIR}/sdcc
|
|
|
|
.include <bsd.port.mk>
|