svn commit: r329401 - head/sysutils/lxinput
Rusmir Dusko
nemysis at FreeBSD.org
Fri Oct 4 22:36:33 UTC 2013
Author: nemysis
Date: Fri Oct 4 22:36:31 2013
New Revision: 329401
URL: http://svnweb.freebsd.org/changeset/ports/329401
Log:
- 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)
Modified:
head/sysutils/lxinput/Makefile
head/sysutils/lxinput/pkg-descr (contents, props changed)
head/sysutils/lxinput/pkg-plist (contents, props changed)
Modified: head/sysutils/lxinput/Makefile
==============================================================================
--- head/sysutils/lxinput/Makefile Fri Oct 4 22:34:12 2013 (r329400)
+++ head/sysutils/lxinput/Makefile Fri Oct 4 22:36:31 2013 (r329401)
@@ -6,7 +6,7 @@ PORTVERSION= 0.3.2
CATEGORIES= sysutils
MASTER_SITES= SF/lxde/LXInput%20%28Kbd%20and%20amp_%20mouse%20config%29/LXInput%200.3.2/
-MAINTAINER= nemysis at gmx.ch
+MAINTAINER= nemysis at FreeBSD.org
COMMENT= Keyboard and mouse config tool from the LXDE project
USES= iconv gmake pkgconfig
@@ -15,19 +15,26 @@ GNU_CONFIGURE= yes
USE_LDCONFIG= yes
CONFIGURE_ARGS= --prefix=${PREFIX}
-MAN1= lxinput.1
+CPPFLAGS+= -I${LOCALBASE}/include
+LDFLAGS+= -L${LOCALBASE}/lib
+
+PORTDOCS= AUTHORS README
+
+OPTIONS_DEFINE= DOCS NLS
+OPTIONS_SUB= yes
+
+NLS_USES= gettext
-NO_STAGE= yes
.include <bsd.port.options.mk>
-.if ${PORT_OPTIONS:MNLS}
-USES+= gettext
-PLIST_SUB+= NLS=""
-CPPFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib
-.else
-CONFIGURE_ARGS+=--disable-nls
-PLIST_SUB+= NLS="@comment "
+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>
Modified: head/sysutils/lxinput/pkg-descr
==============================================================================
--- head/sysutils/lxinput/pkg-descr Fri Oct 4 22:34:12 2013 (r329400)
+++ head/sysutils/lxinput/pkg-descr Fri Oct 4 22:36:31 2013 (r329401)
@@ -1,3 +1,3 @@
LXInput is a small program used to configure keyboard and mouse for LXDE.
-WWW: http://lxde.sourceforge.net/
+WWW: http://lxde.org/
Modified: head/sysutils/lxinput/pkg-plist
==============================================================================
--- head/sysutils/lxinput/pkg-plist Fri Oct 4 22:34:12 2013 (r329400)
+++ head/sysutils/lxinput/pkg-plist Fri Oct 4 22:36:31 2013 (r329401)
@@ -1,4 +1,5 @@
bin/lxinput
+man/man1/lxinput.1.gz
share/applications/lxinput.desktop
%%NLS%%share/locale/af/LC_MESSAGES/lxinput.mo
%%NLS%%share/locale/ar/LC_MESSAGES/lxinput.mo
@@ -68,32 +69,12 @@ share/applications/lxinput.desktop
@dirrm %%DATADIR%%
%%NLS%%@dirrmtry share/locale/ur_PK/LC_MESSAGES
%%NLS%%@dirrmtry share/locale/ur_PK
-%%NLS%%@dirrmtry share/locale/ur/LC_MESSAGES
-%%NLS%%@dirrmtry share/locale/ur
-%%NLS%%@dirrmtry share/locale/ug/LC_MESSAGES
-%%NLS%%@dirrmtry share/locale/ug
%%NLS%%@dirrmtry share/locale/tt_RU/LC_MESSAGES
%%NLS%%@dirrmtry share/locale/tt_RU
-%%NLS%%@dirrmtry share/locale/te/LC_MESSAGES
-%%NLS%%@dirrmtry share/locale/te
-%%NLS%%@dirrmtry share/locale/sr at latin/LC_MESSAGES
-%%NLS%%@dirrmtry share/locale/sr at latin
-%%NLS%%@dirrmtry share/locale/si/LC_MESSAGES
-%%NLS%%@dirrmtry share/locale/si
-%%NLS%%@dirrmtry share/locale/ps/LC_MESSAGES
-%%NLS%%@dirrmtry share/locale/ps
%%NLS%%@dirrmtry share/locale/lg/LC_MESSAGES
%%NLS%%@dirrmtry share/locale/lg
-%%NLS%%@dirrmtry share/locale/kk/LC_MESSAGES
-%%NLS%%@dirrmtry share/locale/kk
%%NLS%%@dirrmtry share/locale/frp/LC_MESSAGES
%%NLS%%@dirrmtry share/locale/frp
-%%NLS%%@dirrmtry share/locale/fo/LC_MESSAGES
-%%NLS%%@dirrmtry share/locale/fo
%%NLS%%@dirrmtry share/locale/es_VE/LC_MESSAGES
%%NLS%%@dirrmtry share/locale/es_VE
-%%NLS%%@dirrmtry share/locale/bn_IN/LC_MESSAGES
-%%NLS%%@dirrmtry share/locale/bn_IN
-%%NLS%%@dirrmtry share/locale/ast/LC_MESSAGES
-%%NLS%%@dirrmtry share/locale/ast
@dirrmtry share/applications
More information about the svn-ports-all
mailing list