mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-06 01:57:40 +00:00
4ed5d621eb
- Since xosd shlib version has changed, bump all ports which depend on it - Stagify deskutils/xneur - Convert USE_BZIP2 to USES - Use new LIB_DEPENDS syntax Approved by: portmgr blanket
49 lines
1.0 KiB
Makefile
49 lines
1.0 KiB
Makefile
# Created by: Markus Brueffer <markus@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= tpb
|
|
PORTVERSION= 0.6.4
|
|
PORTREVISION= 11
|
|
CATEGORIES= deskutils
|
|
MASTER_SITES= SAVANNAH
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= On-Screen-Display for hotkeys of IBM ThinkPads
|
|
|
|
LICENSE= GPLv2
|
|
|
|
LIB_DEPENDS= libxosd.so:${PORTSDIR}/misc/xosd
|
|
|
|
OPTIONS_DEFINE= DOCS NLS
|
|
OPTIONS_SUB= yes
|
|
|
|
ONLY_FOR_ARCHS= i386 amd64
|
|
|
|
USES= bison gmake iconv pkgconfig
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= ${ICONV_CONFIGURE_ARG}
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALABASE}/lib
|
|
|
|
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:
|
|
(cd ${WRKSRC}/doc && ${INSTALL_DATA} tpbrc \
|
|
${STAGEDIR}${PREFIX}/etc/tpbrc.default)
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
(cd ${WRKSRC}/doc && ${INSTALL_DATA} callback_example.sh \
|
|
${STAGEDIR}${DOCSDIR})
|
|
|
|
.include <bsd.port.mk>
|