Permalink
Fetching contributors…
Cannot retrieve contributors at this time
66 lines (55 sloc) 1.93 KB
PortSystem 1.0
PortGroup gnustep 1.0
name gnustep-back
version 0.17.0
platforms darwin
# libs are LGPL, tools are GPL
license {LGPL GPL-3+}
maintainers nomaintainer
description A back-end component for the GNUstep GUI Library.
long_description \
The implementation of the GNUstep GUI Library is designed \
in two parts. The first part is the front-end component \
which is independent of platform and display system. \
This front-end is combined with a back-end component \
which handles all of the display system dependent \
such as specific calls to the X Window System.
depends_lib port:gnustep-gui \
port:libart_lgpl \
port:Xft2
checksums md5 314c753ae922082345cf3a288440fa5a \
sha1 04059fc2da1c767be5a1a8c57915b9e1a7bc3a08 \
rmd160 b17eef44a252785adb955fee911711ce23d04031
use_configure yes
configure.args --enable-graphics=art \
--disable-glitz \
--disable-glx
post-install {
ui_msg "
In order to have a working GNUstep environment,
copy these lines at the top of your ~/.xinitrc file :"
if {[file exists ${prefix}/GNUstep/System/Library/Makefiles/GNUstep.sh]} {
ui_msg ". ${prefix}/GNUstep/System/Library/Makefiles/GNUstep.sh"
}
ui_msg "
gdnc
gpbs
make_services
For more information on setting the GNUstep environment, see
http://gnustep.made-it.com/BuildGuide/#CONFIG.GNUSTEP"
}
platform macosx {
patchfiles-append patch-ftfont.m \
patch-CairoFaceInfo.h
}
# works better in quartz-wm
variant quartzwm {
patchfiles-append patch-Source-x11-XGServerWindow.m
}
# experimental backend
variant cairo {
depends_lib-delete port:libart_lgpl
depends_lib-append path:lib/pkgconfig/cairo.pc:cairo
configure.args-delete --enable-graphics=art
configure.args-append --enable-graphics=cairo
}