2005-06-09 22:56:12 +00:00
|
|
|
# New ports collection makefile for: tpb
|
|
|
|
# Date created: Fri Jun 10 00:38:03 CEST 2005
|
|
|
|
# Whom: Markus Brueffer <markus@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= tpb
|
2006-01-07 06:59:53 +00:00
|
|
|
PORTVERSION= 0.6.4
|
2012-06-01 05:26:28 +00:00
|
|
|
PORTREVISION= 10
|
2005-06-09 22:56:12 +00:00
|
|
|
CATEGORIES= deskutils
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SAVANNAH}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
|
2011-07-05 02:51:42 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2005-06-09 22:56:12 +00:00
|
|
|
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
|
2007-10-17 10:13:01 +00:00
|
|
|
USE_BISON= build
|
2005-06-09 22:56:12 +00:00
|
|
|
|
|
|
|
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:
|
2005-06-10 13:33:41 +00:00
|
|
|
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g; \
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 17:56:05 +00:00
|
|
|
s|%%LOCALBASE%%|${LOCALBASE}|g' \
|
2005-06-09 22:56:12 +00:00
|
|
|
${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
|
|
|
|
|
2009-01-05 17:27:29 +00:00
|
|
|
.include <bsd.port.mk>
|