sysutils/apt-mirror-devel: simplify installing the sample configuration file.
It looks like the build cluster failed to build the previous revision of this port, although local poudriere bulk -t was fine.
This commit is contained in:
parent
4d967d8aae
commit
5d17617b18
2 changed files with 2 additions and 4 deletions
|
@ -1,7 +1,7 @@
|
|||
PORTNAME= apt-mirror
|
||||
DISTVERSION= 0.5.4-35
|
||||
DISTVERSIONSUFFIX= -g088fa51
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= sysutils
|
||||
PKGNAMESUFFIX= -devel
|
||||
|
||||
|
@ -22,7 +22,5 @@ NO_ARCH= yes
|
|||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|g' ${WRKSRC}/Makefile
|
||||
@${MKDIR} ${STAGEDIR}/etc/apt
|
||||
@${CP} ${WRKSRC}/mirror.list ${STAGEDIR}/etc/apt/mirror.list.sample
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
pod2man apt-mirror > $(DESTDIR)$(PREFIX)/share/man/man1/apt-mirror.1
|
||||
- if test ! -f $(DESTDIR)/etc/apt/mirror.list; then install -m 644 -D mirror.list $(DESTDIR)/etc/apt/mirror.list; fi
|
||||
+ mkdir -p $(DESTDIR)/etc/apt
|
||||
+ if test ! -f $(DESTDIR)/etc/apt/mirror.list; then install -m 644 mirror.list $(DESTDIR)/etc/apt/mirror.list; fi
|
||||
+ if test ! -f $(DESTDIR)/etc/apt/mirror.list.sample; then install -m 644 mirror.list $(DESTDIR)/etc/apt/mirror.list.sample; fi
|
||||
mkdir -p $(DESTDIR)$(BASE_PATH)/mirror
|
||||
mkdir -p $(DESTDIR)$(BASE_PATH)/skel
|
||||
mkdir -p $(DESTDIR)$(BASE_PATH)/var
|
||||
|
|
Loading…
Reference in a new issue