blob: 90c20a7bcb88af9f72d2d50ca4dcd9445586a5a1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# $NetBSD: Makefile,v 1.11 2003/03/29 12:42:06 jmmv Exp $
#
DISTNAME= src
PKGNAME= unison-2.9.1
WRKSRC= ${WRKDIR}/${PKGNAME}
CATEGORIES= net
MASTER_SITES= http://www.cis.upenn.edu/~bcpierce/unison/download/stable/latest/
MAINTAINER= packages@netbsd.org
HOMEPAGE= http://www.cis.upenn.edu/~bcpierce/unison/
COMMENT= file-synchronization tool
BUILD_DEPENDS= ocaml>=3.00:../../lang/ocaml
BUILD_DEPENDS+= bash>=2.05:../../shells/bash2
DIST_SUBDIR= ${PKGNAME}
# docs: unison-manual.pdf/html/ps/dvi
USE_GMAKE= yes
MAKE_FLAGS+= CFLAGS="" UISTYLE=text
MAKE_ENV+= HOME=${WRKDIR}
.include "../../mk/bsd.prefs.mk"
.if (${MACHINE_ARCH} != "i386")
# we don't have ocamlopt on non-i386 so don't try and use it
MAKE_FLAGS+= NATIVE=false
.endif
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 "../../mk/bsd.pkg.mk"
|