freebsd-ports/x11-wm/wmakerconf/Makefile

51 lines
1.3 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: wmakerconf
# Date Created: 14 August 1999
# Whom: Dominik Rothert <dr@domix.de>
#
# $FreeBSD$
# $MCom: ports/x11-wm/wmakerconf/Makefile,v 1.2 2006/10/05 07:31:44 mezz Exp $
#
PORTNAME= wmakerconf
PORTVERSION= 2.12
2010-02-05 12:46:55 +01:00
PORTREVISION= 4
CATEGORIES= x11-wm
MASTER_SITES= SF
DISTNAME= ${PORTNAME}_${PORTVERSION}
MAINTAINER= garga@FreeBSD.org
2003-02-21 15:19:11 +01:00
COMMENT= A configuration tool for Window Maker
LIB_DEPENDS= wraster.4:${PORTSDIR}/x11-wm/windowmaker
2001-08-15 22:33:16 +02:00
RUN_DEPENDS= rpm:${PORTSDIR}/archivers/rpm
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
USE_GNOME= gnometarget gtk20
2000-10-05 09:22:56 +02:00
USE_PERL5= yes
USE_GETTEXT= yes
USE_GMAKE= yes
2000-10-05 09:22:56 +02:00
GNU_CONFIGURE= yes
MAKE_JOBS_SAFE= yes
CONFIGURE_ARGS= --with-wmakerdataprefix="${LOCALBASE}/share" \
--with-wmakeretcprefix="${LOCALBASE}/share"
2000-10-05 09:22:56 +02:00
MAN1= mkpreview.1 wmakerconf.1
post-extract:
@${FIND} ${WRKSRC} -name "*.gmo" -delete
2000-06-29 10:20:13 +02:00
post-patch:
@${REINPLACE_CMD} -e 's|lynx wget|lynx fetch|g' ${WRKSRC}/configure
@${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
.include <bsd.port.mk>