Date: 1 Jun 2008 08:36:23 -0000 From: Lapo Luchini <lapo@lapo.it> To: FreeBSD-gnats-submit@FreeBSD.org Cc: Ion-Mihai Tetcu <itetcu@FreeBSD.org>, Lapo Luchini <lapo@lapo.it> Subject: ports/124182: port fix: devel/monotone Message-ID: <20080601083623.80385.qmail@mail.lapo.it> Resent-Message-ID: <200806010840.m518e3Mi027552@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 124182 >Category: ports >Synopsis: port fix: devel/monotone >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Sun Jun 01 08:40:03 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Lapo Luchini >Release: FreeBSD 6.3-PRERELEASE amd64 >Organization: >Environment: System: FreeBSD motoko.lapo.it 6.3-PRERELEASE FreeBSD 6.3-PRERELEASE #8: Thu Dec 13 09:33:49 CET 2007 root@motoko.lapo.it:/usr/obj/usr/src/sys/MOTOKO amd64 >Description: As reported by itetcu@FreeBSD.org, monotone port wrongly installed some docs even when not told to. I also went ahead and not installed INFOs if no man pages are wanted (is that right? I didn't see any info-specific NO-flag). >How-To-Repeat: Install with NOPORTDOCS defined. >Fix: diff -ruN monotone.orig/Makefile monotone/Makefile --- monotone.orig/Makefile 2008-04-16 13:21:00.000000000 +0200 +++ monotone/Makefile 2008-06-01 10:30:45.033235495 +0200 @@ -30,8 +30,12 @@ PLIST_FILES= bin/mtn share/zsh/site-functions/_mtn \ "@unexec [ -f %D/bin/zsh ] || rmdir %D/share/zsh/site-functions 2>/dev/null || true" \ "@dirrmtry share/zsh" +.if !defined(NO_INSTALL_MANPAGES) INFO= monotone -PORTDOCS= NEWS UPGRADE monotone.html +.endif +.if !defined(NOPORTDOCS) +PORTDOCS= NEWS UPGRADE monotone.html texinfo.css +.endif .include <bsd.port.pre.mk> @@ -55,6 +59,12 @@ post-extract: @${RM} -f ${WRKSRC}/monotone.info* +post-patch: + ${REINPLACE_CMD} -e '/^install-data-am:/s/ install-htmlDATA//' ${WRKSRC}/Makefile.in +.if defined(NO_INSTALL_MANPAGES) + ${REINPLACE_CMD} -e '/^install-data-am:/s/ install-info-am//' ${WRKSRC}/Makefile.in +.endif + post-install: ${MKDIR} ${PREFIX}/share/zsh/site-functions ${INSTALL_DATA} ${WRKSRC}/contrib/monotone.zsh_completion ${PREFIX}/share/zsh/site-functions/_mtn >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080601083623.80385.qmail>