blob: c69d5bfe7da1164c8fc66959310eaa25bae805c4 (
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.8 2013/05/31 12:39:46 wiz Exp $
#
DISTNAME= cc65-sources-2.13.3
PKGNAME= ${DISTNAME:S/-sources//}
PKGREVISION= 1
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"
|