1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00
freebsd-ports/emulators/sim6811/Makefile
Pawel Pekala 2e01210827 - Respect CC/CFLAGS
- Remove leading article from COMMENT
- Switch to PLIST_FILES
- Support staging

PR:		ports/184858
Submitted by:	KATO Tsuguru <tkato432@yahoo.com>
2013-12-20 13:36:41 +00:00

33 lines
666 B
Makefile

# Created by: erich@rrnet.com
# $FreeBSD$
PORTNAME= sim6811
PORTVERSION= 1.6
PORTREVISION= 2
CATEGORIES= emulators
MASTER_SITES= ftp://ftp.SpringDaemons.com/soft/
DISTNAME= sim
EXTRACT_SUFX= .tar.Z
MAINTAINER= ports@FreeBSD.org
COMMENT= Motorola 6811 simulator
NO_WRKSUBDIR= yes
ALL_TARGET= sim
PLIST_FILES= bin/sim6811 man/man1/sim6811.1.gz
post-patch:
@${REINPLACE_CMD} -e \
's|^CC =|CC ?=| ; \
s|^CFLAGS =|#CFLAGS =| ; \
s|-O2|| ; \
s|-o sim |-o sim6811 |' ${WRKSRC}/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/sim6811 ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/sim6811.1 ${STAGEDIR}${MANPREFIX}/man/man1
.include <bsd.port.mk>