2013-04-29 22:07:27 +00:00
|
|
|
# Created by: Aragon Gouveia <aragon@phat.za.net>
|
2009-07-01 19:06:38 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2012-03-06 03:14:06 +00:00
|
|
|
PORTNAME= spectrwm
|
2013-12-08 14:18:01 +00:00
|
|
|
PORTVERSION= 2.4.0
|
2009-07-01 19:06:38 +00:00
|
|
|
CATEGORIES= x11-wm
|
2012-03-06 03:14:06 +00:00
|
|
|
MASTER_SITES= https://opensource.conformal.com/snapshots/${PORTNAME}/
|
2009-07-01 19:06:38 +00:00
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
2012-07-03 08:28:34 +00:00
|
|
|
MAINTAINER= zeising@FreeBSD.org
|
2009-07-01 19:06:38 +00:00
|
|
|
COMMENT= A small, dynamic tiling window manager for X11
|
|
|
|
|
2011-08-16 21:53:28 +00:00
|
|
|
LICENSE= ISCL
|
|
|
|
|
The FreeBSD x11 team proudly presents
an zeising, kwm, miwi, bapt, eadler production:
Xorg 7.7
Starring:
xserver 1.12.4 (new xorg only)
Mesa 8.0.4, including libGL, libGLU and dri (new xorg only)
libX11 1.5.0
libxcb 1.9
libdrm 2.4.42 (new xorg only)
freeglut 2.8.1
Also starring:
Updates to drivers and other libraries and utilities
Additional notes:
Change pkgconf to be a build dependency.
Add a new USE_XORG, xcb, to depend on libxcb and update all ports to use
this.
Trim makefile headers.
Take maintanership of x11/xcb-proto, ok'd by ashish.
If you are running WITH_NEW_XORG=, you need to rebuild all installed
drivers, see UPDATING for more information.
Various fixes to make ports compile.
PR: ports/177942
Exp-run by: miwi
Approved by: portmgr (miwi)
Thanks to all who helped testing!
2013-05-25 14:37:02 +00:00
|
|
|
LIB_DEPENDS+= xcb-util:${PORTSDIR}/x11/xcb-util \
|
2012-08-23 11:24:34 +00:00
|
|
|
xcb-icccm:${PORTSDIR}/x11/xcb-util-wm \
|
|
|
|
xcb-keysyms:${PORTSDIR}/x11/xcb-util-keysyms
|
|
|
|
RUN_DEPENDS+= dmenu:${PORTSDIR}/x11/dmenu
|
2009-07-01 19:06:38 +00:00
|
|
|
|
The FreeBSD x11 team proudly presents
an zeising, kwm, miwi, bapt, eadler production:
Xorg 7.7
Starring:
xserver 1.12.4 (new xorg only)
Mesa 8.0.4, including libGL, libGLU and dri (new xorg only)
libX11 1.5.0
libxcb 1.9
libdrm 2.4.42 (new xorg only)
freeglut 2.8.1
Also starring:
Updates to drivers and other libraries and utilities
Additional notes:
Change pkgconf to be a build dependency.
Add a new USE_XORG, xcb, to depend on libxcb and update all ports to use
this.
Trim makefile headers.
Take maintanership of x11/xcb-proto, ok'd by ashish.
If you are running WITH_NEW_XORG=, you need to rebuild all installed
drivers, see UPDATING for more information.
Various fixes to make ports compile.
PR: ports/177942
Exp-run by: miwi
Approved by: portmgr (miwi)
Thanks to all who helped testing!
2013-05-25 14:37:02 +00:00
|
|
|
USE_XORG= x11 xcb xcursor xft xrandr xt
|
2009-07-01 19:06:38 +00:00
|
|
|
|
2012-07-04 14:57:11 +00:00
|
|
|
USE_LDCONFIG= yes
|
2012-03-06 03:14:06 +00:00
|
|
|
PORTEXAMPLES= spectrwm_cz.conf \
|
|
|
|
spectrwm_es.conf \
|
|
|
|
spectrwm_fr.conf \
|
|
|
|
spectrwm_fr_ch.conf \
|
|
|
|
spectrwm_se.conf \
|
|
|
|
spectrwm_us.conf
|
2009-07-01 19:06:38 +00:00
|
|
|
|
2011-07-05 17:42:12 +00:00
|
|
|
post-patch:
|
2012-03-06 03:14:06 +00:00
|
|
|
@${REINPLACE_CMD} -e 's|/etc/|${PREFIX}/etc/|g' ${WRKSRC}/spectrwm.*
|
2011-07-05 17:42:12 +00:00
|
|
|
|
2009-07-01 19:06:38 +00:00
|
|
|
do-build:
|
2012-01-16 18:35:03 +00:00
|
|
|
${CC} ${CFLAGS} -I${LOCALBASE}/include \
|
2012-08-23 11:24:34 +00:00
|
|
|
-I${LOCALBASE}/include/freetype2 -I${WRKSRC}/freebsd \
|
|
|
|
-lutil -L${LOCALBASE}/lib -lX11 -lX11-xcb -lxcb -lxcb-icccm \
|
2012-08-28 10:09:38 +00:00
|
|
|
-lxcb-keysyms -lxcb-randr -lxcb-util -lxcb-xtest -lXcursor \
|
|
|
|
-lXft -lXrandr -DSWM_LIB=\"${PREFIX}/lib/libswmhack.so\" \
|
2009-07-01 19:06:38 +00:00
|
|
|
-o ${WRKSRC}/${PORTNAME} ${WRKSRC}/${PORTNAME}.c
|
2012-01-16 19:11:05 +00:00
|
|
|
${CC} ${CFLAGS} -I${LOCALBASE}/include -shared -fpic -DPIC \
|
2009-11-02 10:42:22 +00:00
|
|
|
-o ${WRKSRC}/libswmhack.so ${WRKSRC}/lib/swm_hack.c
|
2009-07-01 19:06:38 +00:00
|
|
|
|
|
|
|
do-install:
|
2013-12-08 14:18:01 +00:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/screenshot.sh ${STAGEDIR}${PREFIX}/bin
|
|
|
|
${INSTALL_LIB} ${WRKSRC}/libswmhack.so ${STAGEDIR}${PREFIX}/lib
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/spectrwm.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/spectrwm.conf ${STAGEDIR}${PREFIX}/etc/spectrwm.conf.sample
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/spectrwm.conf ${STAGEDIR}${PREFIX}/etc/spectrwm.conf
|
|
|
|
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
2013-12-08 23:23:49 +00:00
|
|
|
.for conf in ${PORTEXAMPLES}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${conf} ${STAGEDIR}${EXAMPLESDIR}
|
|
|
|
.endfor
|
2009-07-01 19:06:38 +00:00
|
|
|
|
2012-07-04 14:57:11 +00:00
|
|
|
.include <bsd.port.mk>
|