From c9ab30e34e1a4b26ab963b24e23a1f3237c43916 Mon Sep 17 00:00:00 2001 From: gahr Date: Tue, 8 Jul 2008 22:44:04 +0000 Subject: - Update to 12 [1] - Handle case when KMODDIR does not exist before port installation PR: 124854 [1] Submitted by: Alex Keda (maintainer) [1] --- net/skystar2/Makefile | 6 ++++-- net/skystar2/distinfo | 6 +++--- net/skystar2/pkg-plist | 1 + 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 -- cgit