blob: 0f7a61a55af3ab52b424700cd2239b41638faa81 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
# Created by: Markus Brueffer <markus@FreeBSD.org>
# $FreeBSD$
PORTNAME= tpb
PORTVERSION= 0.6.4
PORTREVISION= 10
CATEGORIES= deskutils
MASTER_SITES= ${MASTER_SITE_SAVANNAH}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= On-Screen-Display for hotkeys of IBM ThinkPads
LIB_DEPENDS= xosd.4:${PORTSDIR}/misc/xosd
ONLY_FOR_ARCHS= i386 amd64
USE_GMAKE= yes
GNU_CONFIGURE= yes
USE_ICONV= yes
USES= bison
CONFIGURE_ARGS= --with-libiconv-prefix=${LOCALBASE}
MAN1= tpb.1
.ifndef(WITHOUT_NLS)
USE_GETTEXT= yes
PLIST_SUB+= NLS=""
.else
CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+= NLS="@comment "
.endif
post-patch:
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g; \
s|%%LOCALBASE%%|${LOCALBASE}|g' \
${WRKSRC}/src/cfg.h \
${WRKSRC}/man/tpb.1
post-install:
${INSTALL_DATA} ${WRKSRC}/doc/tpbrc ${PREFIX}/etc/tpbrc.default
.ifndef(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_SCRIPT} ${WRKSRC}/doc/callback_example.sh ${DOCSDIR}
.endif
.include <bsd.port.mk>
|