1999-08-26 22:44:33 +02:00
|
|
|
# New ports collection makefile for: wmakerconf
|
|
|
|
# Date Created: 14 August 1999
|
1999-08-28 19:07:49 +02:00
|
|
|
# Whom: Dominik Rothert <dr@domix.de>
|
1999-08-26 22:44:33 +02:00
|
|
|
#
|
1999-08-28 19:07:49 +02:00
|
|
|
# $FreeBSD$
|
2006-10-14 10:54:54 +02:00
|
|
|
# $MCom: ports/x11-wm/wmakerconf/Makefile,v 1.2 2006/10/05 07:31:44 mezz Exp $
|
1999-08-26 22:44:33 +02:00
|
|
|
#
|
|
|
|
|
2000-04-10 21:50:46 +02:00
|
|
|
PORTNAME= wmakerconf
|
2007-08-20 11:04:41 +02:00
|
|
|
PORTVERSION= 2.12
|
2010-02-05 12:46:55 +01:00
|
|
|
PORTREVISION= 4
|
1999-08-26 22:44:33 +02:00
|
|
|
CATEGORIES= x11-wm
|
2007-08-20 11:04:41 +02:00
|
|
|
MASTER_SITES= SF
|
|
|
|
DISTNAME= ${PORTNAME}_${PORTVERSION}
|
1999-08-26 22:44:33 +02:00
|
|
|
|
2007-09-18 20:42:12 +02:00
|
|
|
MAINTAINER= garga@FreeBSD.org
|
2003-02-21 15:19:11 +01:00
|
|
|
COMMENT= A configuration tool for Window Maker
|
1999-08-28 19:07:49 +02:00
|
|
|
|
2005-03-13 16:52:36 +01:00
|
|
|
LIB_DEPENDS= wraster.4:${PORTSDIR}/x11-wm/windowmaker
|
2001-08-15 22:33:16 +02:00
|
|
|
RUN_DEPENDS= rpm:${PORTSDIR}/archivers/rpm
|
1999-08-28 19:07:49 +02:00
|
|
|
|
2007-08-20 11:04:41 +02:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
|
|
|
|
2006-10-14 10:54:54 +02:00
|
|
|
USE_GNOME= gnometarget gtk20
|
2000-10-05 09:22:56 +02:00
|
|
|
USE_PERL5= yes
|
2006-10-14 10:54:54 +02:00
|
|
|
USE_GETTEXT= yes
|
2004-06-27 20:14:11 +02:00
|
|
|
USE_GMAKE= yes
|
2000-10-05 09:22:56 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2009-03-28 18:53:24 +01:00
|
|
|
MAKE_JOBS_SAFE= yes
|
2007-08-20 11:04:41 +02:00
|
|
|
CONFIGURE_ARGS= --with-wmakerdataprefix="${LOCALBASE}/share" \
|
|
|
|
--with-wmakeretcprefix="${LOCALBASE}/share"
|
2000-10-05 09:22:56 +02:00
|
|
|
|
2004-06-27 20:14:11 +02:00
|
|
|
MAN1= mkpreview.1 wmakerconf.1
|
1999-08-26 22:44:33 +02:00
|
|
|
|
2005-03-13 16:52:36 +01:00
|
|
|
post-extract:
|
|
|
|
@${FIND} ${WRKSRC} -name "*.gmo" -delete
|
2000-06-29 10:20:13 +02:00
|
|
|
|
2007-09-18 20:42:12 +02:00
|
|
|
post-patch:
|
2007-08-20 11:04:41 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|lynx wget|lynx fetch|g' ${WRKSRC}/configure
|
|
|
|
@${REINPLACE_CMD} -e '/chmod 0/d' ${WRKSRC}/Makefile.in
|
2007-09-18 20:42:12 +02:00
|
|
|
@${REINPLACE_CMD} -E '/\/usr\/share/d; \
|
|
|
|
s|/usr/local|${LOCALBASE}|g ; \
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
s|/usr/X11R6|${LOCALBASE}|g; \
|
2007-09-18 20:42:12 +02:00
|
|
|
s|(share/pixmaps.*),|\1|g' \
|
|
|
|
${WRKSRC}/data/WMWmakerconf*
|
2005-03-13 16:52:36 +01:00
|
|
|
.for file in data/po/ja.po po/ja.po
|
2007-08-20 11:04:41 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|JISX-0208-1983-0|euc-jp|g' ${WRKSRC}/${file}
|
2004-06-27 20:14:11 +02:00
|
|
|
.endfor
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|