freebsd-ports/deskutils/tpb/Makefile
Eugene Grosbein 0eb594d229 - Fix volume control for TPB by correcting typing error:
replace wrong "dec.acpi_ibm.0.volume" with right "dev.acpi_ibm.0.volume"
- assign submitter as maintainer for this unmaintained port
- bump PORTREVISION.

PR:		220900
Submitted by:	Dmitry Luhtionov
Approved by:	az (mentor)
MFH:		2017Q3
2017-07-22 08:04:10 +00:00

48 lines
1.0 KiB
Makefile

# Created by: Markus Brueffer <markus@FreeBSD.org>
# $FreeBSD$
PORTNAME= tpb
PORTVERSION= 0.6.4
PORTREVISION= 13
CATEGORIES= deskutils
MASTER_SITES= SAVANNAH
MAINTAINER= dmitryluhtionov@gmail.com
COMMENT= On-Screen-Display for hotkeys of IBM ThinkPads
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libxosd.so:misc/xosd
ONLY_FOR_ARCHS= i386 amd64
USES= gmake iconv localbase pkgconfig
GNU_CONFIGURE= yes
CONFIGURE_ARGS= ${ICONV_CONFIGURE_ARG}
USE_XORG= x11 sm ice xext
OPTIONS_DEFINE= EXAMPLES NLS
OPTIONS_SUB= yes
NLS_USES= gettext
NLS_CONFIGURE_OFF= --disable-nls
post-patch:
.for i in man/tpb.1 src/cfg.h
@${REINPLACE_CMD} -e \
's|%%PREFIX%%|${PREFIX}|g ; \
s|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/${i}
.endfor
@${REINPLACE_CMD} -e \
's|void test()||' ${WRKSRC}/configure
post-install:
${INSTALL_DATA} ${WRKSRC}/doc/tpbrc ${STAGEDIR}${PREFIX}/etc/tpbrc.default
post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/doc/callback_example.sh ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>