diff options
author | bsam <bsam@FreeBSD.org> | 2013-11-22 03:43:18 +0800 |
---|---|---|
committer | bsam <bsam@FreeBSD.org> | 2013-11-22 03:43:18 +0800 |
commit | a0285239a0a99588816f5ac1f010a4cdbdb9df24 (patch) | |
tree | 51d5a49ba7278dcf50ea6f20ec53fd087a4b61da | |
parent | d141a95aa5657d9e69949543b9c8aef639827093 (diff) | |
download | freebsd-ports-gnome-a0285239a0a99588816f5ac1f010a4cdbdb9df24.tar.gz freebsd-ports-gnome-a0285239a0a99588816f5ac1f010a4cdbdb9df24.tar.zst freebsd-ports-gnome-a0285239a0a99588816f5ac1f010a4cdbdb9df24.zip |
. remove unneeded include of bsd.port.options.mk;
. fix stage orphans error;
. mute temporary file manipulation (mv, rm).
-rw-r--r-- | sysutils/mapchan/Makefile | 5 |
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 |