From owner-svn-ports-all@freebsd.org Mon Dec 12 09:00:51 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A4C66C6C92F; Mon, 12 Dec 2016 09:00:51 +0000 (UTC) (envelope-from amdmi3@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 mx1.freebsd.org (Postfix) with ESMTPS id 745F710FA; Mon, 12 Dec 2016 09:00:51 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id uBC90oOq031397; Mon, 12 Dec 2016 09:00:50 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id uBC90oWQ031396; Mon, 12 Dec 2016 09:00:50 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201612120900.uBC90oWQ031396@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Mon, 12 Dec 2016 09:00:50 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r428401 - head/textproc/dictionary X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 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: Mon, 12 Dec 2016 09:00:51 -0000 Author: amdmi3 Date: Mon Dec 12 09:00:50 2016 New Revision: 428401 URL: https://svnweb.freebsd.org/changeset/ports/428401 Log: - Add LICENSE - Switch to options helpers - Simplify installation Modified: head/textproc/dictionary/Makefile Modified: head/textproc/dictionary/Makefile ============================================================================== --- head/textproc/dictionary/Makefile Mon Dec 12 08:52:33 2016 (r428400) +++ head/textproc/dictionary/Makefile Mon Dec 12 09:00:50 2016 (r428401) @@ -12,23 +12,29 @@ PKGNAMESUFFIX= -${EMACS_PORT_NAME} MAINTAINER= ports@FreeBSD.org COMMENT= Dictionary client for Emacs +LICENSE= GPLv2+ +LICENSE_FILE= ${WRKSRC}/GPL + USE_EMACS= yes LISPDIR= ${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/${PORTNAME} ELS= connection.el dictionary.el link.el -DOCSDIR= README + +PORTDOCS= * + +OPTIONS_DEFINE= DOCS do-build: - cd ${WRKSRC}; ${EMACS_CMD} -batch -l lpath.el -f batch-byte-compile ${ELS} + cd ${WRKSRC} && ${EMACS_CMD} -batch -l lpath.el -f batch-byte-compile ${ELS} do-install: @${MKDIR} ${STAGEDIR}${LISPDIR} .for i in ${ELS} *.elc dictionary-init.el ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${LISPDIR} .endfor + +do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} -.for i in ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR} -.endfor + ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} .include