aboutsummaryrefslogtreecommitdiffstats
path: root/net/skystar2
diff options
context:
space:
mode:
authorgahr <gahr@FreeBSD.org>2008-07-09 06:44:04 +0800
committergahr <gahr@FreeBSD.org>2008-07-09 06:44:04 +0800
commitc9ab30e34e1a4b26ab963b24e23a1f3237c43916 (patch)
tree37dc0a9d055653031742e55fc45f6e1e6d05b210 /net/skystar2
parent395b42b502ce1b2b2895e8b754b26dfb4d747ad0 (diff)
downloadfreebsd-ports-gnome-c9ab30e34e1a4b26ab963b24e23a1f3237c43916.tar.gz
freebsd-ports-gnome-c9ab30e34e1a4b26ab963b24e23a1f3237c43916.tar.zst
freebsd-ports-gnome-c9ab30e34e1a4b26ab963b24e23a1f3237c43916.zip
- Update to 12 [1]
- Handle case when KMODDIR does not exist before port installation PR: 124854 [1] Submitted by: Alex Keda <admin@lissyara.su> (maintainer) [1]
Diffstat (limited to 'net/skystar2')
-rw-r--r--net/skystar2/Makefile6
-rw-r--r--net/skystar2/distinfo6
-rw-r--r--net/skystar2/pkg-plist1
3 files changed, 8 insertions, 5 deletions
diff --git a/net/skystar2/Makefile b/net/skystar2/Makefile
index dbc8d81d2ba1..e9103ba04f66 100644
--- a/net/skystar2/Makefile
+++ b/net/skystar2/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= skystar2
-PORTVERSION= 11
-PORTREVISION= 1
+PORTVERSION= 12
CATEGORIES= net
MASTER_SITES= http://paradox.org.ua/ \
http://lissyara.su/patch/skystar2/
@@ -31,6 +30,9 @@ pre-fetch:
exit 1
.endif
+pre-install:
+ ${INSTALL} -d ${KMODDIR}
+
post-install:
@${INSTALL_DATA} ${WRKSRC}/etc/channels.conf.dist ${PREFIX}/etc/
@${CAT} ${PKGMESSAGE}
diff --git a/net/skystar2/distinfo b/net/skystar2/distinfo
index cbe46b101fa7..251beec815a7 100644
--- a/net/skystar2/distinfo
+++ b/net/skystar2/distinfo
@@ -1,3 +1,3 @@
-MD5 (skystar2_11.tar.bz2) = 3165178e1da2fff5e1fa69031426a683
-SHA256 (skystar2_11.tar.bz2) = c57f8ec896a0de5d25905d5e1ef79340b5c63626de0ed8f24e76523a0d32fd65
-SIZE (skystar2_11.tar.bz2) = 42321
+MD5 (skystar2_12.tar.bz2) = d083c4d248d565561255d18dfaf80415
+SHA256 (skystar2_12.tar.bz2) = 7af9f8e4da7559af17997b4958f473bf8f533b3216c493e5b3b636704c53e300
+SIZE (skystar2_12.tar.bz2) = 42372
diff --git a/net/skystar2/pkg-plist b/net/skystar2/pkg-plist
index 60ccbd7e2558..18cdff9f3faf 100644
--- a/net/skystar2/pkg-plist
+++ b/net/skystar2/pkg-plist
@@ -6,3 +6,4 @@ etc/channels.conf.dist
skystar2.ko
@unexec /bin/rm %D/skystar2.ko.symbols 2>/dev/null || /usr/bin/true
@unexec kldxref %D
+@unexec /bin/rmdir %D 2>/dev/null || /usr/bin/true