Date: Mon, 12 Dec 2016 09:00:50 +0000 (UTC) From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r428401 - head/textproc/dictionary Message-ID: <201612120900.uBC90oWQ031396@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201612120900.uBC90oWQ031396>