1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-08 06:48:28 +00:00
freebsd-ports/lang/nesasm/Makefile
Martin Wilke 8a53006e48 - Respect CC/CFLAGS
PR:		162536
Submitted by:	Jan Beich <jbeich@tormail.net>
Approved by:	maintainer
Feature safe:	yes
2011-11-24 15:57:08 +00:00

36 lines
908 B
Makefile

# New ports collection makefile for: nesasm
# Date created: 6 August 2007
# Whom: 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/
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 <bsd.port.mk>