diff --git a/x11-wm/wmakerconf/Makefile b/x11-wm/wmakerconf/Makefile index 3f0793fcde4d..065e02c7e869 100644 --- a/x11-wm/wmakerconf/Makefile +++ b/x11-wm/wmakerconf/Makefile @@ -1,48 +1,59 @@ PORTNAME= wmakerconf PORTVERSION= 2.12 PORTREVISION= 12 CATEGORIES= x11-wm MASTER_SITES= SF DISTNAME= ${PORTNAME}_${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Configuration tool for Window Maker WWW= https://sourceforge.net/projects/wmakerconf/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING -LIB_DEPENDS= libWINGs.so:x11-wm/windowmaker +DEPRECATED= Last upstream release was in 2007 +EXPIRATION_DATE= 2024-01-17 + +LIB_DEPENDS= \ + libWINGs.so:x11-wm/windowmaker \ + libharfbuzz.so:print/harfbuzz \ + libfontconfig.so:x11-fonts/fontconfig \ + libfreetype.so:print/freetype2 \ + libwraster.so:x11-wm/libwraster RUN_DEPENDS= rpm:archivers/rpm4 -WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} +USES= gettext pkgconfig perl5 gmake gnome localbase shebangfix xorg +USE_GNOME= cairo gdkpixbuf2 gtk20 +USE_XORG= x11 -USES= gettext pkgconfig perl5 gmake gnome shebangfix xorg -USE_GNOME= gtk20 SHEBANG_FILES= scripts/getfile.pl.in scripts/upgrade.pl.in + GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-wmakerdataprefix="${LOCALBASE}/share" \ --with-wmakeretcprefix="${LOCALBASE}/share" -USE_XORG= x11 -LIBS= -L${LOCALBASE}/lib -lintl -lX11 -lWUtil + +LIBS= -lintl -lX11 -lWUtil + +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} post-extract: @${FIND} ${WRKSRC} -name "*.gmo" -delete post-patch: @${REINPLACE_CMD} -e 's|$$(prefix)/share/locale|${STAGEDIR}${PREFIX}/share/locale|g' \ ${WRKSRC}/data/po/Makefile.am ${WRKSRC}/data/po/Makefile.in \ ${WRKSRC}/po/Makefile.in.in @${REINPLACE_CMD} -e '/chmod 0/d' ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -E '/\/usr\/share/d; \ s|/usr/local|${LOCALBASE}|g ; \ s|/usr/X11R6|${LOCALBASE}|g; \ s|(share/pixmaps.*),|\1|g' \ ${WRKSRC}/data/WMWmakerconf* .for file in data/po/ja.po po/ja.po @${REINPLACE_CMD} -e 's|JISX-0208-1983-0|euc-jp|g' ${WRKSRC}/${file} .endfor @${FIND} ${WRKSRC}/src -name "*.c" | ${XARGS} ${REINPLACE_CMD} -e \ '/WMWritePropListToFile/s|,[[:space:]]YES||g' .include diff --git a/x11-wm/wmakerconf/files/patch-scripts__wget.pl b/x11-wm/wmakerconf/files/patch-scripts__wget.pl index 1956f065fd1a..2d714b0cc533 100644 --- a/x11-wm/wmakerconf/files/patch-scripts__wget.pl +++ b/x11-wm/wmakerconf/files/patch-scripts__wget.pl @@ -1,9 +1,9 @@ ---- scripts/wget.pl.orig Mon Jan 26 07:20:31 2004 -+++ scripts/wget.pl Wed Jun 2 01:56:42 2004 -@@ -1,5 +1,5 @@ +--- scripts/wget.pl.orig 2004-01-25 22:20:31 UTC ++++ scripts/wget.pl +@@ -1,5 +1,5 @@ quit ("Wget not installed") if $wwwget eq ""; quit ("Wget not installed") if $wwwget eq ""; -$rc = system ("$wwwget --quiet -c --tries=0 -O$tmpfile '$url'"); +$rc = system ("$wwwget --q -o $tmpfile '$url'"); quit ("HTTP response error.") if $rc;