2013-05-27 14:00:27 +02:00
|
|
|
# Created by: Kris Moore <kmoore@FreeBSD.org>
|
2010-09-30 16:34:47 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= lxinput
|
2013-06-20 01:51:05 +02:00
|
|
|
PORTVERSION= 0.3.2
|
2010-09-30 16:34:47 +02:00
|
|
|
CATEGORIES= sysutils
|
2013-06-20 01:51:05 +02:00
|
|
|
MASTER_SITES= SF/lxde/LXInput%20%28Kbd%20and%20amp_%20mouse%20config%29/LXInput%200.3.2/
|
2010-09-30 16:34:47 +02:00
|
|
|
|
2013-10-05 00:36:31 +02:00
|
|
|
MAINTAINER= nemysis@FreeBSD.org
|
2013-06-20 01:51:05 +02:00
|
|
|
COMMENT= Keyboard and mouse config tool from the LXDE project
|
2010-09-30 16:34:47 +02:00
|
|
|
|
2013-09-02 23:04:00 +02:00
|
|
|
USES= iconv gmake pkgconfig
|
2013-06-20 01:51:05 +02:00
|
|
|
USE_GNOME= gtk20 intlhack
|
2010-09-30 16:34:47 +02:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_LDCONFIG= yes
|
|
|
|
CONFIGURE_ARGS= --prefix=${PREFIX}
|
2013-06-20 01:51:05 +02:00
|
|
|
|
2013-10-05 00:36:31 +02:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
|
|
|
|
PORTDOCS= AUTHORS README
|
|
|
|
|
|
|
|
OPTIONS_DEFINE= DOCS NLS
|
|
|
|
OPTIONS_SUB= yes
|
|
|
|
|
|
|
|
NLS_USES= gettext
|
2010-09-30 16:34:47 +02:00
|
|
|
|
2013-05-06 11:07:58 +02:00
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
2013-10-05 00:36:31 +02:00
|
|
|
post-patch:
|
|
|
|
.if ! ${PORT_OPTIONS:MNLS}
|
|
|
|
@${REINPLACE_CMD} -e 's|po man|man|' \
|
|
|
|
${WRKSRC}/Makefile.in
|
2010-09-30 16:34:47 +02:00
|
|
|
.endif
|
|
|
|
|
2013-10-05 00:36:31 +02:00
|
|
|
post-install:
|
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
|
|
|
|
2010-09-30 16:34:47 +02:00
|
|
|
.include <bsd.port.mk>
|