2013-01-30 17:19:43 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.60 2013/01/30 22:19:43 dcoppa Exp $
|
2009-09-02 15:26:17 -04:00
|
|
|
|
|
|
|
COMMENT = improved dynamic tiling window manager
|
|
|
|
|
2012-12-13 07:10:13 -05:00
|
|
|
DISTNAME = i3-4.4
|
2013-01-30 17:19:43 -05:00
|
|
|
REVISION = 6
|
2009-09-02 15:26:17 -04:00
|
|
|
CATEGORIES = x11
|
|
|
|
|
|
|
|
EXTRACT_SUFX = .tar.bz2
|
2011-05-06 10:14:31 -04:00
|
|
|
HOMEPAGE = http://i3wm.org/
|
|
|
|
MASTER_SITES = ${HOMEPAGE}/downloads/
|
2010-09-14 04:54:18 -04:00
|
|
|
MAINTAINER = David Coppa <dcoppa@openbsd.org>
|
2009-09-02 15:26:17 -04:00
|
|
|
|
|
|
|
# BSD
|
|
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
PERMIT_PACKAGE_FTP = Yes
|
|
|
|
PERMIT_DISTFILES_CDROM = Yes
|
|
|
|
PERMIT_DISTFILES_FTP = Yes
|
|
|
|
|
2013-01-25 05:34:02 -05:00
|
|
|
WANTLIB = X11 Xcursor Xext Xrender c cairo ev expat \
|
2012-09-21 13:16:13 -04:00
|
|
|
fontconfig freetype glib-2.0 gobject-2.0 m \
|
|
|
|
pango-1.0 pangocairo-1.0 pangoft2-1.0 pcre \
|
|
|
|
pixman-1 png pthread pthread-stubs \
|
|
|
|
startup-notification-1 xcb xcb-atom xcb-aux \
|
|
|
|
xcb-event xcb-icccm xcb-keysyms xcb-property \
|
|
|
|
xcb-randr xcb-render xcb-shm xcb-xinerama yajl z
|
2009-09-02 15:26:17 -04:00
|
|
|
|
2012-09-21 13:16:13 -04:00
|
|
|
MODULES = converters/libiconv \
|
|
|
|
devel/gettext
|
2012-04-26 06:55:10 -04:00
|
|
|
|
2010-11-22 03:36:47 -05:00
|
|
|
LIB_DEPENDS = devel/libev \
|
2011-12-01 11:00:01 -05:00
|
|
|
devel/libyajl>=2.0.0 \
|
2012-09-21 13:16:13 -04:00
|
|
|
devel/pango \
|
2011-12-01 11:00:01 -05:00
|
|
|
devel/pcre \
|
|
|
|
devel/startup-notification
|
2012-04-26 06:55:10 -04:00
|
|
|
|
2011-11-06 15:23:24 -05:00
|
|
|
BUILD_DEPENDS = devel/bison \
|
|
|
|
devel/flex
|
2012-04-26 06:55:10 -04:00
|
|
|
|
2012-05-09 07:56:49 -04:00
|
|
|
RUN_DEPENDS = devel/desktop-file-utils \
|
|
|
|
x11/dmenu \
|
2012-05-02 03:39:08 -04:00
|
|
|
x11/i3status
|
2009-09-02 15:26:17 -04:00
|
|
|
|
|
|
|
USE_GMAKE = Yes
|
|
|
|
|
2010-06-28 18:51:25 -04:00
|
|
|
NO_REGRESS = Yes
|
|
|
|
|
2012-05-09 07:56:49 -04:00
|
|
|
MAKE_FLAGS = CC="${CC}" \
|
|
|
|
BISON="${LOCALBASE}/bin/bison" \
|
2012-09-16 18:05:46 -04:00
|
|
|
FLEX="${LOCALBASE}/bin/gflex" \
|
2012-09-21 13:16:13 -04:00
|
|
|
SYSCONFDIR=${SYSCONFDIR} \
|
|
|
|
V=1
|
2012-04-26 06:55:10 -04:00
|
|
|
|
2011-05-09 07:03:40 -04:00
|
|
|
.if defined(DEBUG)
|
|
|
|
MAKE_FLAGS += DEBUG=1
|
|
|
|
.endif
|
|
|
|
|
2010-09-14 04:54:18 -04:00
|
|
|
FAKE_FLAGS = PREFIX=${PREFIX} \
|
|
|
|
SYSCONFDIR=${PREFIX}/share/examples \
|
|
|
|
INSTALL_DATA="${INSTALL_DATA}" \
|
|
|
|
INSTALL_PROGRAM="${INSTALL_PROGRAM}" \
|
|
|
|
INSTALL_SCRIPT="${INSTALL_SCRIPT}"
|
|
|
|
|
2012-05-10 05:27:37 -04:00
|
|
|
post-configure:
|
2012-12-13 07:10:13 -05:00
|
|
|
${SUBST_CMD} ${WRKSRC}/i3-dmenu-desktop \
|
|
|
|
${WRKSRC}/i3.config \
|
2011-11-06 15:23:24 -05:00
|
|
|
${WRKSRC}/i3.config.keycodes \
|
2011-12-01 11:00:01 -05:00
|
|
|
${WRKSRC}/src/cfgparse.y \
|
2012-09-21 13:16:13 -04:00
|
|
|
${WRKSRC}/src/commands.c \
|
|
|
|
${WRKSRC}/src/config.c \
|
|
|
|
${WRKSRC}/src/key_press.c
|
2010-09-14 04:54:18 -04:00
|
|
|
|
|
|
|
post-install:
|
2012-09-21 13:16:13 -04:00
|
|
|
${INSTALL_MAN} ${WRKBUILD}/man/*.1 ${PREFIX}/man/man1/
|
2011-12-01 11:00:01 -05:00
|
|
|
${SUBST_CMD} -o ${SHAREOWN} -g ${SHAREGRP} \
|
|
|
|
-c ${WRKBUILD}/man/i3-config-wizard.1 \
|
|
|
|
${PREFIX}/man/man1/i3-config-wizard.1
|
|
|
|
${SUBST_CMD} -o ${SHAREOWN} -g ${SHAREGRP} \
|
|
|
|
-c ${WRKBUILD}/man/i3.1 \
|
|
|
|
${PREFIX}/man/man1/i3.1
|
2012-12-13 07:10:13 -05:00
|
|
|
@rm ${PREFIX}/man/man1/i3-dmenu-desktop.1 \
|
|
|
|
${PREFIX}/man/man1/i3-dump-log.1 \
|
2012-09-21 13:16:13 -04:00
|
|
|
${PREFIX}/man/man1/i3-sensible*.1
|
2009-09-02 15:26:17 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|