svn commit: r335453 - in head/x11-wm: libwraster windowmaker windowmaker/files
Renato Botelho
garga at FreeBSD.org
Mon Dec 2 09:26:57 UTC 2013
On 02-12-2013 05:16, Hiroki Sato wrote:
> Author: hrs
> Date: Mon Dec 2 07:16:31 2013
> New Revision: 335453
> URL: http://svnweb.freebsd.org/changeset/ports/335453
>
> Log:
> - Update to 0.95.5.
> - Use new syntax in LIB_DEPENDS.
> - Add STAGEDIR support.
> - USE ${opt}_FOO for OPTIONS.
>
> PR: ports/184359
>
> Deleted:
> head/x11-wm/windowmaker/files/patch-WINGs__proplist.c
> head/x11-wm/windowmaker/files/patch-configure
> Modified:
> head/x11-wm/libwraster/Makefile
> head/x11-wm/libwraster/distinfo
> head/x11-wm/libwraster/pkg-plist (contents, props changed)
> head/x11-wm/windowmaker/Makefile
> head/x11-wm/windowmaker/distinfo
> head/x11-wm/windowmaker/pkg-plist
>
> Modified: head/x11-wm/libwraster/Makefile
> ==============================================================================
> --- head/x11-wm/libwraster/Makefile Mon Dec 2 05:42:56 2013 (r335452)
> +++ head/x11-wm/libwraster/Makefile Mon Dec 2 07:16:31 2013 (r335453)
> @@ -1,8 +1,7 @@
> # $FreeBSD$
>
> PORTNAME= libwraster
> -PORTVERSION= 0.95.4
> -PORTREVISION= 1
> +PORTVERSION= 0.95.5
> CATEGORIES= x11-wm windowmaker
> MASTER_SITES= http://windowmaker.org/pub/%SUBDIR%/
> MASTER_SITE_SUBDIR= source/release
> @@ -13,10 +12,10 @@ COMMENT= Window Maker raster graphics li
>
> LICENSE= LGPL21
>
> -LIB_DEPENDS= gif:${PORTSDIR}/graphics/giflib \
> - png15:${PORTSDIR}/graphics/png \
> - jbig:${PORTSDIR}/graphics/jbigkit \
> - tiff:${PORTSDIR}/graphics/tiff
> +LIB_DEPENDS= libgif.so:${PORTSDIR}/graphics/giflib \
> + libpng15.so:${PORTSDIR}/graphics/png \
> + libjbig.so:${PORTSDIR}/graphics/jbigkit \
> + libtiff.so:${PORTSDIR}/graphics/tiff
>
> USES= pathfix pkgconfig
> USE_AUTOTOOLS= libtool
> @@ -37,12 +36,11 @@ LDFLAGS+= -L${LOCALBASE}/lib
>
> MAN1= get-wraster-flags.1
>
> -NO_STAGE= yes
> pre-build:
> cd ${WRKSRC} && ${MAKE} config-paths.h
>
> post-install:
> - cd ${WRKSRC}/doc \
> - && ${INSTALL_MAN} get-wraster-flags.1 ${MANPREFIX}/man/man1
> + cd ${WRKSRC}/doc && ${INSTALL_MAN} \
> + get-wraster-flags.1 ${STAGEDIR}${MANPREFIX}/man/man1
>
> .include <bsd.port.mk>
>
> Modified: head/x11-wm/libwraster/distinfo
> ==============================================================================
> --- head/x11-wm/libwraster/distinfo Mon Dec 2 05:42:56 2013 (r335452)
> +++ head/x11-wm/libwraster/distinfo Mon Dec 2 07:16:31 2013 (r335453)
> @@ -1,2 +1,2 @@
> -SHA256 (WindowMaker-0.95.4.tar.gz) = 2bea97f00570f05ff115d147457c16abefe496a4fc882a027152ce592d768e45
> -SIZE (WindowMaker-0.95.4.tar.gz) = 2789390
> +SHA256 (WindowMaker-0.95.5.tar.gz) = 4b25f474fde032a060c93fbc50f1ce04729ab17ea963ca3eb8dbb82f49af70d0
> +SIZE (WindowMaker-0.95.5.tar.gz) = 2927995
>
> Modified: head/x11-wm/libwraster/pkg-plist
> ==============================================================================
> --- head/x11-wm/libwraster/pkg-plist Mon Dec 2 05:42:56 2013 (r335452)
> +++ head/x11-wm/libwraster/pkg-plist Mon Dec 2 07:16:31 2013 (r335453)
> @@ -6,3 +6,4 @@ lib/libwraster.la
> lib/libwraster.so
> lib/libwraster.so.4
> libdata/pkgconfig/wrlib.pc
> +man/man1/get-wraster-flags.1.gz
>
> Modified: head/x11-wm/windowmaker/Makefile
> ==============================================================================
> --- head/x11-wm/windowmaker/Makefile Mon Dec 2 05:42:56 2013 (r335452)
> +++ head/x11-wm/windowmaker/Makefile Mon Dec 2 07:16:31 2013 (r335453)
> @@ -2,8 +2,7 @@
> # $FreeBSD$
>
> PORTNAME= windowmaker
> -PORTVERSION= 0.95.4
> -PORTREVISION= 1
> +PORTVERSION= 0.95.5
> CATEGORIES= x11-wm windowmaker
> MASTER_SITES= http://windowmaker.org/pub/%SUBDIR%/
> MASTER_SITE_SUBDIR= source/release
> @@ -14,17 +13,19 @@ COMMENT= GNUstep-compliant NeXTstep wind
>
> LICENSE= GPLv2
>
> -LIB_DEPENDS= gif:${PORTSDIR}/graphics/giflib \
> - png15:${PORTSDIR}/graphics/png \
> - jbig:${PORTSDIR}/graphics/jbigkit \
> - tiff:${PORTSDIR}/graphics/tiff \
> - wraster:${PORTSDIR}/x11-wm/libwraster
> -RUN_DEPENDS= ${LOCALBASE}/share/WindowMaker/Themes/LeetWM.themed/style:${PORTSDIR}/graphics/wmicons
> +LIB_DEPENDS= libgif.so:${PORTSDIR}/graphics/giflib \
> + libpng15.so:${PORTSDIR}/graphics/png \
> + libjbig.so:${PORTSDIR}/graphics/jbigkit \
> + libtiff.so:${PORTSDIR}/graphics/tiff \
> + libwraster.so:${PORTSDIR}/x11-wm/libwraster
> +RUN_DEPENDS= libwraster>=${PORTVERSION}:${PORTSDIR}/x11-wm/libwraster \
> + ${LOCALBASE}/share/WindowMaker/Themes/LeetWM.themed/style:${PORTSDIR}/graphics/wmicons
>
> USES= pathfix perl5 pkgconfig
> USE_AUTOTOOLS= libtool
> USE_LDCONFIG= yes
> USE_XORG= xft xinerama xmu xpm
> +CONFIGURE_ENV= ac_cv_header_sys_inotify_h=no
> CONFIGURE_ARGS= --with-pixmapdir=${PREFIX}/include/X11/pixmaps \
> --with-nlsdir=${PREFIX}/share/locale \
> --with-libs-from="-L${LOCALBASE}/lib" \
> @@ -37,56 +38,33 @@ CPPFLAGS+= -DPREFIX=\\\"${PREFIX}\\\" -I
> LDFLAGS+= -L${LOCALBASE}/lib
> PORTDOCS= AUTHORS BUGFORM BUGS ChangeLog FAQ FAQ.I18N INSTALL \
> INSTALL-WMAKER NEWS README README.definable-cursor TODO
> +LINGUAS= be bg bs ca cs da de el es et fi fr gl hr hu hy it \
> + ja ko ms nl no pl pt ro ru sk sv tr zh_CN zh_TW
>
> OPTIONS_DEFINE= DOCS NLS XRANDR
> +OPTIONS_SUB= NLS
This option is boolean, when OPTIONS_SUB is set, all OPTIONS will be
defined in PLIST_SUB, you are not supposed to choose which you want. I
made the same misunderstanding some time ago.
> +NLS_USES= gettext
> +NLS_CONFIGURE_ENV= LINGUAS="${LINGUAS}"
> +NLS_CONFIGURE_ENABLE= locale
> +XRANDR_USE= XORG=xrandr
> +XRANDR_CONFIGURE_ENABLE= xrandr
>
> -NO_STAGE= yes
> -.include <bsd.port.options.mk>
> +.include <bsd.port.pre.mk>
>
> .if ${ARCH} == amd64 && ${OSVERSION} < 800000
> CONFIGURE_ENV+= ac_cv_c_inline_asm=no
> .endif
> -
> .if ${OSVERSION} < 800000
> CPPFLAGS+= -DHAVE_SYS_SELECT_H
> .endif
>
> -.if ${PORT_OPTIONS:MNLS}
> -USES+= gettext
> -LINGUAS= be bg bs ca cs da de el es et fi fr gl hr hu hy it \
> - ja ko ms nl no pl pt ro ru sk sv tr zh_CN zh_TW
> -CONFIGURE_ENV+= LINGUAS="${LINGUAS}"
> -PLIST_SUB= NLS=""
> -.else
> -CONFIGURE_ARGS+=--disable-locale
> -PLIST_SUB= NLS="@comment "
> -.endif
> -
> -.if ${PORT_OPTIONS:MXRANDR}
> -USE_XORG+= xrandr
> -CONFIGURE_ARGS+=--enable-xrandr
> -.endif
> -
> -MANLANG= "" cs sk ru
> -MAN1_EN= geticonset.1x getstyle.1x seticons.1x setstyle.1x wdwrite.1x \
> - wmaker.1x wmsetbg.1x wxcopy.1x wxpaste.1x get-wings-flags.1 \
> - get-wutil-flags.1 wdread.1 WindowMaker.1x wmagnify.1x \
> - wmgenmenu.1 wmmenugen.1 WPrefs.1x
> -MAN8_EN= upgrade-windowmaker-defaults.8
> -MAN1_CS= geticonset.1x setstyle.1x wxpaste.1x getstyle.1x wdwrite.1x \
> - wmsetbg.1x seticons.1x wmaker.1x wxcopy.1x
> -MAN1_SK= geticonset.1x setstyle.1x wxpaste.1x getstyle.1x wdwrite.1x \
> - wmsetbg.1x seticons.1x wmaker.1x wxcopy.1x
> -MAN1_RU= geticonset.1x setstyle.1x wxpaste.1x getstyle.1x wdwrite.1x \
> - wmsetbg.1x seticons.1x wmaker.1x wxcopy.1x
> -
> post-install:
> @${MKDIR} \
> - ${PREFIX}/GNUstep/Applications/WPrefs.app/xpm \
> - ${PREFIX}/share/WindowMaker/Sounds
> + ${STAGEDIR}${PREFIX}/GNUstep/Applications/WPrefs.app/xpm \
> + ${STAGEDIR}${PREFIX}/share/WindowMaker/Sounds
> .if ${PORT_OPTIONS:MDOCS}
You can just drop this conditional, since it's now staged, all files can
be installed and in the time package is built they will be dropped
Regards
--
Renato Botelho <garga @ FreeBSD.org>
<garga.bsd @ gmail.com>
GnuPG Key: http://www.FreeBSD.org/~garga/pubkey.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 941 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/svn-ports-all/attachments/20131202/d215e53c/attachment.sig>
More information about the svn-ports-all
mailing list