summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Kolobov <sergei@FreeBSD.org>2003-10-23 14:06:52 +0000
committerSergei Kolobov <sergei@FreeBSD.org>2003-10-23 14:06:52 +0000
commitfce81d08eab237d7b1c3bac7b08867d51ae48ee1 (patch)
treec5ef1aae30a90c41abe639a25251298d9247ec95
parent- Update to 3.05 (diff)
- Install documentation (both included text files and the manual available
separately) - Minor tweaks (use STRIP_CMD, do not redefine WRKSRC anymore) - Bump PORTREVISION as hint for users to upgrade to this version in order to take advantage of availability of the documentation PR: 52811 Submitted by: sergei Approved by: maintainer, krion
Notes
Notes: svn path=/head/; revision=91961
-rw-r--r--net/unison-devel/Makefile23
-rw-r--r--net/unison-devel/distinfo4
-rw-r--r--net/unison-devel/pkg-plist8
-rw-r--r--net/unison/Makefile23
-rw-r--r--net/unison/distinfo4
-rw-r--r--net/unison/pkg-plist8
-rw-r--r--net/unison232/Makefile23
-rw-r--r--net/unison232/distinfo4
-rw-r--r--net/unison232/pkg-plist8
9 files changed, 87 insertions, 18 deletions
diff --git a/net/unison-devel/Makefile b/net/unison-devel/Makefile
index f7234653615e..aa30480290db 100644
--- a/net/unison-devel/Makefile
+++ b/net/unison-devel/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>
diff --git a/net/unison-devel/distinfo b/net/unison-devel/distinfo
index 9313dc4d7123..d979758d756c 100644
--- a/net/unison-devel/distinfo
+++ b/net/unison-devel/distinfo
@@ -1 +1,5 @@
MD5 (unison-2.9.20/src.tar.gz) = a0a1b734e11212623bc6ea996aace960
+MD5 (unison-2.9.20/unison-manual.dvi) = 9d51f63ad9b592f4e94f593f682b4533
+MD5 (unison-2.9.20/unison-manual.html) = babc84fe1729382c9569a7cc0dfd7851
+MD5 (unison-2.9.20/unison-manual.pdf) = 4f85a8fb7c2587d5f8e8184b49d90636
+MD5 (unison-2.9.20/unison-manual.ps) = db69ed340c6e88a56890ef37804ee3ed
diff --git a/net/unison-devel/pkg-plist b/net/unison-devel/pkg-plist
index 31b7bedb59e4..5c8fc8567c8f 100644
--- a/net/unison-devel/pkg-plist
+++ b/net/unison-devel/pkg-plist
@@ -1 +1,9 @@
bin/unison
+%%PORTDOCS%%%%DOCSDIR%%/BUGS.txt
+%%PORTDOCS%%%%DOCSDIR%%/NEWS
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/unison-manual.dvi
+%%PORTDOCS%%%%DOCSDIR%%/unison-manual.html
+%%PORTDOCS%%%%DOCSDIR%%/unison-manual.pdf
+%%PORTDOCS%%%%DOCSDIR%%/unison-manual.ps
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
diff --git a/net/unison/Makefile b/net/unison/Makefile
index f7234653615e..aa30480290db 100644
--- a/net/unison/Makefile
+++ b/net/unison/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>
diff --git a/net/unison/distinfo b/net/unison/distinfo
index 9313dc4d7123..d979758d756c 100644
--- a/net/unison/distinfo
+++ b/net/unison/distinfo
@@ -1 +1,5 @@
MD5 (unison-2.9.20/src.tar.gz) = a0a1b734e11212623bc6ea996aace960
+MD5 (unison-2.9.20/unison-manual.dvi) = 9d51f63ad9b592f4e94f593f682b4533
+MD5 (unison-2.9.20/unison-manual.html) = babc84fe1729382c9569a7cc0dfd7851
+MD5 (unison-2.9.20/unison-manual.pdf) = 4f85a8fb7c2587d5f8e8184b49d90636
+MD5 (unison-2.9.20/unison-manual.ps) = db69ed340c6e88a56890ef37804ee3ed
diff --git a/net/unison/pkg-plist b/net/unison/pkg-plist
index 31b7bedb59e4..5c8fc8567c8f 100644
--- a/net/unison/pkg-plist
+++ b/net/unison/pkg-plist
@@ -1 +1,9 @@
bin/unison
+%%PORTDOCS%%%%DOCSDIR%%/BUGS.txt
+%%PORTDOCS%%%%DOCSDIR%%/NEWS
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/unison-manual.dvi
+%%PORTDOCS%%%%DOCSDIR%%/unison-manual.html
+%%PORTDOCS%%%%DOCSDIR%%/unison-manual.pdf
+%%PORTDOCS%%%%DOCSDIR%%/unison-manual.ps
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
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>
diff --git a/net/unison232/distinfo b/net/unison232/distinfo
index 9313dc4d7123..d979758d756c 100644
--- a/net/unison232/distinfo
+++ b/net/unison232/distinfo
@@ -1 +1,5 @@
MD5 (unison-2.9.20/src.tar.gz) = a0a1b734e11212623bc6ea996aace960
+MD5 (unison-2.9.20/unison-manual.dvi) = 9d51f63ad9b592f4e94f593f682b4533
+MD5 (unison-2.9.20/unison-manual.html) = babc84fe1729382c9569a7cc0dfd7851
+MD5 (unison-2.9.20/unison-manual.pdf) = 4f85a8fb7c2587d5f8e8184b49d90636
+MD5 (unison-2.9.20/unison-manual.ps) = db69ed340c6e88a56890ef37804ee3ed
diff --git a/net/unison232/pkg-plist b/net/unison232/pkg-plist
index 31b7bedb59e4..5c8fc8567c8f 100644
--- a/net/unison232/pkg-plist
+++ b/net/unison232/pkg-plist
@@ -1 +1,9 @@
bin/unison
+%%PORTDOCS%%%%DOCSDIR%%/BUGS.txt
+%%PORTDOCS%%%%DOCSDIR%%/NEWS
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/unison-manual.dvi
+%%PORTDOCS%%%%DOCSDIR%%/unison-manual.html
+%%PORTDOCS%%%%DOCSDIR%%/unison-manual.pdf
+%%PORTDOCS%%%%DOCSDIR%%/unison-manual.ps
+%%PORTDOCS%%@dirrm %%DOCSDIR%%