pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
i3-git: Add support for autotools
Module Name: pkgsrc-wip
Committed By: Mateusz Poszwa <old4%o2.pl@localhost>
Pushed By: f8l
Date: Wed Nov 2 23:02:46 2016 +0100
Changeset: 2c8188acd310430eb8c690965db169e8903de548
Modified Files:
i3-git/Makefile
Added Files:
i3-git/TODO
Log Message:
i3-git: Add support for autotools
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=2c8188acd310430eb8c690965db169e8903de548
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
i3-git/Makefile | 15 +++++++++++----
i3-git/TODO | 5 +++++
2 files changed, 16 insertions(+), 4 deletions(-)
diffs:
diff --git a/i3-git/Makefile b/i3-git/Makefile
index eb7720f..32a951b 100644
--- a/i3-git/Makefile
+++ b/i3-git/Makefile
@@ -17,9 +17,13 @@ HOMEPAGE= http://i3wm.org/
COMMENT= Improved dynamic tiling window manager
LICENSE= modified-bsd
+GNU_CONFIGURE= yes
USE_TOOLS+= gmake bison lex yacc pkg-config perl
+USE_TOOLS+= autoconf autoreconf automake
USE_LANGUAGES= c99
-BUILD_TARGET= all mans
+#BUILD_TARGET= all mans
+# XXX put a real compiler triple here
+BUILD_DIRS+= x86_64--netbsd
PKG_SYSCONFSUBDIR= i3
INSTALLATION_DIRS= ${PKGMANDIR}/man1 share/doc/${PKGBASE}
@@ -53,9 +57,12 @@ BUILD_DEPENDS+= asciidoc-[0-9]*:../../textproc/asciidoc
# for i3-save-tree
DEPENDS+= p5-AnyEvent-I3-[0-9]*:../../wip/p5-AnyEvent-I3
-post-install:
- ${INSTALL_MAN} ${WRKSRC}/man/*.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/
- ${INSTALL_DATA} ${WRKSRC}/LICENSE ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
+pre-configure:
+ cd ${WRKSRC} && autoreconf -i
+
+#post-install:
+# ${INSTALL_MAN} ${WRKSRC}/man/*.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/
+# ${INSTALL_DATA} ${WRKSRC}/LICENSE ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
.include "../../devel/libev/buildlink3.mk"
.include "../../devel/yajl/buildlink3.mk"
diff --git a/i3-git/TODO b/i3-git/TODO
new file mode 100644
index 0000000..aed2f2d
--- /dev/null
+++ b/i3-git/TODO
@@ -0,0 +1,5 @@
+Put a real compiler triple into BUILD_DIRS instead of a hardcoded one.
+Resolve the __VA_ARGS__ macro problem.
+Make sure manuals and other auxiliary files are installed.
+Mark the version as non-release properly.
+Clean the makefile. Some parts are no longer needed after move to autotools.
Home |
Main Index |
Thread Index |
Old Index