2007-09-15 16:04:18 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.73 2007/09/15 20:04:25 merdely Exp $
|
2001-03-28 04:59:37 -05:00
|
|
|
|
2007-09-15 16:04:18 -04:00
|
|
|
COMMENT-main= window manager that emulates NEXTSTEP(tm)
|
|
|
|
COMMENT-lang= language subpackage for Window Maker
|
1998-12-03 19:29:20 -05:00
|
|
|
|
2005-11-01 12:28:34 -05:00
|
|
|
V= 0.92.0
|
2002-07-23 03:58:04 -04:00
|
|
|
DISTNAME= WindowMaker-${V}
|
2007-08-25 05:27:12 -04:00
|
|
|
PKGNAME-main= ${DISTNAME:L}p7
|
2006-04-14 16:12:34 -04:00
|
|
|
FULLPKGNAME-lang= windowmaker-lang-${V}p1
|
2005-12-27 18:12:23 -05:00
|
|
|
SHARED_LIBS= wraster 5.0
|
2001-03-09 09:28:45 -05:00
|
|
|
CATEGORIES= x11 x11/windowmaker
|
2000-04-02 23:03:31 -04:00
|
|
|
|
2006-04-05 00:37:00 -04:00
|
|
|
HOMEPAGE= http://www.windowmaker.info/
|
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
|
|
|
NO_REGRESS= Yes
|
2005-12-27 18:12:23 -05:00
|
|
|
SEPARATE_BUILD= simple
|
2001-03-09 09:28:45 -05:00
|
|
|
USE_X11= Yes
|
2005-12-27 18:12:23 -05:00
|
|
|
USE_LIBTOOL= Yes
|
2005-11-01 12:28:34 -05:00
|
|
|
CONFIGURE_STYLE= gnu
|
2001-03-09 09:28:45 -05:00
|
|
|
CONFIGURE_ARGS+= ${CONFIGURE_SHARED} \
|
|
|
|
--enable-static \
|
2006-10-17 08:14:50 -04:00
|
|
|
--enable-xinerama \
|
2005-11-01 12:28:34 -05:00
|
|
|
--with-datadir="${LOCALBASE}/share/WindowMaker" \
|
|
|
|
--with-nlsdir="${LOCALBASE}/share/locale"
|
2001-05-21 10:05:58 -04:00
|
|
|
|
2005-11-01 12:28:34 -05:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/libpng" LIBS="-L${LOCALBASE}/lib" \
|
|
|
|
LINGUAS='be bg bs ca cs da de el es et fi fr gl hr hu it ja ko ms nl no pl pt ro ru sk sv tr zh_CN zh_TW'
|
2001-05-21 10:05:58 -04:00
|
|
|
|
2006-11-21 17:07:07 -05:00
|
|
|
MULTI_PACKAGES= -main -lang
|
2002-07-23 03:58:04 -04:00
|
|
|
|
2004-08-10 07:16:43 -04:00
|
|
|
MODULES= devel/gettext
|
2006-09-18 06:21:48 -04:00
|
|
|
LIB_DEPENDS= jpeg.>=62::graphics/jpeg \
|
|
|
|
tiff.>=35::graphics/tiff \
|
|
|
|
png.>=2::graphics/png \
|
|
|
|
ungif.>=5::graphics/libungif
|
2007-04-08 12:33:41 -04:00
|
|
|
WANTLIB= X11 Xau Xdmcp Xext Xft Xinerama Xpm Xrender c expat \
|
|
|
|
fontconfig freetype m z
|
2006-11-21 17:07:07 -05:00
|
|
|
|
|
|
|
RUN_DEPENDS-lang= :windowmaker->=0.90.0:x11/windowmaker
|
|
|
|
LIB_DEPENDS-lang=
|
|
|
|
WANTLIB-lang=
|
2000-02-12 03:02:07 -05:00
|
|
|
|
2001-02-15 12:57:54 -05:00
|
|
|
post-patch:
|
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
|
|
|
|
2005-11-01 12:28:34 -05:00
|
|
|
pre-configure:
|
|
|
|
@perl -pi -e "s|%%PREFIX%%|${PREFIX}|g" \
|
|
|
|
${WRKSRC}/WINGs/wapplication.c \
|
|
|
|
${WRKSRC}/WPrefs.app/Menu.c \
|
|
|
|
${WRKSRC}/WPrefs.app/Paths.c \
|
|
|
|
${WRKSRC}/WindowMaker/Defaults/WindowMaker.in
|
|
|
|
|
1999-04-21 21:07:46 -04:00
|
|
|
post-install:
|
2005-11-13 03:49:19 -05:00
|
|
|
mv ${WRKINST}/${SYSCONFDIR}/WindowMaker ${PREFIX}/share/examples/
|
2001-02-15 12:57:54 -05:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/WindowMaker/Sounds
|
2005-11-01 12:28:34 -05:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/GNUstep/Applications
|
|
|
|
ln -s ${LOCALBASE}/share/WPrefs ${PREFIX}/GNUstep/Applications/WPrefs.app
|
1998-12-03 19:29:20 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|