svn commit: r334513 - head/sysutils/mapchan
Boris Samorodov
bsam at FreeBSD.org
Thu Nov 21 19:43:19 UTC 2013
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
More information about the svn-ports-head
mailing list