svn commit: r343572 - head/x11-wm/wmakerconf

Danilo Egea Gondolfo danilo at FreeBSD.org
Mon Feb 10 01:57:35 UTC 2014


Author: danilo
Date: Mon Feb 10 01:57:34 2014
New Revision: 343572
URL: http://svnweb.freebsd.org/changeset/ports/343572
QAT: https://qat.redports.org/buildarchive/r343572/

Log:
  - Add stage support
  - Convert LIB_DEPENDS to new syntax
  - Add shebangfix to USES

Modified:
  head/x11-wm/wmakerconf/Makefile
  head/x11-wm/wmakerconf/pkg-plist

Modified: head/x11-wm/wmakerconf/Makefile
==============================================================================
--- head/x11-wm/wmakerconf/Makefile	Mon Feb 10 01:46:33 2014	(r343571)
+++ head/x11-wm/wmakerconf/Makefile	Mon Feb 10 01:57:34 2014	(r343572)
@@ -14,25 +14,26 @@ COMMENT=	Configuration tool for Window M
 
 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 ; \

Modified: head/x11-wm/wmakerconf/pkg-plist
==============================================================================
--- head/x11-wm/wmakerconf/pkg-plist	Mon Feb 10 01:46:33 2014	(r343571)
+++ head/x11-wm/wmakerconf/pkg-plist	Mon Feb 10 01:57:34 2014	(r343572)
@@ -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


More information about the svn-ports-all mailing list