svn commit: r337012 - in head/emulators/sim6811: . files
Pawel Pekala
pawel at FreeBSD.org
Fri Dec 20 13:36:42 UTC 2013
Author: pawel
Date: Fri Dec 20 13:36:41 2013
New Revision: 337012
URL: http://svnweb.freebsd.org/changeset/ports/337012
Log:
- Respect CC/CFLAGS
- Remove leading article from COMMENT
- Switch to PLIST_FILES
- Support staging
PR: ports/184858
Submitted by: KATO Tsuguru <tkato432 at yahoo.com>
Deleted:
head/emulators/sim6811/files/patch-aa
head/emulators/sim6811/pkg-plist
Modified:
head/emulators/sim6811/Makefile (contents, props changed)
Modified: head/emulators/sim6811/Makefile
==============================================================================
--- head/emulators/sim6811/Makefile Fri Dec 20 13:36:07 2013 (r337011)
+++ head/emulators/sim6811/Makefile Fri Dec 20 13:36:41 2013 (r337012)
@@ -10,9 +10,23 @@ DISTNAME= sim
EXTRACT_SUFX= .tar.Z
MAINTAINER= ports at FreeBSD.org
-COMMENT= A Motorola 6811 simulator
+COMMENT= Motorola 6811 simulator
NO_WRKSUBDIR= yes
-NO_STAGE= 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>
More information about the svn-ports-all
mailing list