Fix substitution in ddupcron.sh.
PR: 48131 Submitted by: Kimura Fuyuki <fuyuki@hadaly.org>
This commit is contained in:
parent
4d0923d90c
commit
d4bc1f0df4
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=75464
2 changed files with 4 additions and 4 deletions
|
@ -7,7 +7,7 @@
|
|||
|
||||
PORTNAME= ddup
|
||||
PORTVERSION= 3.0.1
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= ${MASTER_SITES_LOCAL}
|
||||
DISTNAME= ${PORTNAME}-${PORTVERSION}-unix
|
||||
|
@ -32,7 +32,7 @@ post-extract:
|
|||
@${GUNZIP_CMD} ${WRKSRC}/ddup.1.gz
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's,!!PREFIX!!,${PREFIX},' ${WRKSRC}/ddupcron.sh
|
||||
@${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},' ${WRKSRC}/ddupcron.sh
|
||||
@${REINPLACE_CMD} -e 's,/etc\b,${PREFIX}$$&,' ${WRKSRC}/ddup.1
|
||||
|
||||
pre-build:
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
PORTNAME= ddup
|
||||
PORTVERSION= 3.0.1
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= ${MASTER_SITES_LOCAL}
|
||||
DISTNAME= ${PORTNAME}-${PORTVERSION}-unix
|
||||
|
@ -32,7 +32,7 @@ post-extract:
|
|||
@${GUNZIP_CMD} ${WRKSRC}/ddup.1.gz
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's,!!PREFIX!!,${PREFIX},' ${WRKSRC}/ddupcron.sh
|
||||
@${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},' ${WRKSRC}/ddupcron.sh
|
||||
@${REINPLACE_CMD} -e 's,/etc\b,${PREFIX}$$&,' ${WRKSRC}/ddup.1
|
||||
|
||||
pre-build:
|
||||
|
|
Loading…
Reference in a new issue