openbsd-ports/devel/sdcc/Makefile

36 lines
735 B
Makefile

# $OpenBSD: Makefile,v 1.6 2011/03/14 09:17:27 sthen Exp $
COMMENT= Small Device C Compiler
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>