aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordanilo <danilo@FreeBSD.org>2013-12-15 03:23:56 +0800
committerdanilo <danilo@FreeBSD.org>2013-12-15 03:23:56 +0800
commit43759b53de04f1cb83bdfec5d658b63dc02937d7 (patch)
tree59cbe4448db12f8999db8a0c0cdc78ba3c5aaeb4
parentb9a15bb9e6e1a5176f79c372fd71650dc8d2bc8f (diff)
downloadfreebsd-ports-gnome-43759b53de04f1cb83bdfec5d658b63dc02937d7.tar.gz
freebsd-ports-gnome-43759b53de04f1cb83bdfec5d658b63dc02937d7.tar.zst
freebsd-ports-gnome-43759b53de04f1cb83bdfec5d658b63dc02937d7.zip
- Update from 9.2.5 to 10.0.0 [1]
- Add stage support - Convert LIB_DEPENDS to new syntax PR: ports/184765 Submitted by: Oleg Ginzburg <olevole@olevole.ru> (maintainer) [1]
-rw-r--r--sysutils/cbsd/Makefile20
-rw-r--r--sysutils/cbsd/distinfo4
-rw-r--r--sysutils/cbsd/files/patch-Makefile14
3 files changed, 24 insertions, 14 deletions
diff --git a/sysutils/cbsd/Makefile b/sysutils/cbsd/Makefile
index daa9c18e1378..e0b842892c33 100644
--- a/sysutils/cbsd/Makefile
+++ b/sysutils/cbsd/Makefile
@@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= cbsd
-PORTVERSION= 9.2.5
+PORTVERSION= 10.0.0
CATEGORIES= sysutils
MASTER_SITES= http://www.bsdstore.ru/downloads/ \
GH
@@ -14,21 +14,18 @@ LICENSE= BSD
RUN_DEPENDS= rsync:${PORTSDIR}/net/rsync \
sudo:${PORTSDIR}/security/sudo \
sqlite3:${PORTSDIR}/databases/sqlite3
-LIB_DEPENDS= ssh2:${PORTSDIR}/security/libssh2
+LIB_DEPENDS= libssh2.so:${PORTSDIR}/security/libssh2
USE_GITHUB= yes
GH_ACCOUNT= olevole
GH_PROJECT= cbsd
-GH_COMMIT= f39bd8f
+GH_COMMIT= 1d65639
SUB_FILES= pkg-message
+PLIST_FILES+= man/man8/cbsd.8.gz
CBSD_HOME?= ${PREFIX}/cbsd
-MAN8= cbsd.8
-
-NO_STAGE= yes
-
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 901000
@@ -40,10 +37,9 @@ RUN_DEPENDS+= sysrc:${PORTSDIR}/sysutils/sysrc
.endif
post-install:
- @${FIND} -s ${CBSD_HOME} -not -type d | ${SORT} | \
- ${SED} -e 's#^${PREFIX}/##' >> ${TMPPLIST}
- @${FIND} ${CBSD_HOME} -type d | ${SORT} -r | \
- ${SED} -e 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
- @${CAT} ${PKGMESSAGE}
+ @${FIND} -s ${STAGEDIR}${CBSD_HOME} -not -type d | ${SORT} | \
+ ${SED} -e 's#^${STAGEDIR}${PREFIX}/##' >> ${TMPPLIST}
+ @${FIND} ${STAGEDIR}${CBSD_HOME} -type d | ${SORT} -r | \
+ ${SED} -e 's,^${STAGEDIR}${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
.include <bsd.port.post.mk>
diff --git a/sysutils/cbsd/distinfo b/sysutils/cbsd/distinfo
index a2b6c71110f0..16eabcd03b9f 100644
--- a/sysutils/cbsd/distinfo
+++ b/sysutils/cbsd/distinfo
@@ -1,2 +1,2 @@
-SHA256 (cbsd-9.2.5.tar.gz) = c647a138f067645e6c267e8ebbaaccac7a7017c96347aea8ffabaf5caca18ae7
-SIZE (cbsd-9.2.5.tar.gz) = 1725182
+SHA256 (cbsd-10.0.0.tar.gz) = ef527e2925a0be7fc59f43230caa9c9faf0e73043cec812d8b9bc966a2e1844d
+SIZE (cbsd-10.0.0.tar.gz) = 1747707
diff --git a/sysutils/cbsd/files/patch-Makefile b/sysutils/cbsd/files/patch-Makefile
new file mode 100644
index 000000000000..bb0f1c8fd038
--- /dev/null
+++ b/sysutils/cbsd/files/patch-Makefile
@@ -0,0 +1,14 @@
+--- ./Makefile.orig 2013-12-14 16:53:31.000000000 -0200
++++ ./Makefile 2013-12-14 16:53:49.000000000 -0200
+@@ -3,7 +3,7 @@
+ all:
+
+ install:
+- mkdir -p ${PREFIX}/cbsd
+- cp -Rpv * ${PREFIX}/cbsd/
+- cp -Rpv .ssh ${PREFIX}/cbsd/
+- install man/cbsd.8 ${PREFIX}/man/man8/cbsd.8
++ mkdir -p ${DESTDIR}${PREFIX}/cbsd
++ cp -Rpv * ${DESTDIR}${PREFIX}/cbsd/
++ cp -Rpv .ssh ${DESTDIR}${PREFIX}/cbsd/
++ install man/cbsd.8 ${DESTDIR}${PREFIX}/man/man8/cbsd.8