blob: 527521b271e9293f141ea9b99e8c992411620e63 (
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
|
# $NetBSD: Makefile,v 1.11 2016/07/09 06:37:58 wiz Exp $
#
DISTNAME= cc65-sources-2.13.3
PKGNAME= ${DISTNAME:S/-sources//}
PKGREVISION= 4
CATEGORIES= cross lang
MASTER_SITES= ftp://ftp.musoftware.de/pub/uz/cc65/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.cc65.org/
COMMENT= C cross compiler for 6502 target systems
MAKE_JOBS_SAFE= no
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
MAKE_FILE= make/gcc.mak
USE_TOOLS+= gmake perl
REPLACE_PERL= src/ca65html/ca65html
INSTALL_MAKE_FLAGS+= PREFIX=${DESTDIR}${PREFIX}
SUBST_CLASSES+= perl
SUBST_MESSAGE.perl= Fixing the path of perl.
SUBST_STAGE.perl= post-patch
SUBST_FILES.perl= src/ca65/macpack/cvt-mac.pl src/ld65/cfg/cvt-cfg.pl
SUBST_SED.perl= -e "s,/usr/bin/perl,${PREFIX}/bin/perl,g"
.include "../../mk/bsd.pkg.mk"
|