From owner-svn-ports-all@freebsd.org Sat Dec 29 13:24:13 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 88EC8141EE3D; Sat, 29 Dec 2018 13:24:13 +0000 (UTC) (envelope-from danfe@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2EA606E777; Sat, 29 Dec 2018 13:24:13 +0000 (UTC) (envelope-from danfe@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 0586EB723; Sat, 29 Dec 2018 13:24:13 +0000 (UTC) (envelope-from danfe@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id wBTDOCBe013693; Sat, 29 Dec 2018 13:24:12 GMT (envelope-from danfe@FreeBSD.org) Received: (from danfe@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id wBTDOCD9013692; Sat, 29 Dec 2018 13:24:12 GMT (envelope-from danfe@FreeBSD.org) Message-Id: <201812291324.wBTDOCD9013692@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: danfe set sender to danfe@FreeBSD.org using -f From: Alexey Dokuchaev Date: Sat, 29 Dec 2018 13:24:12 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r488665 - head/devel/gauche-readline X-SVN-Group: ports-head X-SVN-Commit-Author: danfe X-SVN-Commit-Paths: head/devel/gauche-readline X-SVN-Commit-Revision: 488665 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 2EA606E777 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.95 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_SHORT(-0.96)[-0.956,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-0.998,0] X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Dec 2018 13:24:13 -0000 Author: danfe Date: Sat Dec 29 13:24:12 2018 New Revision: 488665 URL: https://svnweb.freebsd.org/changeset/ports/488665 Log: Chase r488658 and overhaul things a bit while here: - Do not hardcode GAUCHE_LIBDIR, it is subject to change - Convert obsolete EXTRACT_SUFX=.tgz -> USES=tar:tgz - Install some standard set of documentation files - Define LICENSE (PD), simplify installation routine Modified: head/devel/gauche-readline/Makefile Modified: head/devel/gauche-readline/Makefile ============================================================================== --- head/devel/gauche-readline/Makefile Sat Dec 29 13:01:04 2018 (r488664) +++ head/devel/gauche-readline/Makefile Sat Dec 29 13:24:12 2018 (r488665) @@ -3,31 +3,39 @@ PORTNAME= readline PORTVERSION= 0.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel scheme MASTER_SITES= http://practical-scheme.net/vault/ PKGNAMEPREFIX= gauche- -EXTRACT_SUFX= .tgz DIST_SUBDIR= gauche MAINTAINER= erik@bz.bzflag.bz COMMENT= Pure gauche/scheme implementation of the Readline library +LICENSE= PD + RUN_DEPENDS= gosh:lang/gauche BUILD_DEPENDS= gauche-config:lang/gauche -GAUCHE_LIBDIR= share/gauche/site/lib -GAUCHE_FILES= readline/history.scm readline/keymap.scm readline/term-util.scm +USES= tar:tgz +GAUCHE_LIBDIR= ${:!gauche-config --sitelibdir!:S,^${PREFIX}/,,} PLIST_SUB+= GAUCHE_LIBDIR=${GAUCHE_LIBDIR} +DOCSDIR= ${PREFIX}/share/doc/gauche/${PORTNAME} +PORTDOCS= AUTHORS BUGS README + +OPTIONS_DEFINE= DOCS + do-install: -.if !exists(${STAGEDIR}${PREFIX}/${GAUCHE_LIBDIR}/readline) - ${MKDIR} ${STAGEDIR}${PREFIX}/${GAUCHE_LIBDIR}/readline -.endif - ${INSTALL_DATA} ${WRKSRC}/readline.scm ${STAGEDIR}${PREFIX}/${GAUCHE_LIBDIR} -. for f in ${GAUCHE_FILES} - ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${PREFIX}/${GAUCHE_LIBDIR}/readline -. endfor + @${MKDIR} ${STAGEDIR}${PREFIX}/${GAUCHE_LIBDIR}/readline + ${INSTALL_DATA} ${WRKSRC}/readline.scm \ + ${STAGEDIR}${PREFIX}/${GAUCHE_LIBDIR} + ${INSTALL_DATA} ${WRKSRC}/readline/*.scm \ + ${STAGEDIR}${PREFIX}/${GAUCHE_LIBDIR}/readline + +do-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include