aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorjgh <jgh@FreeBSD.org>2013-12-22 14:02:39 +0800
committerjgh <jgh@FreeBSD.org>2013-12-22 14:02:39 +0800
commit8e00e1a6a6b43d65eaf236d6d80cb0eebdce3465 (patch)
tree16e94662cf2dd009ddd792a8ccd3d3ccc7a85c80 /net
parent327885f1f90fed5f18251ec4f576b58af21de2e3 (diff)
downloadfreebsd-ports-gnome-8e00e1a6a6b43d65eaf236d6d80cb0eebdce3465.tar.gz
freebsd-ports-gnome-8e00e1a6a6b43d65eaf236d6d80cb0eebdce3465.tar.zst
freebsd-ports-gnome-8e00e1a6a6b43d65eaf236d6d80cb0eebdce3465.zip
- update to 1.01 [1]
- add europe mirror in svnup.conf [2] - while here convert to staging PR: 182149 Submitted by: jcm@visi.com (maintainer) [1], mspil.oss@gmail.com [2]
Diffstat (limited to 'net')
-rw-r--r--net/svnup/Makefile32
-rw-r--r--net/svnup/distinfo4
-rw-r--r--net/svnup/pkg-plist2
3 files changed, 17 insertions, 21 deletions
diff --git a/net/svnup/Makefile b/net/svnup/Makefile
index e0f0ebefaca3..6c603f249b1a 100644
--- a/net/svnup/Makefile
+++ b/net/svnup/Makefile
@@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= svnup
-PORTVERSION= 1.0
+PORTVERSION= 1.01
CATEGORIES= net
MASTER_SITES= http://jcm.dsl.visi.com/freebsd/svnup/ \
LOCAL/jgh/net/${PORTNAME}/
@@ -14,13 +14,9 @@ LICENSE= BSD
LDFLAGS+= -lmd -lssl
USE_XZ= yes
-MAN1= ${PORTNAME}.1
-MAN5= ${PORTNAME}.conf.5
-PORTDOCS= ChangeLog
-
-NO_STAGE= yes
post-patch-script:
- @${REINPLACE_CMD} -e 's|8.3|${OSREL}|' ${WRKSRC}/svnup.conf
+ @${REINPLACE_CMD} -e 's|\/stable\/8|\/stable\/${OSREL:R}|' ${WRKSRC}/svnup.conf
+ @${REINPLACE_CMD} -e 's|\/releng\/8.3|\/releng\/${OSREL}|' ${WRKSRC}/svnup.conf
do-build:
cd ${WRKSRC} && \
@@ -29,21 +25,19 @@ do-build:
.include <bsd.port.options.mk>
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MAN1PREFIX}/man/man1
- ${INSTALL_MAN} ${WRKSRC}/${MAN5} ${MAN5PREFIX}/man/man5
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
+ ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.conf.5 ${STAGEDIR}${MAN5PREFIX}/man/man5
post-install:
-.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/ChangeLog ${DOCSDIR}
-.endif
- @${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.conf ${PREFIX}/etc/${PORTNAME}.conf.sample
- @if [ ! -e "${PREFIX}/etc/${PORTNAME}.conf" ]; then \
- ${ECHO_MSG} " Installing local configuration file: ${PREFIX}/etc/${PORTNAME}.conf"; \
- ${CP} ${PREFIX}/etc/${PORTNAME}.conf.sample ${PREFIX}/etc/${PORTNAME}.conf; \
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/ChangeLog ${STAGEDIR}${DOCSDIR}
+ @${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.conf ${STAGEDIR}${PREFIX}/etc/${PORTNAME}.conf.sample
+ @if [ ! -e "${STAGEDIR}${PREFIX}/etc/${PORTNAME}.conf" ]; then \
+ ${ECHO_MSG} " Installing local configuration file: ${STAGEDIR}${PREFIX}/etc/${PORTNAME}.conf"; \
+ ${CP} ${STAGEDIR}${PREFIX}/etc/${PORTNAME}.conf.sample ${STAGEDIR}${PREFIX}/etc/${PORTNAME}.conf; \
else \
- ${ECHO_MSG} " Preserving local configuration file: ${ETCDIR}/${PORTNAME}.conf"; \
+ ${ECHO_MSG} " Preserving local configuration file: ${STAGEDIR}${ETCDIR}/${PORTNAME}.conf"; \
fi
.include <bsd.port.mk>
diff --git a/net/svnup/distinfo b/net/svnup/distinfo
index c585ef3ac2cf..03ebbe279afd 100644
--- a/net/svnup/distinfo
+++ b/net/svnup/distinfo
@@ -1,2 +1,2 @@
-SHA256 (svnup-1.0.tar.xz) = 6d09980a0881e681fabd00c63cabd6f2bb80d3f2cb5f02212297533011e25a97
-SIZE (svnup-1.0.tar.xz) = 18440
+SHA256 (svnup-1.01.tar.xz) = 52d94ca71a46fd8bda9c6a4a042acca4b49413271a3b140db0501cf7051550e2
+SIZE (svnup-1.01.tar.xz) = 18492
diff --git a/net/svnup/pkg-plist b/net/svnup/pkg-plist
index 300d980af819..14f0602f7a29 100644
--- a/net/svnup/pkg-plist
+++ b/net/svnup/pkg-plist
@@ -1,4 +1,6 @@
bin/svnup
+man/man1/svnup.1.gz
+man/man5/svnup.conf.5.gz
@unexec if cmp -s %D/etc/svnup.conf.sample %D/etc/svnup.conf; then rm -f %D/etc/svnup.conf; else echo "If permanently removing this package, then please consider removing %D/etc/svnup.conf" ;fi
etc/svnup.conf.sample
@exec if [ ! -f %D/etc/svnup.conf ] ; then cp -p %D/etc/svnup.conf.sample %D/etc/svnup.conf; fi