openbsd-ports/x11/windowmaker/Makefile

73 lines
2.1 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.73 2007/09/15 20:04:25 merdely Exp $
COMMENT-main= window manager that emulates NEXTSTEP(tm)
COMMENT-lang= language subpackage for Window Maker
2005-11-01 12:28:34 -05:00
V= 0.92.0
DISTNAME= WindowMaker-${V}
PKGNAME-main= ${DISTNAME:L}p7
FULLPKGNAME-lang= windowmaker-lang-${V}p1
SHARED_LIBS= wraster 5.0
CATEGORIES= x11 x11/windowmaker
2000-04-02 23:03:31 -04:00
HOMEPAGE= http://www.windowmaker.info/
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
PERMIT_PACKAGE_FTP= Yes
2000-02-15 13:42:43 -05:00
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
2002-05-13 04:18:19 -04:00
MASTER_SITES= ${MASTER_SITE_WINDOWMAKER:=source/release/}
EXTRACT_SUFX= .tar.bz2
2001-10-24 09:54:38 -04:00
NO_REGRESS= Yes
SEPARATE_BUILD= simple
USE_X11= Yes
USE_LIBTOOL= Yes
2005-11-01 12:28:34 -05:00
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= ${CONFIGURE_SHARED} \
--enable-static \
--enable-xinerama \
2005-11-01 12:28:34 -05:00
--with-datadir="${LOCALBASE}/share/WindowMaker" \
--with-nlsdir="${LOCALBASE}/share/locale"
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'
2006-11-21 17:07:07 -05:00
MULTI_PACKAGES= -main -lang
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
post-patch:
# Rename wrongly named locale files
@mv ${WRKSRC}/WindowMaker/menu.cz ${WRKSRC}/WindowMaker/menu.cs
@mv ${WRKSRC}/WindowMaker/menu.se ${WRKSRC}/WindowMaker/menu.sv
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/
${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
.include <bsd.port.mk>