# New ports collection makefile for: nesasm # Date created: 6 August 2007 # Whom: Pontus Stenetorp # # $FreeBSD$ # PORTNAME= nesasm PORTVERSION= 20040314 PORTREVISION= 1 CATEGORIES= lang devel MASTER_SITES= http://bobrost.com/nes/files/ DISTNAME= nbasic_2004_03_14 MAINTAINER= ninjin@kth.se COMMENT= The nesasm assembler is a 6502 assembler with specific NES support WRKSRC= ${WRKDIR}/nbasic_2004_03_14/source/${PORTNAME}/source/ USE_ZIP= yes post-patch: .SILENT ${REINPLACE_CMD} -e '/^CC/s/=/?=/' \ -e '/^CFLAGS/{s/=/+=/;s/-O2//;}' \ ${WRKSRC}/Makefile.unix do-install: ${INSTALL_PROGRAM} ${WRKSRC}/nesasm ${PREFIX}/bin .ifndef(NOPORTDOCS) @${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}../documentation/*.txt ${DOCSDIR} # The next install will overwrite readme.txt with a newer readme.txt ${INSTALL_DATA} ${WRKSRC}../readme.txt ${DOCSDIR} .endif .include