diff options
author | antoine <antoine@FreeBSD.org> | 2013-10-09 03:09:06 +0800 |
---|---|---|
committer | antoine <antoine@FreeBSD.org> | 2013-10-09 03:09:06 +0800 |
commit | 2c7e2079faa173919ebdf4715b02aa78b9e60e1a (patch) | |
tree | b4abcc63612cbf5df77cecffa9c077bd09d64293 /x11-wm | |
parent | 9232582074115aef0eaba9f6e6753dc1c52c3df5 (diff) | |
download | freebsd-ports-gnome-2c7e2079faa173919ebdf4715b02aa78b9e60e1a.tar.gz freebsd-ports-gnome-2c7e2079faa173919ebdf4715b02aa78b9e60e1a.tar.zst freebsd-ports-gnome-2c7e2079faa173919ebdf4715b02aa78b9e60e1a.zip |
- Update to 1.4.1
- Convert to STAGEDIR and OPTIONS helpers
PR: ports/182352
Submitted by: Tommy Scheunemann (maintainer)
Diffstat (limited to 'x11-wm')
-rw-r--r-- | x11-wm/wmconfig/Makefile | 28 | ||||
-rw-r--r-- | x11-wm/wmconfig/distinfo | 4 | ||||
-rw-r--r-- | x11-wm/wmconfig/pkg-plist | 1 |
3 files changed, 12 insertions, 21 deletions
diff --git a/x11-wm/wmconfig/Makefile b/x11-wm/wmconfig/Makefile index 0e9d3dc050ad..3279b273bcb2 100644 --- a/x11-wm/wmconfig/Makefile +++ b/x11-wm/wmconfig/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= wmconfig -PORTVERSION= 1.4.0 +PORTVERSION= 1.4.1 CATEGORIES= x11-wm MASTER_SITES= http://www.arrishq.net/files/ @@ -14,32 +14,22 @@ LICENSE= GPLv2 USE_BZIP2= yes GNU_CONFIGURE= yes -MAN1= wmconfig.1x - PORTDOCS= AUTHORS ChangeLog COPYING README TODO OPTIONS_DEFINE= NLS DOCS -NO_STAGE= yes -.include <bsd.port.options.mk> +OPTIONS_SUB= yes +NLS_CONFIGURE_ENABLE=nls +NLS_CPPFLAGS= -I${LOCALBASE}/include +NLS_LDFLAGS= -L${LOCALBASE}/lib +NLS_USES= gettext -.if ${PORT_OPTIONS:MNLS} -USES+= gettext -CONFIGURE_ARGS+=--enable-nls -CPPFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib -PLIST_SUB+= NLS="" -.else -CONFIGURE_ARGS+=--disable-nls -PLIST_SUB+= NLS="@comment " -.endif +.include <bsd.port.options.mk> post-install: .if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} -.for i in ${PORTDOCS} - ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR} -.endfor + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} .endif .include <bsd.port.mk> diff --git a/x11-wm/wmconfig/distinfo b/x11-wm/wmconfig/distinfo index 09449ccdb66d..acb96f109d6c 100644 --- a/x11-wm/wmconfig/distinfo +++ b/x11-wm/wmconfig/distinfo @@ -1,2 +1,2 @@ -SHA256 (wmconfig-1.4.0.tar.bz2) = d723f5b7b9c3060883ce1c3165fc6efce2602f0f1aacecdf118042be65843e14 -SIZE (wmconfig-1.4.0.tar.bz2) = 226255 +SHA256 (wmconfig-1.4.1.tar.bz2) = 84577cc514a82798180c939625b20dfef595a746d61c70ed0cded7a348188b6f +SIZE (wmconfig-1.4.1.tar.bz2) = 232351 diff --git a/x11-wm/wmconfig/pkg-plist b/x11-wm/wmconfig/pkg-plist index 115f0c1e47d9..483108bd805a 100644 --- a/x11-wm/wmconfig/pkg-plist +++ b/x11-wm/wmconfig/pkg-plist @@ -17,6 +17,7 @@ etc/wmconfig/Shells etc/wmconfig/System etc/wmconfig/Utilities @dirrm etc/wmconfig +man/man1/wmconfig.1x.gz %%NLS%%share/locale/de/LC_MESSAGES/wmconfig.mo %%NLS%%share/locale/fr/LC_MESSAGES/wmconfig.mo %%NLS%%share/locale/ru/LC_MESSAGES/wmconfig.mo |