Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Nov 2013 19:43:19 +0000 (UTC)
From:      Boris Samorodov <bsam@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r334513 - head/sysutils/mapchan
Message-ID:  <201311211943.rALJhJUk030074@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bsam
Date: Thu Nov 21 19:43:18 2013
New Revision: 334513
URL: http://svnweb.freebsd.org/changeset/ports/334513

Log:
  . remove unneeded include of bsd.port.options.mk;
  . fix stage orphans error;
  . mute temporary file manipulation (mv, rm).

Modified:
  head/sysutils/mapchan/Makefile

Modified: head/sysutils/mapchan/Makefile
==============================================================================
--- head/sysutils/mapchan/Makefile	Thu Nov 21 19:16:11 2013	(r334512)
+++ head/sysutils/mapchan/Makefile	Thu Nov 21 19:43:18 2013	(r334513)
@@ -20,8 +20,6 @@ OPTIONS_DEFINE=	DOCS
 post-extract:
 	@${CP} ${WRKSRC}/doc/mapchan.F ${WRKSRC}/doc/mapchan.8
 
-.include <bsd.port.options.mk>
-
 post-install:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
@@ -30,7 +28,8 @@ post-install:
 .include <bsd.port.pre.mk>
 
 post-patch:
-	${CP} ${WRKSRC}/examples/default ${WRKSRC}/examples/default.sample
+	@${MV} ${WRKSRC}/examples/default ${WRKSRC}/examples/default.sample
+	@${RM} ${WRKSRC}/examples/default.orig
 	${REINPLACE_CMD} -e "s|/usr/local|${PREFIX}|" ${WRKSRC}/mapchan.c
 .if ${OSVERSION} > 900007
 	${REINPLACE_CMD} -e "s|utmp.h|utmpx.h|" ${WRKSRC}/mapchan.c



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