Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Dec 2013 13:36:42 +0000 (UTC)
From:      Pawel Pekala <pawel@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r337012 - in head/emulators/sim6811: . files
Message-ID:  <201312201336.rBKDagCO068809@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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@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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312201336.rBKDagCO068809>