aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorrafan <rafan@FreeBSD.org>2008-02-03 16:13:53 +0800
committerrafan <rafan@FreeBSD.org>2008-02-03 16:13:53 +0800
commit691dd467a10bed0fbc966b91ec50b5102e47aacb (patch)
tree8622b499865cb6437e2cace8282fde5d7144a180 /sysutils
parentef70aa266d442be40fc5a279ed999b6e68baa135 (diff)
downloadfreebsd-ports-gnome-691dd467a10bed0fbc966b91ec50b5102e47aacb.tar.gz
freebsd-ports-gnome-691dd467a10bed0fbc966b91ec50b5102e47aacb.tar.zst
freebsd-ports-gnome-691dd467a10bed0fbc966b91ec50b5102e47aacb.zip
- Explicitly set drivers to build
- Disable imon driver which is for Linux only - Add OPTIONS Submitted by: Markus Dolze <bsdfan at nurfuerspam.de> (maintainer)
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/lcdproc/Makefile42
-rw-r--r--sysutils/lcdproc/pkg-plist1
2 files changed, 39 insertions, 4 deletions
diff --git a/sysutils/lcdproc/Makefile b/sysutils/lcdproc/Makefile
index ac7e27bd5880..e09983c8861b 100644
--- a/sysutils/lcdproc/Makefile
+++ b/sysutils/lcdproc/Makefile
@@ -7,7 +7,7 @@
PORTNAME= lcdproc
PORTVERSION= 0.5.2
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -23,19 +23,55 @@ GNU_CONFIGURE= yes
USE_GETOPT_LONG=yes
USE_RC_SUBR= LCDd lcdproc
-CONFIGURE_ARGS= --enable-drivers=all \
+CONFIGURE_ARGS= --enable-drivers="${LCDPROC_DRIVERS}" \
--disable-ldap \
--disable-doxygen
CONFIGURE_ENV= CFLAGS="${CFLAGS}"
+CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAN1= lcdexec.1 lcdproc.1
MAN5= lcdproc-config.5
MAN8= LCDd.8
+OPTIONS= USB "Enable USB support" off
+
+LCDPROC_DRIVERS=bayrad \
+ CFontz \
+ CFontz633 \
+ CFontzPacket \
+ CwLnx \
+ curses \
+ ea65 \
+ EyeboxOne \
+ glk \
+ hd44780 \
+ icp_a106 \
+ lb216 \
+ lcdm001 \
+ lcterm \
+ MD8800 \
+ ms6931 \
+ mtc_s16209x \
+ MtxOrb \
+ NoritakeVFD \
+ pyramid \
+ sed1330 \
+ sed1520 \
+ serialPOS \
+ serialVFD \
+ sli \
+ stv5730 \
+ t6963 \
+ text \
+ tyan
+
+.include <bsd.port.pre.mk>
+
.if defined(WITH_USB)
LIB_DEPENDS+= usb-0.1.8:${PORTSDIR}/devel/libusb
CONFIGURE_ARGS+= --enable-libusb
PLIST_SUB+= USB=""
+LCDPROC_DRIVERS+= IOWarrior
.else
CONFIGURE_ARGS+= --disable-libusb
PLIST_SUB+= USB="@comment "
@@ -50,4 +86,4 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/clients/lcdexec/lcdexec.conf ${PREFIX}/etc/lcdexec.conf.sample
${INSTALL_DATA} ${WRKSRC}/clients/lcdvc/lcdvc.conf ${PREFIX}/etc/lcdvc.conf.sample
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/sysutils/lcdproc/pkg-plist b/sysutils/lcdproc/pkg-plist
index 16aa8a246902..153d98acd769 100644
--- a/sysutils/lcdproc/pkg-plist
+++ b/sysutils/lcdproc/pkg-plist
@@ -25,7 +25,6 @@ lib/lcdproc/curses.so
lib/lcdproc/glk.so
lib/lcdproc/hd44780.so
lib/lcdproc/icp_a106.so
-lib/lcdproc/imon.so
lib/lcdproc/lb216.so
lib/lcdproc/lcdm001.so
lib/lcdproc/lcterm.so