aboutsummaryrefslogtreecommitdiff
path: root/comms/uhso-kmod/Makefile
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2010-08-13 14:35:08 +0000
committerPav Lucistnik <pav@FreeBSD.org>2010-08-13 14:35:08 +0000
commitbbf61b662c8049a44e79d7d7ef36e9f8ecd2f133 (patch)
tree8425e5576ed4845c9c9a2b1274dbf0dd961d9250 /comms/uhso-kmod/Makefile
parent7a1ca5ae83cebdd4cd716f9b29b71ca534ae07ee (diff)
downloadports-bbf61b662c8049a44e79d7d7ef36e9f8ecd2f133.tar.gz
ports-bbf61b662c8049a44e79d7d7ef36e9f8ecd2f133.zip
Notes
Diffstat (limited to 'comms/uhso-kmod/Makefile')
-rw-r--r--comms/uhso-kmod/Makefile24
1 files changed, 16 insertions, 8 deletions
diff --git a/comms/uhso-kmod/Makefile b/comms/uhso-kmod/Makefile
index b329a5a2bbc7..4c6eb9606b3b 100644
--- a/comms/uhso-kmod/Makefile
+++ b/comms/uhso-kmod/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= uhso
-PORTVERSION= 20091122
+PORTVERSION= 20100416
CATEGORIES= comms kld
MASTER_SITES= http://www.shapeshifter.se/pub/hso/
PKGNAMESUFFIX= -kmod
@@ -38,25 +38,33 @@ IGNORE= requires FreeBSD 8.0 or later, please try comms/hso-kmod instead
.endif
.if !defined(WITHOUT_UHSOCTL)
-UHSOCTL_VERSION= 20090820
-DISTFILES+= uhsoctl-beta-${UHSOCTL_VERSION}${EXTRACT_SUFX}
-WRKSRC_UHSOCTL= ${WRKDIR}/uhsoctl-beta-${UHSOCTL_VERSION}
+UHSOCTL_VERSION= 20100416
+DISTFILES+= uhsoctl-${UHSOCTL_VERSION}${EXTRACT_SUFX}
+WRKSRC_UHSOCTL= ${WRKDIR}/uhsoctl-${UHSOCTL_VERSION}
PLIST_SUB+= PL_UHSOCTL=""
MAN1= uhsoctl.1
.else
PLIST_SUB+= PL_UHSOCTL="@comment "
.endif
-.if defined(WITH_DEBUG)
-EXTRA_PATCHES+= ${PATCHDIR}/UHSO-DEBUG-patch-Makefile
+.if !defined(WITH_DEBUG)
+EXTRA_PATCHES+= ${PATCHDIR}/UHSO-NODEBUG-patch-Makefile
+.endif
+
+pre-fetch:
+.if ${OSVERSION} >= 800501
+ @${ECHO_CMD} ""
+ @${ECHO_CMD} "==================================================================="
+ @${ECHO_CMD} " Warning: the uhso driver is already available in the base system,"
+ @${ECHO_CMD} " you may want to use this version instead of the port."
+ @${ECHO_CMD} "==================================================================="
+ @${ECHO_CMD} ""
.endif
post-patch:
.if !defined(WITHOUT_UHSOCTL)
.if defined(WITH_DEBUG)
@${PATCH} -d ${WRKSRC_UHSOCTL} < ${PATCHDIR}/UHSOCTL-DEBUG-patch-Makefile
-.else
- @${PATCH} -d ${WRKSRC_UHSOCTL} < ${PATCHDIR}/UHSOCTL-NODEBUG-patch-Makefile
.endif
.endif