freebsd-ports/devel/a2dev/Makefile
Archie Cobbs f978fba674 Respect CC and CFLAGS.
PR:		ports/65048
2004-04-02 15:27:23 +00:00

34 lines
744 B
Makefile

# New ports collection makefile for: a2dev
# Date created: 1 July 1998
# Whom: Archie L. Cobbs <archie@whistle.com>
#
# $FreeBSD$
#
PORTNAME= a2dev
PORTVERSION= 1.2
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= archie
EXTRACT_SUFX= .tgz
MAINTAINER= archie@FreeBSD.org
COMMENT= Apple II 6502 assembler, linker, loader, and object file viewer
USE_GMAKE= defined
PATCH_STRIP= -p1
MAN1= a2asm.1 a2link.1 a2load.1 a2objx.1
USE_REINPLACE= yes
.include <bsd.port.pre.mk>
.if ${ARCH} != "i386"
BROKEN= "Does not compile on !i386"
.endif
post-patch:
@${REINPLACE_CMD} -e 's|gcc|${CC}|; s|-O3|${CFLAGS}|' \
${WRKSRC}/Make.defs
.include <bsd.port.post.mk>