diff options
author | nemysis <nemysis@FreeBSD.org> | 2013-10-05 06:36:31 +0800 |
---|---|---|
committer | nemysis <nemysis@FreeBSD.org> | 2013-10-05 06:36:31 +0800 |
commit | 2f081f16d28601544dcfd31d60906182f4471a77 (patch) | |
tree | b20a58e89b9c9610e1995f5c126e887eac85d577 /sysutils/lxinput | |
parent | 86d039b47c62232284b7e4ccc20bbb4aed8d6e1f (diff) | |
download | freebsd-ports-gnome-2f081f16d28601544dcfd31d60906182f4471a77.tar.gz freebsd-ports-gnome-2f081f16d28601544dcfd31d60906182f4471a77.tar.zst freebsd-ports-gnome-2f081f16d28601544dcfd31d60906182f4471a77.zip |
- 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)
Diffstat (limited to 'sysutils/lxinput')
-rw-r--r-- | sysutils/lxinput/Makefile | 29 | ||||
-rw-r--r-- | sysutils/lxinput/pkg-descr | 2 | ||||
-rw-r--r-- | sysutils/lxinput/pkg-plist | 21 |
3 files changed, 20 insertions, 32 deletions
diff --git a/sysutils/lxinput/Makefile b/sysutils/lxinput/Makefile index 793b58ff4bd8..53cd1e602e2a 100644 --- a/sysutils/lxinput/Makefile +++ b/sysutils/lxinput/Makefile @@ -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@gmx.ch +MAINTAINER= nemysis@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> diff --git a/sysutils/lxinput/pkg-descr b/sysutils/lxinput/pkg-descr index 41d52824ee5f..eb2b1e39a33d 100644 --- a/sysutils/lxinput/pkg-descr +++ b/sysutils/lxinput/pkg-descr @@ -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/ diff --git a/sysutils/lxinput/pkg-plist b/sysutils/lxinput/pkg-plist index 7f56313095ae..18d0069fdf6a 100644 --- a/sysutils/lxinput/pkg-plist +++ b/sysutils/lxinput/pkg-plist @@ -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@latin/LC_MESSAGES -%%NLS%%@dirrmtry share/locale/sr@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 |