archivers/star: replace in less files and fix build
This commit is contained in:
parent
5e46d02660
commit
3b6d12f7a1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=500683
1 changed files with 18 additions and 3 deletions
|
@ -2,7 +2,8 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= star
|
||||
DISTVERSION= 1.6
|
||||
PORTVERSION= 1.6
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= archivers
|
||||
MASTER_SITES= SF/s-tar
|
||||
|
||||
|
@ -27,9 +28,23 @@ PORTDOCS= README README.crash README.mtio README.pattern STARvsGNUTAR \
|
|||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
post-patch:
|
||||
@${FIND} ${WRKSRC} -type f -print \
|
||||
| ${XARGS} ${REINPLACE_CMD} -e "s@/etc/default@${PREFIX}/etc@g"
|
||||
@${MV} ${WRKSRC}/rmt/rmt.1 ${WRKSRC}/rmt/srmt.1
|
||||
@${REINPLACE_CMD} -e "s@/etc/default@${PREFIX}/etc@g" \
|
||||
${WRKSRC}/Mcsw \
|
||||
${WRKSRC}/include/schily/deflts.h \
|
||||
${WRKSRC}/rmt/rmt.c \
|
||||
${WRKSRC}/rmt/rmt.dfl \
|
||||
${WRKSRC}/rmt/srmt.1 \
|
||||
${WRKSRC}/star/Makefile.dfl \
|
||||
${WRKSRC}/star/defaults.c \
|
||||
${WRKSRC}/star/star.1 \
|
||||
${WRKSRC}/star/star.c \
|
||||
${WRKSRC}/star/star.dfl \
|
||||
${WRKSRC}/star/suntar.c
|
||||
|
||||
pre-build:
|
||||
@${WRKSRC}/conf/cc-config.sh cc cc ${WRKSRC}/incs/Dcc.${ARCH}-freebsd
|
||||
@cd ${WRKSRC}/RULES && ${SH} ./MKLINKS
|
||||
|
||||
post-stage:
|
||||
@${RM} ${STAGEDIR}/${PREFIX}/bin/mt \
|
||||
|
|
Loading…
Reference in a new issue