From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Nov 2 21:20:00 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 8E457C31 for ; Sat, 2 Nov 2013 21:20:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 6FBA72935 for ; Sat, 2 Nov 2013 21:20:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id rA2LK0TY000798 for ; Sat, 2 Nov 2013 21:20:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id rA2LK0WB000797; Sat, 2 Nov 2013 21:20:00 GMT (envelope-from gnats) Resent-Date: Sat, 2 Nov 2013 21:20:00 GMT Resent-Message-Id: <201311022120.rA2LK0WB000797@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, nemysis Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 4160FC23; Sat, 2 Nov 2013 21:18:00 +0000 (UTC) (envelope-from nemysis@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 2B34C292D; Sat, 2 Nov 2013 21:18:00 +0000 (UTC) Received: from nemysis4now (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with SMTP id rA2LHvjq000662; Sat, 2 Nov 2013 21:17:58 GMT (envelope-from nemysis@FreeBSD.org) Received: by nemysis4now (sSMTP sendmail emulation); Sat, 02 Nov 2013 22:17:57 +0100 Message-Id: <201311022117.rA2LHvjq000662@freefall.freebsd.org> Date: Sat, 02 Nov 2013 22:17:57 +0100 From: nemysis To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/183600: [PATCH] devel/libslang2: Fix install, add proper DOCS Cc: garga@FreeBSD.org X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Nov 2013 21:20:00 -0000 >Number: 183600 >Category: ports >Synopsis: [PATCH] devel/libslang2: Fix install, add proper DOCS >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Nov 02 21:20:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: nemysis >Release: FreeBSD 9.2-RELEASE-p8 amd64 >Organization: >Environment: System: FreeBSD nemysis4now 9.2-RELEASE-p8 FreeBSD 9.2-RELEASE-p8 #0: Mon Sep 23 16:26:45 UTC 2013 >Description: - Fix install - Remove DOCS from default Options - Add proper DOCS Port maintainer (garga@FreeBSD.org) is cc'd. Generated and tested manually, tested with stage and with RedPorts, sent with FreeBSD Port Tools 0.99_8 (mode: change, diff: ports) >How-To-Repeat: Build log https://redports.org/buildarchive/20131102205700-33334/ Before this patch https://redports.org/~nemysis/20131102200600-33857-156813/libslang2-2.2.4_4.log https://redports.org/~nemysis/20131102200600-33857-156811/libslang2-2.2.4_4.log >Fix: --- libslang2-2.2.4_4.patch begins here --- diff -ruN /usr/ports/devel/libslang2/Makefile ./Makefile --- /usr/ports/devel/libslang2/Makefile 2013-11-01 13:07:52.000000000 +0100 +++ ./Makefile 2013-11-02 21:53:29.000000000 +0100 @@ -31,13 +31,20 @@ DATADIR= ${PREFIX}/share/slsh OPTIONS_DEFINE= PCRE PNG ICONV ONIG DOCS -OPTIONS_DEFAULT=PCRE PNG ICONV DOCS +OPTIONS_DEFAULT=PCRE PNG ICONV OPTIONS_SUB= yes ONIG_DESC= Oniguruma support PORTDOCS= * +DOCSRCDIR1= ${WRKSRC} +DOC_FILES1= NEWS changes.txt + +DOCSRCDIR2= ${WRKSRC}/doc +DOCSDIR2= ${DOCSDIR}/doc +DOC_FILES2= * + PCRE_CONFIGURE_WITH= pcre PCRE_LIB_DEPENDS= libpcre.so:${PORTSDIR}/devel/pcre PNG_CONFIGURE_WITH= png @@ -54,4 +61,10 @@ ${WRKSRC}/src/Makefile.in \ ${WRKSRC}/slsh/Makefile.in +post-install: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${DOC_FILES1:S|^|${DOCSRCDIR1}/|} ${STAGEDIR}${DOCSDIR} + @${MKDIR} ${STAGEDIR}${DOCSDIR2} + @(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR2}) + .include --- libslang2-2.2.4_4.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: