From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Jun 1 08:40:03 2008 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D770F106566B for ; Sun, 1 Jun 2008 08:40:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id CCD7B8FC1B for ; Sun, 1 Jun 2008 08:40:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m518e37W027553 for ; Sun, 1 Jun 2008 08:40:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m518e3Mi027552; Sun, 1 Jun 2008 08:40:03 GMT (envelope-from gnats) Resent-Date: Sun, 1 Jun 2008 08:40:03 GMT Resent-Message-Id: <200806010840.m518e3Mi027552@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Lapo Luchini Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B1A841065680 for ; Sun, 1 Jun 2008 08:36:26 +0000 (UTC) (envelope-from lapo@mail.lapo.it) Received: from mail.lapo.it (motoko.lapo.it [88.198.0.105]) by mx1.freebsd.org (Postfix) with ESMTP id 1BDE18FC16 for ; Sun, 1 Jun 2008 08:36:25 +0000 (UTC) (envelope-from lapo@mail.lapo.it) Received: (qmail 80386 invoked by uid 1001); 1 Jun 2008 08:36:23 -0000 Message-Id: <20080601083623.80385.qmail@mail.lapo.it> Date: 1 Jun 2008 08:36:23 -0000 From: Lapo Luchini To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Ion-Mihai Tetcu , Lapo Luchini Subject: ports/124182: port fix: devel/monotone X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Lapo Luchini List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Jun 2008 08:40:03 -0000 >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 @@ -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: