summaryrefslogtreecommitdiff
path: root/devel/ArX2/Makefile
diff options
context:
space:
mode:
authordrochner <drochner>2005-04-19 17:39:40 +0000
committerdrochner <drochner>2005-04-19 17:39:40 +0000
commitc44c4819b3f50ed3f6977693047dd1c59ca624c5 (patch)
tree1857260c330fc8eff906b04fbb0e3ba6048eab38 /devel/ArX2/Makefile
parenta1dd9ce6a9fb3d7c643c01dc24e1c2cb403f700c (diff)
downloadpkgsrc-c44c4819b3f50ed3f6977693047dd1c59ca624c5.tar.gz
Import ArX-2.2.1. This is the successor of pkgsrc/devel/ArX.
Databases are incompatible, so make it a separate pkg. (XXX to convert a database, one needs both versions at the same time, which isn't supported by the pkgs. Since arx is just a single binary, one can easily be copied away... this is not for greenhorns anyway.)
Diffstat (limited to 'devel/ArX2/Makefile')
-rw-r--r--devel/ArX2/Makefile46
1 files changed, 46 insertions, 0 deletions
diff --git a/devel/ArX2/Makefile b/devel/ArX2/Makefile
new file mode 100644
index 00000000000..8ad9940959c
--- /dev/null
+++ b/devel/ArX2/Makefile
@@ -0,0 +1,46 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/04/19 17:39:40 drochner Exp $
+#
+
+DISTNAME= ArX-2.2.1
+CATEGORIES= devel
+MASTER_SITES= http://superbeast.ucsd.edu/~landry/ArX/
+
+MAINTAINER= recht@NetBSD.org
+HOMEPAGE= http://www.nongnu.org/arx/
+COMMENT= Distributed revision control system
+
+DEPENDS+= patch-[0-9]*:../../devel/patch
+DEPENDS+= diffutils-[0-9]*:../../devel/diffutils
+DEPENDS+= gtar-base-[0-9]*:../../archivers/gtar-base
+DEPENDS+= gnupg-[0-9]*:../../security/gnupg
+BUILD_DEPENDS+= scons-[0-9]*:../../devel/scons
+
+USE_PKGLOCALEDIR= yes
+USE_LANGUAGES= c c++
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+= ARXDIFF=${LOCALBASE}/bin/${GNU_PROGRAM_PREFIX}diff
+CONFIGURE_ARGS+= ARXPATCH=${LOCALBASE}/bin/${GNU_PROGRAM_PREFIX}patch
+CONFIGURE_ARGS+= ARXTAR=${LOCALBASE}/bin/${GNU_PROGRAM_PREFIX}tar
+CONFIGURE_ARGS+= ARXPKGCONFIG=${PKG_CONFIG}
+CONFIGURE_ARGS+= ARXGPG=${LOCALBASE}/bin/gpg
+# XXX Python is needed for build only; this is handled by devel/scons
+CONFIGURE_ARGS+= ARXPYTHON=/bin/true
+
+IMG_FILES= ArX001.png ArX002.png ArX003.png ArX004.png
+DOC_FILES= ArX.html ArX.pdf ${IMG_FILES}
+DOCDIR= ${PREFIX}/share/doc/ArX
+
+do-build:
+ ${_PKG_SILENT}${_PKG_DEBUG}${_ULIMIT_CMD}cd ${WRKSRC} && \
+ ${SETENV} ${MAKE_ENV} ${PREFIX}/bin/scons
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/build/arx/arx ${PREFIX}/bin
+ ${INSTALL_DATA_DIR} ${DOCDIR}
+.for f in ${DOC_FILES}
+ ${INSTALL_DATA} ${WRKSRC}/docs/${f} ${DOCDIR}
+.endfor
+
+.include "../../devel/pkgconfig/buildlink3.mk"
+.include "../../sysutils/gnome-vfs2/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"