aboutsummaryrefslogtreecommitdiff
path: root/net/unison232/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/unison232/Makefile')
-rw-r--r--net/unison232/Makefile23
1 files changed, 17 insertions, 6 deletions
diff --git a/net/unison232/Makefile b/net/unison232/Makefile
index f7234653615e..aa30480290db 100644
--- a/net/unison232/Makefile
+++ b/net/unison232/Makefile
@@ -7,22 +7,33 @@
PORTNAME= unison
PORTVERSION= 2.9.20
+PORTREVISION= 1
CATEGORIES= net
-MASTER_SITES= http://www.cis.upenn.edu/~bcpierce/unison/download/beta-test/unison-${PORTVERSION}/
-DISTNAME= src
-DIST_SUBDIR= unison-${PORTVERSION}
+MASTER_SITES= http://www.cis.upenn.edu/~bcpierce/unison/download/beta-test/${DIST_SUBDIR}/
+DISTFILES= ${EXTRACT_ONLY} ${EXTRA_DOCS}
+DIST_SUBDIR= ${PORTNAME}-${PORTVERSION}
+EXTRACT_ONLY= src.tar.gz
MAINTAINER= daniel+unison@pelleg.org
COMMENT= A user-level file synchronization tool
BUILD_DEPENDS= ocamlc:${PORTSDIR}/lang/ocaml
-WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
-
USE_GMAKE= yes
MAKE_ARGS= UISTYLE=text CFLAGS=""
+.if !defined(NOPORTDOCS)
+DOCS= BUGS.txt NEWS README
+EXTRA_DOCS= unison-manual.dvi unison-manual.html \
+ unison-manual.pdf unison-manual.ps
+.endif
+
post-install:
- ${STRIP_CMD} ${PREFIX}/bin/unison
+ @${STRIP_CMD} ${PREFIX}/bin/unison
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+ cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
+ cd ${DISTDIR}/${DIST_SUBDIR} && ${INSTALL_DATA} ${EXTRA_DOCS} ${DOCSDIR}
+.endif
.include <bsd.port.mk>