mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
. remove unneeded include of bsd.port.options.mk;
. fix stage orphans error; . mute temporary file manipulation (mv, rm).
This commit is contained in:
parent
fbd7b2459b
commit
0370805218
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=334513
1 changed files with 2 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue