diff options
author | nox <nox@FreeBSD.org> | 2014-01-27 01:37:03 +0800 |
---|---|---|
committer | nox <nox@FreeBSD.org> | 2014-01-27 01:37:03 +0800 |
commit | 0b70c9095e5d03a876479c4d3db5b2e0301b8ab6 (patch) | |
tree | dbd95d198cc18646bc3abb27d5903e8f035576f8 | |
parent | 59fbd8600edc6bdeb96b1ef7b4887e697c1dbeba (diff) | |
download | freebsd-ports-gnome-0b70c9095e5d03a876479c4d3db5b2e0301b8ab6.tar.gz freebsd-ports-gnome-0b70c9095e5d03a876479c4d3db5b2e0301b8ab6.tar.zst freebsd-ports-gnome-0b70c9095e5d03a876479c4d3db5b2e0301b8ab6.zip |
- Switch to USES= gmake.
- Stagify.
-rw-r--r-- | comms/lirc/Makefile | 23 | ||||
-rw-r--r-- | comms/lirc/pkg-plist | 13 |
2 files changed, 20 insertions, 16 deletions
diff --git a/comms/lirc/Makefile b/comms/lirc/Makefile index f248dc6c76f7..45d601f18734 100644 --- a/comms/lirc/Makefile +++ b/comms/lirc/Makefile @@ -15,9 +15,9 @@ COMMENT= Linux Infrared Remote Control BUILD_DEPENDS= v4l_compat>=1.0.20110603:${PORTSDIR}/multimedia/v4l_compat USE_AUTOTOOLS= libtool automake autoheader aclocal autoconf +USES= gmake ACLOCAL_ARGS= -I "${ACLOCAL_DIR}" -I ${LOCALBASE}/share/aclocal USE_BZIP2= yes -USE_GMAKE= yes USE_XORG= sm x11 USE_PYTHON= yes USE_CSTD= gnu89 @@ -39,7 +39,6 @@ PORTDOCS= html images irxevent.keys lirc.css lirc.hwdb PORTEXAMPLES= remotes SUB_FILES= pkg-message lircd.conf -NO_STAGE= yes .include <bsd.port.pre.mk> .if exists(${LOCALBASE}/lib/libvga.so.1) @@ -65,10 +64,6 @@ CONFIGURE_ARGS+= --enable-debug RUN_DEPENDS+= uartlirc>=0.3:${PORTSDIR}/comms/uartlirc .endif -MAN1= ircat.1 irexec.1 irpty.1 irrecord.1 irsend.1 irw.1 \ - irxevent.1 lircrcd.1 mode2.1 smode2.1 xmode2.1 -MAN8= lircd.8 lircmd.8 - # XXX: work around an issue with automake-1.13 erroring out on a # non-existent m4 directory before libtoolize creates it pre-configure:: @@ -76,18 +71,14 @@ pre-configure:: post-install: .if ${PORT_OPTIONS:MDOCS} - @(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} html ${DOCSDIR}/) - @(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} images ${DOCSDIR}/) - @(cd ${WRKSRC}/doc && ${INSTALL_DATA} irxevent.keys lirc.css lirc.hwdb ${DOCSDIR}/) + @(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} html ${STAGEDIR}${DOCSDIR}/) + @(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} images ${STAGEDIR}${DOCSDIR}/) + @(cd ${WRKSRC}/doc && ${INSTALL_DATA} irxevent.keys lirc.css lirc.hwdb ${STAGEDIR}${DOCSDIR}/) .endif .if ${PORT_OPTIONS:MEXAMPLES} - @(cd ${WRKSRC} && ${COPYTREE_SHARE} remotes ${EXAMPLESDIR}/) + @(cd ${WRKSRC} && ${COPYTREE_SHARE} remotes ${STAGEDIR}${EXAMPLESDIR}/) .endif - @${INSTALL_DATA} ${WRKDIR}/lircd.conf ${PREFIX}/etc/lircd.conf.sample - @if [ ! -f ${PREFIX}/etc/lircd.conf ]; then \ - ${INSTALL_DATA} ${WRKDIR}/lircd.conf ${PREFIX}/etc; \ - fi - @${MKDIR} /var/run/lirc - @${CAT} ${PKGMESSAGE} + @${INSTALL_DATA} ${WRKDIR}/lircd.conf ${STAGEDIR}${PREFIX}/etc/lircd.conf.sample + @${MKDIR} ${STAGEDIR}/var/run/lirc .include <bsd.port.post.mk> diff --git a/comms/lirc/pkg-plist b/comms/lirc/pkg-plist index 38809305a74f..2fb0eb1ee7bb 100644 --- a/comms/lirc/pkg-plist +++ b/comms/lirc/pkg-plist @@ -15,6 +15,19 @@ lib/liblirc_client.a lib/liblirc_client.la lib/liblirc_client.so lib/liblirc_client.so.2 +man/man1/ircat.1.gz +man/man1/irexec.1.gz +man/man1/irpty.1.gz +man/man1/irrecord.1.gz +man/man1/irsend.1.gz +man/man1/irw.1.gz +man/man1/irxevent.1.gz +man/man1/lircrcd.1.gz +man/man1/mode2.1.gz +man/man1/smode2.1.gz +man/man1/xmode2.1.gz +man/man8/lircd.8.gz +man/man8/lircmd.8.gz sbin/lircd sbin/lircmd @dirrm include/lirc |