1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-03 01:23:49 +00:00
freebsd-ports/sysutils/lxinput/Makefile
Rusmir Dusko 9888b66a3c - Change maintainer email to @FreeBSD.org
- Support STAGEDIR and add OPTIONS_SUB
- Add docs and add DOCS NLS Options
- Update WWW

Approved by:	wg/pawel (mentors)
2013-10-04 22:36:31 +00:00

41 lines
865 B
Makefile

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