2002-05-13 04:18:19 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.53 2002/05/13 08:18:20 wilfried Exp $
|
2001-03-28 04:59:37 -05:00
|
|
|
|
|
|
|
COMMENT= 'window manager that emulates NEXTSTEP(tm)'
|
1998-12-03 19:29:20 -05:00
|
|
|
|
2002-01-04 17:40:02 -05:00
|
|
|
DISTNAME= WindowMaker-0.80.0
|
2001-03-09 09:28:45 -05:00
|
|
|
PKGNAME= ${DISTNAME:L}
|
|
|
|
CATEGORIES= x11 x11/windowmaker
|
2002-05-13 04:18:19 -04:00
|
|
|
NEED_VERSION= 1.528
|
2000-04-02 23:03:31 -04:00
|
|
|
|
2001-03-09 09:28:45 -05:00
|
|
|
HOMEPAGE= http://www.windowmaker.org/
|
2000-07-20 02:02:02 -04:00
|
|
|
|
2001-03-09 09:28:45 -05:00
|
|
|
MAINTAINER= Peter Stromberg <wilfried@openbsd.org>
|
1999-03-08 23:13:58 -05:00
|
|
|
|
2002-04-29 05:00:59 -04:00
|
|
|
# GPL
|
2000-02-15 13:42:43 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
2001-03-09 09:28:45 -05:00
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
2000-02-15 13:42:43 -05:00
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
2001-03-09 09:28:45 -05:00
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2002-05-13 04:18:19 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_WINDOWMAKER:=source/release/}
|
2001-06-05 05:22:56 -04:00
|
|
|
EXTRACT_SUFX= .tar.bz2
|
2001-03-09 09:28:45 -05:00
|
|
|
|
2001-10-24 09:54:38 -04:00
|
|
|
LIB_DEPENDS= jpeg.62::graphics/jpeg \
|
2001-03-09 09:28:45 -05:00
|
|
|
tiff.35::graphics/tiff \
|
2001-05-23 22:27:06 -04:00
|
|
|
png.2::graphics/png \
|
2001-11-10 06:13:48 -05:00
|
|
|
ungif.5::graphics/libungif
|
2001-03-09 09:28:45 -05:00
|
|
|
|
2001-10-24 09:54:38 -04:00
|
|
|
NO_REGRESS= Yes
|
2001-05-21 10:05:58 -04:00
|
|
|
SEPARATE_BUILD= concurrent
|
2001-03-09 09:28:45 -05:00
|
|
|
USE_X11= Yes
|
|
|
|
CONFIGURE_STYLE= gnu
|
|
|
|
CONFIGURE_ARGS+= ${CONFIGURE_SHARED} \
|
|
|
|
--enable-static \
|
2001-05-21 10:05:58 -04:00
|
|
|
--with-pixmapdir="${PREFIX}/share/WindowMaker/Pixmaps" \
|
2001-09-14 12:13:05 -04:00
|
|
|
--with-nlsdir="${LOCALBASE}/share/locale" \
|
2001-10-24 09:54:38 -04:00
|
|
|
--disable-dependency-tracking \
|
|
|
|
--enable-gnome \
|
|
|
|
--enable-kde
|
2002-04-30 09:05:04 -04:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/libpng"
|
2001-05-21 10:05:58 -04:00
|
|
|
|
2001-09-14 12:13:05 -04:00
|
|
|
FLAVORS= i18n
|
2001-05-21 10:05:58 -04:00
|
|
|
FLAVOR?=
|
|
|
|
|
|
|
|
.if ${FLAVOR:L:Mi18n}
|
2001-09-24 05:27:52 -04:00
|
|
|
MODULES= gettext
|
2001-05-21 10:05:58 -04:00
|
|
|
CONFIGURE_ENV+= LIBS="-L${LOCALBASE}/lib"
|
|
|
|
CONFIGURE_ENV+= LINGUAS='bg cs da de el es et fi fr gl hr hu it ja ko nl no pl pt ro ru sk sv tr zh_CN zh_TW.Big5'
|
|
|
|
.endif
|
2000-02-12 03:02:07 -05:00
|
|
|
|
2001-03-09 09:28:45 -05:00
|
|
|
SYSCONFDIR= ${PREFIX}/share/WindowMaker/Defaults
|
1998-12-03 19:29:20 -05:00
|
|
|
|
2001-02-15 12:57:54 -05:00
|
|
|
post-patch:
|
|
|
|
@perl -pi -e "s|%%PREFIX%%|${PREFIX}|g" \
|
|
|
|
${WRKSRC}/WINGs/wapplication.c \
|
|
|
|
${WRKSRC}/WPrefs.app/Menu.c \
|
|
|
|
${WRKSRC}/WPrefs.app/Paths.c
|
2001-05-21 10:05:58 -04:00
|
|
|
# Rename wrongly named locale files
|
|
|
|
@mv ${WRKSRC}/WindowMaker/menu.cz ${WRKSRC}/WindowMaker/menu.cs
|
|
|
|
@mv ${WRKSRC}/WindowMaker/menu.se ${WRKSRC}/WindowMaker/menu.sv
|
2000-07-20 02:02:02 -04:00
|
|
|
|
1999-04-21 21:07:46 -04:00
|
|
|
post-install:
|
2001-02-15 12:57:54 -05:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/WindowMaker/Sounds
|
1998-12-03 19:29:20 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|