From 48bd23fd97cb80e932c96f011b8a78aff424360d Mon Sep 17 00:00:00 2001 From: Danilo Egea Gondolfo Date: Mon, 10 Feb 2014 01:57:34 +0000 Subject: - Add stage support - Convert LIB_DEPENDS to new syntax - Add shebangfix to USES --- x11-wm/wmakerconf/Makefile | 11 ++++++----- x11-wm/wmakerconf/pkg-plist | 2 ++ 2 files changed, 8 insertions(+), 5 deletions(-) (limited to 'x11-wm/wmakerconf') diff --git a/x11-wm/wmakerconf/Makefile b/x11-wm/wmakerconf/Makefile index 5a9ed514e2b6..b79f93b8ece4 100644 --- a/x11-wm/wmakerconf/Makefile +++ b/x11-wm/wmakerconf/Makefile @@ -14,25 +14,26 @@ COMMENT= Configuration tool for Window Maker LICENSE= GPLv2 -LIB_DEPENDS= wraster.4:${PORTSDIR}/x11-wm/windowmaker +LIB_DEPENDS= libwraster.so:${PORTSDIR}/x11-wm/windowmaker RUN_DEPENDS= rpm:${PORTSDIR}/archivers/rpm WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} USE_GNOME= gtk20 -USES= gettext pkgconfig perl5 gmake +USES= gettext pkgconfig perl5 gmake shebangfix +SHEBANG_FILES= scripts/getfile.pl.in scripts/upgrade.pl.in GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-wmakerdataprefix="${LOCALBASE}/share" \ --with-wmakeretcprefix="${LOCALBASE}/share" -MAN1= mkpreview.1 wmakerconf.1 - -NO_STAGE= yes post-extract: @${FIND} ${WRKSRC} -name "*.gmo" -delete post-patch: @${REINPLACE_CMD} -e 's|lynx wget|lynx fetch|g' ${WRKSRC}/configure + @${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 ; \ diff --git a/x11-wm/wmakerconf/pkg-plist b/x11-wm/wmakerconf/pkg-plist index 1f4d6424034f..66abf7d6c1ed 100644 --- a/x11-wm/wmakerconf/pkg-plist +++ b/x11-wm/wmakerconf/pkg-plist @@ -1,5 +1,7 @@ bin/mkpreview bin/wmakerconf +man/man1/mkpreview.1.gz +man/man1/wmakerconf.1.gz share/applications/wmakerconf.desktop share/locale/ca/LC_MESSAGES/wmakerconf.mo share/locale/da/LC_MESSAGES/wmakerconf-data.mo -- cgit v1.2.3