aboutsummaryrefslogtreecommitdiff
path: root/sysutils
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
parentfbd7b2459bd78411ac70bb561ff144154625d42c (diff)
downloadports-037080521850913746aa6f3576d37e9c9bc10a2c.tar.gz
ports-037080521850913746aa6f3576d37e9c9bc10a2c.zip
Notes
Diffstat (limited to 'sysutils')
-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