summaryrefslogtreecommitdiff
path: root/net/unison-devel/Makefile
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-01-27 10:56:57 +0000
committerjlam <jlam@pkgsrc.org>2004-01-27 10:56:57 +0000
commit37c49bce24a2a4395a154eba760f8e34022853cf (patch)
tree5e8be84f57214e0e48d1fd27b7a2ecd03cf6c218 /net/unison-devel/Makefile
parent2d82d6946cd1627b9f8c0379834a84c5ac252286 (diff)
downloadpkgsrc-37c49bce24a2a4395a154eba760f8e34022853cf.tar.gz
Initial import of unison-2.9.20 as net/unison-devel. This is a beta
version of unison (see pkgsrc/net/unison/DESCR) and is provided to allow synchronizing against unison servers using version 2.9.2 of the Unison protocol.
Diffstat (limited to 'net/unison-devel/Makefile')
-rw-r--r--net/unison-devel/Makefile53
1 files changed, 53 insertions, 0 deletions
diff --git a/net/unison-devel/Makefile b/net/unison-devel/Makefile
new file mode 100644
index 00000000000..54c7e5701cf
--- /dev/null
+++ b/net/unison-devel/Makefile
@@ -0,0 +1,53 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/01/27 10:56:57 jlam Exp $
+
+DISTNAME= src
+PKGNAME= unison-2.9.20
+PKGREVISION= 1
+CATEGORIES= net
+MASTER_SITES= http://www.cis.upenn.edu/~bcpierce/unison/download/beta-test/latest/
+
+MAINTAINER= jlam@NetBSD.org
+HOMEPAGE= http://www.cis.upenn.edu/~bcpierce/unison/
+COMMENT= File-synchronization tool
+
+PKG_INSTALLATION_TYPES= overwrite pkgviews
+
+DIST_SUBDIR= ${PKGNAME_NOREV}
+
+# docs: unison-manual.pdf/html/ps/dvi
+WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
+USE_BUILDLINK3= yes
+USE_GNU_TOOLS+= make
+MAKE_FLAGS+= CFLAGS="" UISTYLE=text
+MAKE_ENV+= HOME=${WRKDIR}
+
+.include "../../mk/bsd.prefs.mk"
+
+.if (${MACHINE_ARCH} == "i386") || (${MACHINE_ARCH} == "powerpc") || (${MACHINE_ARCH} == "sparc")
+MAKE_FLAGS+= NATIVE=true
+.else
+MAKE_FLAGS+= NATIVE=false
+.endif
+
+.include "../../mk/pthread.buildlink3.mk"
+
+.if defined(PTHREAD_TYPE) && (${PTHREAD_TYPE} != "none")
+MAKE_FLAGS+= THREADS=true
+.endif
+
+INSTALLATION_DIRS= bin
+
+post-install:
+ ${INSTALL_MAN_DIR} ${PREFIX}/share/doc/unison
+ ${INSTALL_MAN} ${WRKSRC}/BUGS.txt ${PREFIX}/share/doc/unison
+ ${INSTALL_MAN} ${WRKSRC}/CONTRIB ${PREFIX}/share/doc/unison
+ ${INSTALL_MAN} ${WRKSRC}/COPYING ${PREFIX}/share/doc/unison
+ ${INSTALL_MAN} ${WRKSRC}/DEPENDENCIES.ps ${PREFIX}/share/doc/unison
+ ${INSTALL_MAN} ${WRKSRC}/INSTALL ${PREFIX}/share/doc/unison
+ ${INSTALL_MAN} ${WRKSRC}/NEWS ${PREFIX}/share/doc/unison
+ ${INSTALL_MAN} ${WRKSRC}/README ${PREFIX}/share/doc/unison
+ ${INSTALL_MAN} ${WRKSRC}/ROADMAP.txt ${PREFIX}/share/doc/unison
+ ${INSTALL_MAN} ${WRKSRC}/TODO.txt ${PREFIX}/share/doc/unison
+
+.include "../../lang/ocaml/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"