8e4836198e
c91bb1ba13
From upstream git via Bryan Linton (bl AT shoshoni DOT info)
75 lines
2.1 KiB
Makefile
75 lines
2.1 KiB
Makefile
# $OpenBSD: Makefile,v 1.82 2012/03/17 17:32:28 dcoppa Exp $
|
|
|
|
COMMENT-main= window manager that emulates NEXTSTEP(tm)
|
|
COMMENT-lang= language subpackage for Window Maker
|
|
|
|
V= 0.92.0
|
|
DISTNAME= WindowMaker-${V}
|
|
PKGNAME-main= ${DISTNAME:L}
|
|
REVISION-main= 11
|
|
FULLPKGNAME-lang= windowmaker-lang-${V}
|
|
REVISION-lang= 2
|
|
SHARED_LIBS= wraster 5.0
|
|
CATEGORIES= x11 x11/windowmaker
|
|
|
|
HOMEPAGE= http://www.windowmaker.info/
|
|
|
|
MAINTAINER= Peter Stromberg <wilfried@openbsd.org>
|
|
|
|
# GPL
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
MASTER_SITES= ${MASTER_SITE_WINDOWMAKER:=source/release/}
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
NO_REGRESS= Yes
|
|
SEPARATE_BUILD= simple
|
|
USE_LIBTOOL= Yes
|
|
USE_GROFF = Yes
|
|
CONFIGURE_STYLE= gnu
|
|
CONFIGURE_ARGS+= ${CONFIGURE_SHARED} \
|
|
--enable-static \
|
|
--enable-xinerama \
|
|
--with-datadir="${LOCALBASE}/share/WindowMaker" \
|
|
--with-nlsdir="${LOCALBASE}/share/locale"
|
|
|
|
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'
|
|
|
|
MULTI_PACKAGES= -main -lang
|
|
|
|
MODULES= devel/gettext
|
|
LIB_DEPENDS= graphics/tiff \
|
|
graphics/png \
|
|
graphics/libungif
|
|
WANTLIB= X11 Xau Xdmcp Xext Xft Xinerama Xpm Xrender c expat \
|
|
fontconfig freetype m z pthread-stubs xcb jpeg \
|
|
tiff png ungif
|
|
|
|
RUN_DEPENDS-lang= x11/windowmaker>=0.90.0
|
|
LIB_DEPENDS-lang=
|
|
WANTLIB-lang=
|
|
|
|
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
|
|
|
|
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
|
|
|
|
post-install:
|
|
mv ${WRKINST}/${SYSCONFDIR}/WindowMaker ${PREFIX}/share/examples/
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/WindowMaker/Sounds
|
|
${INSTALL_DATA_DIR} ${PREFIX}/GNUstep/Applications
|
|
ln -s ${LOCALBASE}/share/WPrefs ${PREFIX}/GNUstep/Applications/WPrefs.app
|
|
|
|
.include <bsd.port.mk>
|