f65f20b278
A big Thank You to the original contributors of these ports: * Adam Weinberger * Alejandro Pulver <alepulver@FreeBSD.org> * Alexey Dokuchaev <danfe@FreeBSD.org> * Alexey Dokuchaev <danfe@regency.nsu.ru> * Andreas Kohn <andreas@syndrom23.de> * Anton Tornqvist <antont@inbox.lv> * Aragon Gouveia <aragon@phat.za.net> * Babak Farrokhi <babak@farrokhi.net> * Brett Taylor <brett@peloton.physics.montana.edu> * Brian Handy <handy@physics.montana.edu> * Bruce A. Mah <bmah@ca.sandia.gov> * Dennis Herrmann <adox@mcx2.org> * Dennis Herrmann <dhn@FreeBSD.org> * Dima Sivachenko <dima@chg.ru> * Dominik Rothert <dr@domix.de> * Douglas Carmichael <dcarmich@mcs.com> * Eric Anholt <anholt@FreeBSD.org> * Felix Palmen <felix@palmen-it.de> * Florent Thoumie <flz@xbsd.org> * Garrett Rooney <rooneg@electricjellyfish.net> * George Reid <greid@ukug.uk.freebsd.org> * Gergely Nagy <8@free.bsd.hu> * Gustau Perez i Querol <gustau.perez@gmail.com> * J Han <hjh@photino.com> * Jakub Lach <jakub_lach@mailplus.pl> * James Earl <jdearl@telus.net> * Jean-Yves Lefort <jylefort@brutele.be> * Jeroen Schot <schot@a-eskwadraat.nl> * Jim Mock <jim@FreeBSD.org> * Matt Lancereau <matt@rimasec.net> * Matthieu Guegan <matt.guegan@free.fr> * Maxim Sobolev <sobomax@FreeBSD.org> * Michael Ebert <ebert@informatik.unibw-muenchen.de> * Michael Johnson <ahze@ahze.net> * Neil Blakey-Milner * Nikos Ntarmos <ntarmos@ceid.upatras.gr> * Olivier Duchateau * Patrick Seal <patseal@hyperhost.net> * Pawel Worach <pawel.worach@gmail.com> * Peter Pentchev <roam@FreeBSD.org> * Robert Noland <rnoland@FreeBSD.org> * Roman Bogorodskiy <bogorodskiy@inbox.ru> * Rudolf Polzer <freebsd-dr@durchnull.de> * Rusmir Dusko <nemysis@FreeBSD.org> * Stefan Zehl <sec@42.org> * Tommy Scheunemann <net@arrishq.org> * V. Jahns <vj562001@yahoo.de> * Will Andrews <andrews@technologist.com> * William Grzybowski <wg@FreeBSD.org> * William Grzybowski <william88@gmail.com> * Yukihiro Nakai <Nakai@Mlab.t.u-tokyo.ac.jp> * Yukihiro Nakai <nakai@FreeBSD.org> * alepulver * anders@hack.org * asami * chinsan * gahr * gpalmer * hrkfrd@gmail.com * jfitz@FreeBSD.org * lab@fnurt.net * peter * spn * torstenb * trevor * vanilla With hat: portmgr
62 lines
1.7 KiB
Makefile
62 lines
1.7 KiB
Makefile
PORTNAME= openbox
|
|
PORTVERSION= 3.6
|
|
PORTREVISION= 9
|
|
CATEGORIES= x11-wm
|
|
MASTER_SITES= http://openbox.org/dist/openbox/
|
|
|
|
MAINTAINER= novel@FreeBSD.org
|
|
COMMENT= Small, fast, standards compliant, extensible window manager
|
|
|
|
LICENSE= GPLv2
|
|
|
|
LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \
|
|
libfreetype.so:print/freetype2
|
|
|
|
GNU_CONFIGURE= yes
|
|
USES= gmake gnome libtool pathfix python:run pkgconfig shebangfix xorg
|
|
USE_GNOME= cairo glib20 libxml2 pango
|
|
USE_XORG= ice sm x11 xcursor xext xft xinerama xrandr \
|
|
xrender xau
|
|
USE_LDCONFIG= yes
|
|
INSTALL_TARGET= install-strip
|
|
SHEBANG_FILES= data/autostart/openbox-xdg-autostart
|
|
ETCDIR= ${PREFIX}/etc/xdg/${PORTNAME}
|
|
|
|
CFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib -lXext
|
|
|
|
PLIST_SUB= VERSION=${PORTVERSION}
|
|
|
|
OPTIONS_DEFINE= NLS IMLIB SVG NOTIFY PATCHES
|
|
OPTIONS_DEFAULT= IMLIB NOTIFY SVG
|
|
OPTIONS_SUB= yes
|
|
|
|
NLS_USES= gettext
|
|
NLS_CONFIGURE_OFF= --disable-nls
|
|
|
|
NOTIFY_LIB_DEPENDS= libstartup-notification-1.so:x11/startup-notification
|
|
NOTIFY_CONFIGURE_OFF= --disable-startup-notification
|
|
|
|
IMLIB_CONFIGURE_ENABLE= imlib2
|
|
IMLIB_LIB_DEPENDS= libImlib2.so:graphics/imlib2
|
|
|
|
SVG_USE= GNOME=librsvg2
|
|
SVG_CONFIGURE_ENABLE= librsvg
|
|
|
|
PATCHES_DESC= Enable 3rd party patches (such as rounded corners)
|
|
PATCHES_EXTRA_PATCHES= ${PATCHDIR}/openbox-3.5.0-title-matching.patch:-p1 \
|
|
${PATCHDIR}/openbox-3.5.0-which-2.20.patch:-p1 \
|
|
${PATCHDIR}/openbox-3.6.2-fix-out-of-bounds.patch:-p1 \
|
|
${PATCHDIR}/openbox-3.6.2-rounded-corners.patch:-p1
|
|
|
|
post-configure:
|
|
@${CHMOD} +x ${WRKSRC}/install-sh
|
|
|
|
post-install:
|
|
.for config_file in autostart environment menu.xml rc.xml
|
|
@${MV} ${STAGEDIR}${ETCDIR}/${config_file} \
|
|
${STAGEDIR}${ETCDIR}/${config_file}.sample
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|