aboutsummaryrefslogtreecommitdiff
path: root/sysutils/lcdproc
diff options
context:
space:
mode:
authorRong-En Fan <rafan@FreeBSD.org>2008-02-03 08:13:53 +0000
committerRong-En Fan <rafan@FreeBSD.org>2008-02-03 08:13:53 +0000
commitc80f863194b6dddacedb00e1be4a00480c64c4a3 (patch)
tree3fde05ab19dd57f6ca6fb486efd6beda2d6e6802 /sysutils/lcdproc
parent7a59ee349902743283fc783480b8d18fce5b266b (diff)
downloadports-c80f863194b6dddacedb00e1be4a00480c64c4a3.tar.gz
ports-c80f863194b6dddacedb00e1be4a00480c64c4a3.zip
Notes
Diffstat (limited to 'sysutils/lcdproc')
-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