1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00
freebsd-ports/lang/nesasm/Makefile
Vanilla I. Shu 32125a4921 Stagify.
Approved by:	portmgr@
2014-06-17 12:50:06 +00:00

32 lines
872 B
Makefile

# Created by: Pontus Stenetorp <ninjin@kth.se>
# $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/
USES= zip
post-patch: .SILENT
${REINPLACE_CMD} -e '/^CC/s/=/?=/' \
-e '/^CFLAGS/{s/=/+=/;s/-O2//;}' \
${WRKSRC}/Makefile.unix
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/nesasm ${STAGEDIR}${PREFIX}/bin
.ifndef(NOPORTDOCS)
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}../documentation/*.txt ${STAGEDIR}${DOCSDIR}
# The next install will overwrite readme.txt with a newer readme.txt
${INSTALL_DATA} ${WRKSRC}../readme.txt ${STAGEDIR}${DOCSDIR}
.endif
.include <bsd.port.mk>