aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm
diff options
context:
space:
mode:
authorgarga <garga@FreeBSD.org>2007-09-19 02:42:12 +0800
committergarga <garga@FreeBSD.org>2007-09-19 02:42:12 +0800
commit0aee4519006b062689ed462a2689bb3da892f816 (patch)
tree5cf962636cda87a0192ea44c96163113bf40a5a5 /x11-wm
parentf0724b267848c9d4ada1d1194134da096ff1e045 (diff)
downloadfreebsd-ports-gnome-0aee4519006b062689ed462a2689bb3da892f816.tar.gz
freebsd-ports-gnome-0aee4519006b062689ed462a2689bb3da892f816.tar.zst
freebsd-ports-gnome-0aee4519006b062689ed462a2689bb3da892f816.zip
- Move REINPLACE_CMD's to post-patch:
- Fix configuration file to look for wmaker on correct dirs - Bump PORTREVISION - Take maintainership
Diffstat (limited to 'x11-wm')
-rw-r--r--x11-wm/wmakerconf/Makefile14
1 files changed, 8 insertions, 6 deletions
diff --git a/x11-wm/wmakerconf/Makefile b/x11-wm/wmakerconf/Makefile
index 26923542cb75..568f956610d2 100644
--- a/x11-wm/wmakerconf/Makefile
+++ b/x11-wm/wmakerconf/Makefile
@@ -8,11 +8,12 @@
PORTNAME= wmakerconf
PORTVERSION= 2.12
+PORTREVISION= 1
CATEGORIES= x11-wm
MASTER_SITES= SF
DISTNAME= ${PORTNAME}_${PORTVERSION}
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= garga@FreeBSD.org
COMMENT= A configuration tool for Window Maker
LIB_DEPENDS= wraster.4:${PORTSDIR}/x11-wm/windowmaker
@@ -34,13 +35,14 @@ MAN1= mkpreview.1 wmakerconf.1
post-extract:
@${FIND} ${WRKSRC} -name "*.gmo" -delete
-pre-configure:
+post-patch:
@${REINPLACE_CMD} -e 's|lynx wget|lynx fetch|g' ${WRKSRC}/configure
@${REINPLACE_CMD} -e '/chmod 0/d' ${WRKSRC}/Makefile.in
-.for file in data/WMWmakerconf data/WMWmakerconf.gettext
- @${REINPLACE_CMD} -e 's|/usr/local/share|${LOCALBASE}|g ; \
- s|/usr/share|${X11BASE}|g' ${WRKSRC}/${file}
-.endfor
+ @${REINPLACE_CMD} -E '/\/usr\/share/d; \
+ s|/usr/local|${LOCALBASE}|g ; \
+ s|/usr/X11R6|${X11BASE}|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