Date: 30 May 2003 14:15:30 -0000 From: Sergei Kolobov <sergei@kolobov.com> To: FreeBSD-gnats-submit@FreeBSD.org Cc: daniel+unison@pelleg.org Subject: ports/52811: [PATCH] net/unison: install documentation Message-ID: <20030530141530.25121.qmail@outpost.globcon.net> Resent-Message-ID: <200305301420.h4UEKDO6025880@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 52811 >Category: ports >Synopsis: [PATCH] net/unison: install documentation >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Fri May 30 07:20:12 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Sergei Kolobov >Release: FreeBSD 4.7-STABLE i386 >Organization: >Environment: System: FreeBSD outpost.globcon.net 4.7-STABLE FreeBSD 4.7-STABLE #0: Thu Jan 2 03:13:48 MSK >Description: - 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 Port maintainer - daniel+unison@pelleg.org - has been copied. >How-To-Repeat: >Fix: --- unison-2.9.20_1.patch begins here --- Index: Makefile =================================================================== RCS file: /home/ncvs/ports/net/unison/Makefile,v retrieving revision 1.11 diff -u -r1.11 Makefile --- Makefile 2003/02/21 13:15:06 1.11 +++ Makefile 2003/05/30 14:11:25 @@ -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 ${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> Index: distinfo =================================================================== RCS file: /home/ncvs/ports/net/unison/distinfo,v retrieving revision 1.6 diff -u -r1.6 distinfo --- distinfo 2002/08/20 14:04:27 1.6 +++ distinfo 2003/05/30 14:11:25 @@ -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 Index: pkg-plist =================================================================== RCS file: /home/ncvs/ports/net/unison/pkg-plist,v retrieving revision 1.1 diff -u -r1.1 pkg-plist --- pkg-plist 2000/10/26 01:42:33 1.1 +++ pkg-plist 2003/05/30 14:11:25 @@ -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%% --- unison-2.9.20_1.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030530141530.25121.qmail>