blob: 986d260cdf86e7b3c10426bb4ff01739d651ebe6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# $NetBSD: Makefile,v 1.4 2001/02/16 14:39:01 wiz Exp $
# FreeBSD: ports/devel/sdcc/Makefile,v 1.5 2000/04/15 15:13:38 knu Exp
DISTNAME= sdcc-2.1.9Ea
PKGNAME= ${DISTNAME:S/Ea//}
CATEGORIES= devel lang
MASTER_SITES= http://web.kd0yu.com/sdcc/
MAINTAINER= packages@netbsd.org
HOMEPAGE= http://sdcc.sourceforge.net/
COMMENT= Cross compile 8051 code
GNU_CONFIGURE= yes
USE_GMAKE= yes
ALL_TARGET= dep all
WRKSRC= ${WRKDIR}/${DISTNAME:C/[\.-]//g}
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "NetBSD"
CONFIGURE_ENV+= CPPFLAGS=-I${WRKDIR}/include
post-extract:
${MKDIR} ${WRKDIR}/include
${LN} -fs /usr/include/sys/endian.h ${WRKDIR}/include
.endif
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/sdcc
${INSTALL_DATA} ${WRKSRC}/doc/* ${PREFIX}/share/doc/sdcc
.include "../../mk/bsd.pkg.mk"
|