aboutsummaryrefslogtreecommitdiff
path: root/sysutils/mapchan
diff options
context:
space:
mode:
authorBoris Samorodov <bsam@FreeBSD.org>2013-11-21 19:43:18 +0000
committerBoris Samorodov <bsam@FreeBSD.org>2013-11-21 19:43:18 +0000
commit037080521850913746aa6f3576d37e9c9bc10a2c (patch)
tree51d5a49ba7278dcf50ea6f20ec53fd087a4b61da /sysutils/mapchan
parentfbd7b2459bd78411ac70bb561ff144154625d42c (diff)
downloadports-037080521850913746aa6f3576d37e9c9bc10a2c.tar.gz
ports-037080521850913746aa6f3576d37e9c9bc10a2c.zip
. remove unneeded include of bsd.port.options.mk;
. fix stage orphans error; . mute temporary file manipulation (mv, rm).
Notes
Notes: svn path=/head/; revision=334513
Diffstat (limited to 'sysutils/mapchan')
-rw-r--r--sysutils/mapchan/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/sysutils/mapchan/Makefile b/sysutils/mapchan/Makefile
index 06c565d9ef8f..6ff2aaed1e93 100644
--- a/sysutils/mapchan/Makefile
+++ b/sysutils/mapchan/Makefile
@@ -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