2010-01-06 15:44:39 +01:00
|
|
|
# $NetBSD: Makefile,v 1.15 2010/01/06 14:44:39 pallegra Exp $
|
2009-03-23 14:03:33 +01:00
|
|
|
#
|
|
|
|
|
2010-01-06 15:44:39 +01:00
|
|
|
DISTNAME= i3-3.d-bf1
|
|
|
|
PKGNAME= ${DISTNAME:C/\.//:C/-bf/bf/}
|
2009-03-23 18:42:11 +01:00
|
|
|
CATEGORIES= wm
|
2009-03-23 14:03:33 +01:00
|
|
|
MASTER_SITES= http://i3.zekjur.net/downloads/
|
|
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
|
|
|
|
MAINTAINER= michael+pkgsrc@stapelberg.de
|
|
|
|
HOMEPAGE= http://i3.zekjur.net/
|
|
|
|
COMMENT= Improved dynamic tiling window manager
|
|
|
|
|
|
|
|
BUILD_DEPENDS+= asciidoc>=8.3.0:../../textproc/asciidoc
|
2009-03-27 15:10:27 +01:00
|
|
|
BUILD_DEPENDS+= xmlto-[0-9]*:../../textproc/xmlto
|
|
|
|
BUILD_DEPENDS+= docbook-xml-[0-9]*:../../textproc/docbook-xml
|
|
|
|
|
2009-03-23 14:03:33 +01:00
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
|
2009-12-06 23:10:06 +01:00
|
|
|
USE_TOOLS+= bison gmake pkg-config lex yacc
|
2009-03-27 15:10:27 +01:00
|
|
|
|
2010-01-06 15:44:39 +01:00
|
|
|
# src/cfgparse.l:11:26: error: cfgparse.tab.h: No such file or directory
|
|
|
|
MAKE_JOBS_SAFE= no
|
|
|
|
|
2009-11-14 14:46:36 +01:00
|
|
|
PKG_SYSCONFSUBDIR= i3
|
|
|
|
INSTALLATION_DIRS= ${PKGMANDIR}/man1
|
|
|
|
CONF_FILES= ${PREFIX}/share/doc/i3/config ${PKG_SYSCONFDIR}/config
|
2009-03-23 18:42:11 +01:00
|
|
|
|
|
|
|
SUBST_CLASSES+= fix-prefix
|
|
|
|
SUBST_STAGE.fix-prefix= pre-configure
|
|
|
|
SUBST_MESSAGE.fix-prefix= Fixing absolute paths (installation)
|
2009-11-14 16:34:30 +01:00
|
|
|
SUBST_FILES.fix-prefix= Makefile i3-input/Makefile i3-msg/Makefile
|
2010-01-06 15:44:39 +01:00
|
|
|
SUBST_FILES.fix-prefix+= i3.config
|
2009-03-23 18:42:11 +01:00
|
|
|
SUBST_SED.fix-prefix= -e 's,/usr/bin,${PREFIX}/bin,g'
|
|
|
|
SUBST_SED.fix-prefix+= -e 's,/etc/i3,${PREFIX}/share/doc/i3,g'
|
|
|
|
|
|
|
|
SUBST_CLASSES+= fix-src
|
|
|
|
SUBST_STAGE.fix-src= pre-configure
|
|
|
|
SUBST_MESSAGE.fix-src= Fixing absolute paths (source)
|
2010-01-06 15:44:39 +01:00
|
|
|
SUBST_FILES.fix-src= src/config.c man/i3.man i3.welcome
|
2009-11-14 14:46:36 +01:00
|
|
|
SUBST_SED.fix-src= -e 's,/etc/i3,${PKG_SYSCONFDIR},g'
|
2010-01-06 15:44:39 +01:00
|
|
|
SUBST_SED.fix-src+= -e 's,/usr/bin,${PREFIX}/bin,g'
|
2009-03-23 14:03:33 +01:00
|
|
|
|
|
|
|
post-build:
|
|
|
|
cd ${WRKSRC} && gmake -C man
|
|
|
|
|
|
|
|
post-install:
|
2009-11-14 16:34:30 +01:00
|
|
|
.for i in i3.1 i3-input.1 i3-msg.1
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/man/${i} ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
|
|
|
|
.endfor
|
2009-03-23 14:03:33 +01:00
|
|
|
|
2009-08-16 17:38:31 +02:00
|
|
|
.include "../../devel/libev/buildlink3.mk"
|
2009-04-08 00:41:00 +02:00
|
|
|
.include "../../x11/xcb-util/buildlink3.mk"
|
|
|
|
.include "../../x11/libxcb/buildlink3.mk"
|
2009-03-23 14:03:33 +01:00
|
|
|
.include "../../x11/libX11/buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|