diff options
author | mef <mef@pkgsrc.org> | 2014-12-09 15:10:47 +0000 |
---|---|---|
committer | mef <mef@pkgsrc.org> | 2014-12-09 15:10:47 +0000 |
commit | b05442f9a6153c4622a3b6e2e7c469fc9a4f2e10 (patch) | |
tree | bc710a58e9e346808b62fedc03c91131e7a97761 /cross/atasm/Makefile | |
parent | 8db3e87f8101d1dd556a8fb9683d4b751108c845 (diff) | |
download | pkgsrc-b05442f9a6153c4622a3b6e2e7c469fc9a4f2e10.tar.gz |
(pkgsrc)
- to make pkglint clean, change directory organization, using BUILD_DIR= src etc.
- Add LICENSE= gnu-gpl-v2
- Use SUBST instead of ${SED} at do-install: target
- Newly installs example files
- (invocation without argument gives error as
Pass 1: Error: Cannot open file: 'test.m65'
but it is the same as prev. version and user should give input)
(upstream) Update 1.04 to 1.06
------------------------------
October 10, 2003
version 1.05 - added new directives .BANK, .SET 6, and .OPT LIST/NO LIST;
Preliminary support for .ATR disk images and the Atari++
emulator memory snapshots;
March 17, 2009
version 1.06 - allow negative offsets with .SET 6 directives; allow arithmentic
expressions in REPEAT blocks; Better detection of resized labels;
Fixed a buffer overflow problem; Added -l option to allow label output;
Compiling Windows executable with mingw
Diffstat (limited to 'cross/atasm/Makefile')
-rw-r--r-- | cross/atasm/Makefile | 32 |
1 files changed, 22 insertions, 10 deletions
diff --git a/cross/atasm/Makefile b/cross/atasm/Makefile index 565a4bb3ece..f1ba0020e96 100644 --- a/cross/atasm/Makefile +++ b/cross/atasm/Makefile @@ -1,9 +1,8 @@ -# $NetBSD: Makefile,v 1.10 2014/10/09 14:06:04 wiz Exp $ +# $NetBSD: Makefile,v 1.11 2014/12/09 15:10:47 mef Exp $ # -DISTNAME= atasm104 -PKGNAME= atasm-1.04 -PKGREVISION= 2 +DISTNAME= atasm106 +PKGNAME= atasm-1.06 CATEGORIES= devel cross emulators MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=atasm/} EXTRACT_SUFX= .zip @@ -11,19 +10,32 @@ EXTRACT_SUFX= .zip MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://sourceforge.net/projects/atasm/ COMMENT= Cross-assembler for 6502 optimized to code for Atari 8 bit computers +LICENSE= gnu-gpl-v2 -WRKSRC= ${WRKDIR}/${DISTNAME}/src +WRKSRC= ${WRKDIR}/${DISTNAME} NO_CONFIGURE= YES +BUILD_DIRS= src DOCDIR= ${PREFIX}/share/doc/atasm +EXAMPLE_DIR= ${PREFIX}/share/examples/atasm -INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 ${DOCDIR} +INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 ${DOCDIR} ${EXAMPLE_DIR} + +SUBST_CLASSES+= docdir +SUBST_FILES.docdir= atasm.1.in +SUBST_STAGE.docdir= pre-install +SUBST_SED.docdir= -e 's,%%DOCDIR%%,${DOCDIR},g' +SUBST_MESSAGE.docdir= Edit DOCDIR variable do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/atasm ${DESTDIR}${PREFIX}/bin/atasm - ${SED} -e 's,%%DOCDIR%%,${DOCDIR},g' < ${WRKSRC}/atasm.1.in > ${WRKSRC}/atasm.1 - ${INSTALL_DATA} ${WRKSRC}/atasm.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 - ${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/atasm.txt ${DESTDIR}${DOCDIR} + ${INSTALL_PROGRAM} ${WRKSRC}/src/atasm ${DESTDIR}${PREFIX}/bin/atasm + ${MV} ${WRKSRC}/src/atasm.1.in ${WRKSRC}/src/atasm.1 + ${INSTALL_DATA} ${WRKSRC}/src/atasm.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 + ${INSTALL_DATA} ${WRKSRC}/docs/atasm.pdf ${DESTDIR}${DOCDIR} + ${INSTALL_DATA} ${WRKSRC}/docs/atasm.blurb ${DESTDIR}${DOCDIR} +.for i in iomac.lib sample.m65 sysequ.m65 test.m65 + ${INSTALL_DATA} ${WRKSRC}/examples/${i} ${DESTDIR}${EXAMPLE_DIR}/ +.endfor .include "../../devel/zlib/buildlink3.mk" .include "../../mk/bsd.pkg.mk" |