aboutsummaryrefslogtreecommitdiff
path: root/sysutils/asusoled
diff options
context:
space:
mode:
authorStanislav Sedov <stas@FreeBSD.org>2009-03-09 17:15:43 +0000
committerStanislav Sedov <stas@FreeBSD.org>2009-03-09 17:15:43 +0000
commitf5d05ea54d1f80ecd08c5809a3ce5e1594e34eaa (patch)
tree343e91600b9cf81ffb94bf71017b43a88bfcbf45 /sysutils/asusoled
parente9e0ba8df0a817712eab81d4a962e79cae35dca1 (diff)
downloadports-f5d05ea54d1f80ecd08c5809a3ce5e1594e34eaa.tar.gz
ports-f5d05ea54d1f80ecd08c5809a3ce5e1594e34eaa.zip
Notes
Diffstat (limited to 'sysutils/asusoled')
-rw-r--r--sysutils/asusoled/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/sysutils/asusoled/Makefile b/sysutils/asusoled/Makefile
index 29be8076e83d..424d22d4870d 100644
--- a/sysutils/asusoled/Makefile
+++ b/sysutils/asusoled/Makefile
@@ -15,7 +15,6 @@ DISTNAME= ${PORTNAME}-${PORTVERSION}
MAINTAINER= jkim@FreeBSD.org
COMMENT= Utility for ASUS USB OLED Display
-LIB_DEPENDS= usb-0.1.8:${PORTSDIR}/devel/libusb
RUN_DEPENDS= ${FONTDIR}/TTF/luxisr.ttf:${PORTSDIR}/x11-fonts/font-bh-ttf
USE_SDL= image sdl ttf
@@ -30,6 +29,12 @@ MAKE_ARGS+= TTF_FONT=${FONTDIR}/TTF/luxisr.ttf
FONTDIR?= ${LOCALBASE}/lib/X11/fonts
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 800069
+LIB_DEPENDS+= usb-0.1.8:${PORTSDIR}/devel/libusb
+.endif
+
post-install:
.if !defined(NOPORTDATA)
@${MKDIR} ${DATADIR}
@@ -48,4 +53,4 @@ post-install:
@${CAT} ${PKGMESSAGE}
@${ECHO}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>