summaryrefslogtreecommitdiff
path: root/net/unison
diff options
context:
space:
mode:
authorjlam <jlam>2004-01-05 11:28:07 +0000
committerjlam <jlam>2004-01-05 11:28:07 +0000
commitd10396c36c8dd62f49fb1321e875e5510d4bddfa (patch)
tree9ecaf9e93cca00dc142e8a14112e6c947b91be5c /net/unison
parent8639916857dcdbf2c701bdd4f6326123f134198a (diff)
downloadpkgsrc-d10396c36c8dd62f49fb1321e875e5510d4bddfa.tar.gz
bl3ify
Diffstat (limited to 'net/unison')
-rw-r--r--net/unison/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/net/unison/Makefile b/net/unison/Makefile
index e7c919d226a..f2404ae0676 100644
--- a/net/unison/Makefile
+++ b/net/unison/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2003/07/21 17:11:26 martti Exp $
+# $NetBSD: Makefile,v 1.18 2004/01/05 11:28:52 jlam Exp $
DISTNAME= src
PKGNAME= unison-2.9.1
@@ -11,11 +11,12 @@ MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://www.cis.upenn.edu/~bcpierce/unison/
COMMENT= File-synchronization tool
-BUILD_DEPENDS= ocaml>=3.00:../../lang/ocaml
+PKG_INSTALLATION_TYPES= overwrite pkgviews
DIST_SUBDIR= ${PKGNAME_NOREV}
# docs: unison-manual.pdf/html/ps/dvi
+USE_BUILDLINK3= yes
USE_GMAKE= yes
MAKE_FLAGS+= CFLAGS="" UISTYLE=text
MAKE_ENV+= HOME=${WRKDIR}
@@ -28,12 +29,14 @@ MAKE_FLAGS+= NATIVE=true
MAKE_FLAGS+= NATIVE=false
.endif
-.include "../../mk/pthread.buildlink2.mk"
+.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
@@ -46,4 +49,5 @@ post-install:
${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"