- this uses dlopen modules; mark SHARED_ONLY and merge PFRAG.shared to PLIST

- the code to support LCDs connected by parallel port is only for x86;
split the relevant files out to a separate PFRAG which is not used on
other arch

ok edd@ (maintainer)
This commit is contained in:
sthen 2012-01-04 14:19:09 +00:00
parent 1cee6bb7ba
commit f53db56c56
4 changed files with 51 additions and 45 deletions

View File

@ -1,8 +1,10 @@
# $OpenBSD: Makefile,v 1.4 2011/12/02 13:37:44 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.5 2012/01/04 14:19:09 sthen Exp $
SHARED_ONLY = Yes
COMMENT = interface to various LCD displays
DISTNAME = lcdproc-0.5.5
REVISION = 1
REVISION = 2
CATEGORIES = comms devel
HOMEPAGE = http://www.lcdproc.org
MAINTAINER = Edd Barrett <edd@openbsd.org>
@ -45,4 +47,8 @@ post-install:
# lcdvc is a linux specific thing - prevent it appearing in PLIST
rm ${PREFIX}/bin/lcdvc ${PREFIX}/man/man1/lcdvc.1
.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "amd64"
PKG_ARGS += -Dparallel=1
.endif
.include <bsd.port.mk>

View File

@ -0,0 +1,5 @@
@comment $OpenBSD: PFRAG.parallel,v 1.1 2012/01/04 14:19:09 sthen Exp $
lib/lcdproc/sed1330.so
lib/lcdproc/sed1520.so
lib/lcdproc/stv5730.so
lib/lcdproc/t6963.so

View File

@ -1,41 +0,0 @@
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2011/12/01 19:05:11 edd Exp $
lib/lcdproc/CFontz.so
lib/lcdproc/CFontz633.so
lib/lcdproc/CFontzPacket.so
lib/lcdproc/CwLnx.so
lib/lcdproc/EyeboxOne.so
lib/lcdproc/IOWarrior.so
lib/lcdproc/MD8800.so
lib/lcdproc/MtxOrb.so
lib/lcdproc/NoritakeVFD.so
lib/lcdproc/SureElec.so
lib/lcdproc/bayrad.so
lib/lcdproc/curses.so
lib/lcdproc/ea65.so
lib/lcdproc/glk.so
lib/lcdproc/hd44780.so
lib/lcdproc/i2500vfd.so
lib/lcdproc/icp_a106.so
lib/lcdproc/imon.so
lib/lcdproc/imonlcd.so
lib/lcdproc/irtrans.so
lib/lcdproc/lb216.so
lib/lcdproc/lcdm001.so
lib/lcdproc/lcterm.so
lib/lcdproc/lis.so
lib/lcdproc/mdm166a.so
lib/lcdproc/ms6931.so
lib/lcdproc/mtc_s16209x.so
lib/lcdproc/picolcd.so
lib/lcdproc/pyramid.so
lib/lcdproc/sed1330.so
lib/lcdproc/sed1520.so
lib/lcdproc/serialPOS.so
lib/lcdproc/serialVFD.so
lib/lcdproc/shuttleVFD.so
lib/lcdproc/sli.so
lib/lcdproc/stv5730.so
lib/lcdproc/t6963.so
lib/lcdproc/text.so
lib/lcdproc/tyan.so
lib/lcdproc/ula200.so

View File

@ -1,8 +1,8 @@
@comment $OpenBSD: PLIST,v 1.2 2011/12/02 12:39:23 edd Exp $
@comment $OpenBSD: PLIST,v 1.3 2012/01/04 14:19:09 sthen Exp $
@newgroup _lcdproc:687
@newuser _lcdproc:687:687:daemon:LCDproc Daemon:/var/lcdproc:/sbin/nologin
%%SHARED%%
bin/fortune.pl
%%parallel%%
bin/iosock.pl
@bin bin/lcdexec
bin/lcdident.pl
@ -11,6 +11,42 @@ bin/lcdmetar.pl
bin/tail.pl
bin/x11amp.pl
lib/lcdproc/
lib/lcdproc/CFontz.so
lib/lcdproc/CFontz633.so
lib/lcdproc/CFontzPacket.so
lib/lcdproc/CwLnx.so
lib/lcdproc/EyeboxOne.so
lib/lcdproc/IOWarrior.so
lib/lcdproc/MD8800.so
lib/lcdproc/MtxOrb.so
lib/lcdproc/NoritakeVFD.so
lib/lcdproc/SureElec.so
lib/lcdproc/bayrad.so
lib/lcdproc/curses.so
lib/lcdproc/ea65.so
lib/lcdproc/glk.so
lib/lcdproc/hd44780.so
lib/lcdproc/i2500vfd.so
lib/lcdproc/icp_a106.so
lib/lcdproc/imon.so
lib/lcdproc/imonlcd.so
lib/lcdproc/irtrans.so
lib/lcdproc/lb216.so
lib/lcdproc/lcdm001.so
lib/lcdproc/lcterm.so
lib/lcdproc/lis.so
lib/lcdproc/mdm166a.so
lib/lcdproc/ms6931.so
lib/lcdproc/mtc_s16209x.so
lib/lcdproc/picolcd.so
lib/lcdproc/pyramid.so
lib/lcdproc/serialPOS.so
lib/lcdproc/serialVFD.so
lib/lcdproc/shuttleVFD.so
lib/lcdproc/sli.so
lib/lcdproc/text.so
lib/lcdproc/tyan.so
lib/lcdproc/ula200.so
@man man/man1/lcdexec.1
@man man/man1/lcdproc.1
@man man/man5/lcdproc-config.5