- Move REINPLACE_CMD's to post-patch:

- Fix configuration file to look for wmaker on correct dirs
- Bump PORTREVISION
- Take maintainership
This commit is contained in:
Renato Botelho 2007-09-18 18:42:12 +00:00
parent df76ebd873
commit ddd4139677
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=199721

View File

@ -8,11 +8,12 @@
PORTNAME= wmakerconf PORTNAME= wmakerconf
PORTVERSION= 2.12 PORTVERSION= 2.12
PORTREVISION= 1
CATEGORIES= x11-wm CATEGORIES= x11-wm
MASTER_SITES= SF MASTER_SITES= SF
DISTNAME= ${PORTNAME}_${PORTVERSION} DISTNAME= ${PORTNAME}_${PORTVERSION}
MAINTAINER= ports@FreeBSD.org MAINTAINER= garga@FreeBSD.org
COMMENT= A configuration tool for Window Maker COMMENT= A configuration tool for Window Maker
LIB_DEPENDS= wraster.4:${PORTSDIR}/x11-wm/windowmaker LIB_DEPENDS= wraster.4:${PORTSDIR}/x11-wm/windowmaker
@ -34,13 +35,14 @@ MAN1= mkpreview.1 wmakerconf.1
post-extract: post-extract:
@${FIND} ${WRKSRC} -name "*.gmo" -delete @${FIND} ${WRKSRC} -name "*.gmo" -delete
pre-configure: post-patch:
@${REINPLACE_CMD} -e 's|lynx wget|lynx fetch|g' ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|lynx wget|lynx fetch|g' ${WRKSRC}/configure
@${REINPLACE_CMD} -e '/chmod 0/d' ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -e '/chmod 0/d' ${WRKSRC}/Makefile.in
.for file in data/WMWmakerconf data/WMWmakerconf.gettext @${REINPLACE_CMD} -E '/\/usr\/share/d; \
@${REINPLACE_CMD} -e 's|/usr/local/share|${LOCALBASE}|g ; \ s|/usr/local|${LOCALBASE}|g ; \
s|/usr/share|${X11BASE}|g' ${WRKSRC}/${file} s|/usr/X11R6|${X11BASE}|g; \
.endfor s|(share/pixmaps.*),|\1|g' \
${WRKSRC}/data/WMWmakerconf*
.for file in data/po/ja.po po/ja.po .for file in data/po/ja.po po/ja.po
@${REINPLACE_CMD} -e 's|JISX-0208-1983-0|euc-jp|g' ${WRKSRC}/${file} @${REINPLACE_CMD} -e 's|JISX-0208-1983-0|euc-jp|g' ${WRKSRC}/${file}
.endfor .endfor