1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

- Make dependency on XOSD optional.

- Use DATADIR in plist.

PR:		94779
Submitted by:	Benjamin Lutz <benlutz@datacomm.ch>
Approved by:	maintainer, arved (mentor)
This commit is contained in:
Stefan Walter 2006-05-21 14:24:55 +00:00
parent 087cb078c0
commit 4a92e653a0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=162941
2 changed files with 43 additions and 36 deletions

View File

@ -15,21 +15,28 @@ DISTNAME= hotkeys_${PORTVERSION}
MAINTAINER= amp0928@rit.edu
COMMENT= Allows usage of special keys on internet/multimedia keyboards
LIB_DEPENDS= xosd.4:${PORTSDIR}/misc/xosd \
xml2.5:${PORTSDIR}/textproc/libxml2 \
LIB_DEPENDS= xml2.5:${PORTSDIR}/textproc/libxml2 \
db3.3:${PORTSDIR}/databases/db3
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
GNU_CONFIGURE= 1
CONFIGURE_ARGS= --with-db3-inc=${LOCALBASE}/include/db3 \
--with-db3-lib=${LOCALBASE}/lib \
--with-xosd
USE_GMAKE= yes
--with-db3-lib=${LOCALBASE}/lib
GNU_CONFIGURE= yes
USE_GMAKE= yes
MAN1= hotkeys.1
ORIG_CONFIG= ${PREFIX}/etc/hotkeys.conf
SAMPLE_CONFIG= ${PREFIX}/etc/hotkeys.conf.sample
OPTIONS= XOSD "Enable On-Screen-Display support" on
.include <bsd.port.pre.mk>
.if !defined(WITHOUT_XOSD)
LIB_DEPENDS+= xosd.4:${PORTSDIR}/misc/xosd
CONFIGURE_ARGS+= --with-xosd
.endif
post-extract:
@${CP} ${PATCHDIR}/error.h ${WRKSRC}/src
@${CP} ${PATCHDIR}/eliteduo.def ${WRKSRC}/def
@ -39,4 +46,4 @@ post-install:
@${MV} ${ORIG_CONFIG} ${SAMPLE_CONFIG}
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
.include <bsd.port.post.mk>

View File

@ -1,31 +1,31 @@
bin/hotkeys
etc/hotkeys.conf.sample
share/hotkeys/splash.png
share/hotkeys/acerwl.def
share/hotkeys/btc9000.def
share/hotkeys/eliteduo.def
share/hotkeys/hp5181.def
share/hotkeys/ibook.def
share/hotkeys/itouch.def
share/hotkeys/kb9930.def
share/hotkeys/kb9963.def
share/hotkeys/kbp8993.def
share/hotkeys/logitech-cfo.def
share/hotkeys/logitech-ultrax.def
share/hotkeys/mck800.def
share/hotkeys/msnatpro.def
share/hotkeys/msnet.def
share/hotkeys/msnetpro.def
share/hotkeys/mx1998.def
share/hotkeys/mx2500.def
share/hotkeys/mx3000.def
share/hotkeys/orktekusb.def
share/hotkeys/pb5140w.def
share/hotkeys/polypix.def
share/hotkeys/sk2500.def
share/hotkeys/sk2501a.def
share/hotkeys/sk2505.def
share/hotkeys/sk2800c.def
share/hotkeys/sk7100.def
share/hotkeys/sk9925.def
@dirrm share/hotkeys
%%DATADIR%%/splash.png
%%DATADIR%%/acerwl.def
%%DATADIR%%/btc9000.def
%%DATADIR%%/eliteduo.def
%%DATADIR%%/hp5181.def
%%DATADIR%%/ibook.def
%%DATADIR%%/itouch.def
%%DATADIR%%/kb9930.def
%%DATADIR%%/kb9963.def
%%DATADIR%%/kbp8993.def
%%DATADIR%%/logitech-cfo.def
%%DATADIR%%/logitech-ultrax.def
%%DATADIR%%/mck800.def
%%DATADIR%%/msnatpro.def
%%DATADIR%%/msnet.def
%%DATADIR%%/msnetpro.def
%%DATADIR%%/mx1998.def
%%DATADIR%%/mx2500.def
%%DATADIR%%/mx3000.def
%%DATADIR%%/orktekusb.def
%%DATADIR%%/pb5140w.def
%%DATADIR%%/polypix.def
%%DATADIR%%/sk2500.def
%%DATADIR%%/sk2501a.def
%%DATADIR%%/sk2505.def
%%DATADIR%%/sk2800c.def
%%DATADIR%%/sk7100.def
%%DATADIR%%/sk9925.def
@dirrm %%DATADIR%%