1997-11-04 11:33:43 +01:00
|
|
|
# New ports collection makefile for: WindowMaker
|
|
|
|
# Date created: August 13, 1997
|
|
|
|
# Whom: handy@physics.montana.edu
|
|
|
|
#
|
1999-08-31 05:04:38 +02:00
|
|
|
# $FreeBSD$
|
2000-04-10 21:50:46 +02:00
|
|
|
#
|
1997-11-04 11:33:43 +01:00
|
|
|
|
2000-04-10 21:50:46 +02:00
|
|
|
PORTNAME= windowmaker
|
2005-07-25 10:12:21 +02:00
|
|
|
PORTVERSION= 0.92.0
|
2010-05-31 04:01:56 +02:00
|
|
|
PORTREVISION= 10
|
1999-01-18 07:43:04 +01:00
|
|
|
CATEGORIES= x11-wm windowmaker
|
2006-05-21 22:11:57 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_WINDOWMAKER} \
|
|
|
|
http://dougbarton.us/Downloads/
|
2001-09-30 23:09:23 +02:00
|
|
|
MASTER_SITE_SUBDIR= source/release
|
2000-04-10 21:50:46 +02:00
|
|
|
DISTNAME= WindowMaker-${PORTVERSION}
|
1997-11-04 11:33:43 +01:00
|
|
|
|
Update to 0.91.0, the latest version from the window maker team.
It contains several bug fixes, especially for the new alt-tab code.
1. Adopt this port, at least for the time being. I use it every day,
and follow the wm-user list so I'm probably qualified.
2. Update the descriptions of the OPTIONS.
3. Restore the knob for KDE, and add knobs for XINERAMA and the
additional LINGUAS files. These, and the XKB_STATUS knobs are all
off by default, but on for the PACKAGE_BUILDING case. I borrowed
this concept from the fluxbox port.
4. Add a knob for the experimental virtual desktop code, off by default.
The window maker folks warn that this is still experimental, so users
shouldn't wander into it by mistake.
5. Instead of bumping the SHLIB version number to 5, set it back to 4.
The window maker folks use N.N.N for their libwraster version string,
and their version for the 0.80.2 version of window maker was 2.3.0.
Thus, our previous version number of 4 was already bogus, so keep it
bogus even though they've bumped their version to 3.N.N. The new lib
is forward compatible for apps compiled with old library (I've tested
many of them), and this "fixes" all the ports that depend on libwraster.
6. Make the locale files hidden under the LINGUAS knob conditional
in the plist.
2004-10-26 10:49:49 +02:00
|
|
|
MAINTAINER= DougB@FreeBSD.org
|
2005-12-26 14:43:57 +01:00
|
|
|
COMMENT= GNUstep-compliant NeXTstep window manager clone
|
1997-11-04 11:33:43 +01:00
|
|
|
|
(1) Add new variable, XFREE86_VERSION, to specify which version of
XFree86 (3 or 4) to depend to when USE_XLIB is set.
XFREE86_VERSION defaults to 3 for now, but adventurous users can
override it in /etc/make.conf. When XFREE86_VERSION=3, USE_XLIB
will add a dependency to x11/XFree86; when it is set to 4, the
dependency will be to x11/XFree86-4-libraries. When
XFREE86_VERSION=4, the PKG_IGNORE_DEPENDS and ALWAYS_BUILD_DEPENDS
hacks to avoid messing with XFree86 are turned off.
Since XFree86 version 4 includes some software that used to be
separate ports, when XFREE86_VERSION=3 the following variables are
provided:
USE_DGS LIB_DEPENDS on x11/dgs
USE_FREETYPE LIB_DEPENDS on print/freetype
USE_MESA LIB_DEPENDS on graphics/Mesa3
USE_XPM LIB_DEPENDS on graphics/xpm
When XFREE86_VERSION=4, these variables have no effect. The
LIB_DEPENDS in the tree for the above four ports have all been
converted to the USE_* counterparts. For your information, this
is the count of the number of ports:
USE_DGS 0
USE_FREETYPE 16
USE_MESA 36
USE_XPM 236
There is a new variable, XAWVER, which is set to 6 when
XFREE86_VERSION=3 and 7 when XFREE86_VERSION=4. This is also
passed to PLIST_SUB so ports that build Xaw based shared libraries
can use this variable to substitute the shlib version number.
There is also a provision of using a separate mtree file for
XFREE86_VERSION=4, but that part is not enabled yet.
Reviewed by: the ports list
Tested by: make index (XFREE86_VERSION=3 only)
(2) Add hebrew to list of valid categories.
Submitted by: nbm
2000-08-03 11:28:57 +02:00
|
|
|
LIB_DEPENDS= ungif.5:${PORTSDIR}/graphics/libungif \
|
2010-03-28 08:47:48 +02:00
|
|
|
png.6:${PORTSDIR}/graphics/png \
|
2004-10-24 13:02:32 +02:00
|
|
|
tiff.4:${PORTSDIR}/graphics/tiff \
|
|
|
|
Xft.2:${PORTSDIR}/x11-fonts/libXft
|
- 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
|
|
|
RUN_DEPENDS= ${LOCALBASE}/share/WindowMaker/Themes/LeetWM.themed/style:${PORTSDIR}/graphics/wmicons
|
1997-11-04 11:33:43 +01:00
|
|
|
|
2009-03-24 20:51:28 +01:00
|
|
|
MAKE_JOBS_SAFE= yes
|
|
|
|
|
2009-08-02 21:36:34 +02:00
|
|
|
USE_AUTOTOOLS= libtool:22
|
1999-05-01 04:45:41 +02:00
|
|
|
USE_BZIP2= yes
|
2004-10-26 00:27:51 +02:00
|
|
|
USE_GNOME= gnomehack gnometarget pkgconfig
|
2008-03-25 00:21:25 +01:00
|
|
|
USE_XORG= xpm
|
2004-10-26 00:27:51 +02:00
|
|
|
USE_PERL5= yes
|
|
|
|
USE_GETTEXT= yes
|
2006-02-23 11:40:44 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2004-10-26 00:27:51 +02:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
Update to 0.91.0, the latest version from the window maker team.
It contains several bug fixes, especially for the new alt-tab code.
1. Adopt this port, at least for the time being. I use it every day,
and follow the wm-user list so I'm probably qualified.
2. Update the descriptions of the OPTIONS.
3. Restore the knob for KDE, and add knobs for XINERAMA and the
additional LINGUAS files. These, and the XKB_STATUS knobs are all
off by default, but on for the PACKAGE_BUILDING case. I borrowed
this concept from the fluxbox port.
4. Add a knob for the experimental virtual desktop code, off by default.
The window maker folks warn that this is still experimental, so users
shouldn't wander into it by mistake.
5. Instead of bumping the SHLIB version number to 5, set it back to 4.
The window maker folks use N.N.N for their libwraster version string,
and their version for the 0.80.2 version of window maker was 2.3.0.
Thus, our previous version number of 4 was already bogus, so keep it
bogus even though they've bumped their version to 3.N.N. The new lib
is forward compatible for apps compiled with old library (I've tested
many of them), and this "fixes" all the ports that depend on libwraster.
6. Make the locale files hidden under the LINGUAS knob conditional
in the plist.
2004-10-26 10:49:49 +02:00
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
1998-02-26 08:24:19 +01:00
|
|
|
CONFIGURE_ARGS= --with-pixmapdir=${PREFIX}/include/X11/pixmaps \
|
2001-01-08 03:09:09 +01:00
|
|
|
--with-nlsdir=${PREFIX}/share/locale \
|
|
|
|
--with-libs-from="-L${LOCALBASE}/lib" \
|
|
|
|
--with-incs-from="-I${LOCALBASE}/include" \
|
2005-07-25 10:12:21 +02:00
|
|
|
--with-gnustepdir="${PREFIX}/GNUstep" \
|
2001-01-08 03:09:09 +01:00
|
|
|
--disable-debug
|
2007-10-05 19:28:19 +02:00
|
|
|
USE_LDCONFIG= yes
|
2004-02-14 07:04:05 +01:00
|
|
|
|
2009-08-17 22:10:39 +02:00
|
|
|
CONFLICTS= libwraster-0.*
|
|
|
|
|
2001-07-24 11:00:50 +02:00
|
|
|
MANLANG= "" sk
|
2001-01-08 03:09:09 +01:00
|
|
|
MAN1= geticonset.1x getstyle.1x seticons.1x setstyle.1x wdwrite.1x \
|
2004-10-24 13:02:32 +02:00
|
|
|
wmaker.1x wmsetbg.1x wxcopy.1x wxpaste.1x
|
1998-09-09 07:57:18 +02:00
|
|
|
|
2005-07-25 10:12:21 +02:00
|
|
|
OPTIONS= XINERAMA "Enable xinerama support" off \
|
Update to 0.91.0, the latest version from the window maker team.
It contains several bug fixes, especially for the new alt-tab code.
1. Adopt this port, at least for the time being. I use it every day,
and follow the wm-user list so I'm probably qualified.
2. Update the descriptions of the OPTIONS.
3. Restore the knob for KDE, and add knobs for XINERAMA and the
additional LINGUAS files. These, and the XKB_STATUS knobs are all
off by default, but on for the PACKAGE_BUILDING case. I borrowed
this concept from the fluxbox port.
4. Add a knob for the experimental virtual desktop code, off by default.
The window maker folks warn that this is still experimental, so users
shouldn't wander into it by mistake.
5. Instead of bumping the SHLIB version number to 5, set it back to 4.
The window maker folks use N.N.N for their libwraster version string,
and their version for the 0.80.2 version of window maker was 2.3.0.
Thus, our previous version number of 4 was already bogus, so keep it
bogus even though they've bumped their version to 3.N.N. The new lib
is forward compatible for apps compiled with old library (I've tested
many of them), and this "fixes" all the ports that depend on libwraster.
6. Make the locale files hidden under the LINGUAS knob conditional
in the plist.
2004-10-26 10:49:49 +02:00
|
|
|
XKB_STATUS "XKB keyboard language status support" off \
|
2005-11-24 00:27:12 +01:00
|
|
|
WM_SINGLE_CLICK "Add single-click option to WPrefs menu" on \
|
2007-10-05 19:28:19 +02:00
|
|
|
WM_LINGUAS "Enable support for additional locales" off \
|
|
|
|
DOCKHOTKEYS "Enable support for hotkeys on docks" off
|
2004-10-26 00:27:51 +02:00
|
|
|
|
2005-10-29 09:13:29 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2005-08-11 09:52:18 +02:00
|
|
|
.if ${ARCH} == amd64
|
|
|
|
CONFIGURE_ENV+= ac_cv_c_inline_asm=no
|
|
|
|
.endif
|
2004-10-26 00:27:51 +02:00
|
|
|
|
Update to 0.91.0, the latest version from the window maker team.
It contains several bug fixes, especially for the new alt-tab code.
1. Adopt this port, at least for the time being. I use it every day,
and follow the wm-user list so I'm probably qualified.
2. Update the descriptions of the OPTIONS.
3. Restore the knob for KDE, and add knobs for XINERAMA and the
additional LINGUAS files. These, and the XKB_STATUS knobs are all
off by default, but on for the PACKAGE_BUILDING case. I borrowed
this concept from the fluxbox port.
4. Add a knob for the experimental virtual desktop code, off by default.
The window maker folks warn that this is still experimental, so users
shouldn't wander into it by mistake.
5. Instead of bumping the SHLIB version number to 5, set it back to 4.
The window maker folks use N.N.N for their libwraster version string,
and their version for the 0.80.2 version of window maker was 2.3.0.
Thus, our previous version number of 4 was already bogus, so keep it
bogus even though they've bumped their version to 3.N.N. The new lib
is forward compatible for apps compiled with old library (I've tested
many of them), and this "fixes" all the ports that depend on libwraster.
6. Make the locale files hidden under the LINGUAS knob conditional
in the plist.
2004-10-26 10:49:49 +02:00
|
|
|
.if defined(WITH_XINERAMA) || defined(PACKAGE_BUILDING)
|
|
|
|
CONFIGURE_ARGS+= --enable-xinerama
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(WITH_XKB_STATUS) || defined(PACKAGE_BUILDING)
|
2004-07-11 13:30:43 +02:00
|
|
|
CONFIGURE_ARGS+= --enable-modelock
|
2002-07-10 18:40:58 +02:00
|
|
|
.endif
|
|
|
|
|
2005-11-24 00:27:12 +01:00
|
|
|
.if !defined(WITHOUT_WM_SINGLE_CLICK) || defined(PACKAGE_BUILDING)
|
|
|
|
EXTRA_PATCHES+= ${WRKSRC}/contrib/single_click.diff
|
|
|
|
.endif
|
|
|
|
|
Update to 0.91.0, the latest version from the window maker team.
It contains several bug fixes, especially for the new alt-tab code.
1. Adopt this port, at least for the time being. I use it every day,
and follow the wm-user list so I'm probably qualified.
2. Update the descriptions of the OPTIONS.
3. Restore the knob for KDE, and add knobs for XINERAMA and the
additional LINGUAS files. These, and the XKB_STATUS knobs are all
off by default, but on for the PACKAGE_BUILDING case. I borrowed
this concept from the fluxbox port.
4. Add a knob for the experimental virtual desktop code, off by default.
The window maker folks warn that this is still experimental, so users
shouldn't wander into it by mistake.
5. Instead of bumping the SHLIB version number to 5, set it back to 4.
The window maker folks use N.N.N for their libwraster version string,
and their version for the 0.80.2 version of window maker was 2.3.0.
Thus, our previous version number of 4 was already bogus, so keep it
bogus even though they've bumped their version to 3.N.N. The new lib
is forward compatible for apps compiled with old library (I've tested
many of them), and this "fixes" all the ports that depend on libwraster.
6. Make the locale files hidden under the LINGUAS knob conditional
in the plist.
2004-10-26 10:49:49 +02:00
|
|
|
.if defined(WITH_WM_LINGUAS) || defined(PACKAGE_BUILDING)
|
|
|
|
LINGUAS!= ${CAT} ${FILESDIR}/LINGUAS
|
|
|
|
CONFIGURE_ENV+= LINGUAS="${LINGUAS}"
|
|
|
|
PLIST_SUB= WM_LINGUAS=""
|
|
|
|
.else
|
|
|
|
PLIST_SUB= WM_LINGUAS="@comment "
|
|
|
|
.endif
|
|
|
|
|
2007-10-05 19:28:19 +02:00
|
|
|
.if defined(WITH_DOCKHOTKEYS)
|
|
|
|
EXTRA_PATCHES+= ${FILESDIR}/extra_dockhotkeys.patch
|
|
|
|
.endif
|
|
|
|
|
1998-10-19 12:57:04 +02:00
|
|
|
post-patch:
|
2002-07-02 17:03:17 +02:00
|
|
|
@${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/WPrefs.app/Paths.c
|
|
|
|
@${REINPLACE_CMD} -e "s|%%PERL%%|${PERL}|g" ${WRKSRC}/util/wm-oldmenu2new
|
2004-10-26 00:27:51 +02:00
|
|
|
@${REINPLACE_CMD} -e "s|Trebuchet MS,Luxi Sans|sans|g" ${WRKSRC}/WindowMaker/Defaults/WMGLOBAL
|
2002-07-02 17:03:17 +02:00
|
|
|
@${REINPLACE_CMD} -e "s|/usr/local/GNUstep|${PREFIX}/GNUstep|g" \
|
2001-06-16 11:42:25 +02:00
|
|
|
${WRKSRC}/WindowMaker/*menu*
|
2008-12-31 13:03:34 +01:00
|
|
|
@(for file in `grep -rl windowmaker\.org ${WRKSRC}`; do \
|
|
|
|
${REINPLACE_CMD} -e "s|windowmaker\.org|windowmaker\.info|g" $$file; \
|
|
|
|
done)
|
1999-04-16 07:22:52 +02:00
|
|
|
|
1998-09-27 22:59:17 +02:00
|
|
|
post-install:
|
2001-05-27 17:31:06 +02:00
|
|
|
@${MKDIR} ${PREFIX}/share/WindowMaker/Sounds
|
2008-12-31 12:59:25 +01:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${DOCSDIR}
|
|
|
|
${CP} ${WRKSRC}/AUTHORS ${WRKSRC}/BUGFORM ${WRKSRC}/BUGS \
|
|
|
|
${WRKSRC}/ChangeLog ${WRKSRC}/FAQ ${WRKSRC}/INSTALL \
|
|
|
|
${WRKSRC}/NEWS ${WRKSRC}/README \
|
|
|
|
${WRKSRC}/README.definable-cursor ${WRKSRC}/TODO ${DOCSDIR}/
|
|
|
|
.endif
|
1998-11-24 17:04:42 +01:00
|
|
|
|
2001-01-08 03:09:09 +01:00
|
|
|
update-LINGUAS: extract
|
|
|
|
cd ${WRKSRC}/po && \
|
2002-01-29 13:14:18 +01:00
|
|
|
${ECHO_CMD} *.po | ${SED} 's|\.po||g' > ${FILESDIR}/LINGUAS
|
2001-01-08 03:09:09 +01:00
|
|
|
|
2004-02-15 07:53:07 +01:00
|
|
|
.include <bsd.port.post.mk>
|