Date: Thu, 22 Jun 2017 09:01:29 +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: r444106 - head/japanese/ddskk Message-ID: <201706220901.v5M91Toj029236@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Thu Jun 22 09:01:29 2017 New Revision: 444106 URL: https://svnweb.freebsd.org/changeset/ports/444106 Log: - Fix LICENSE - Add LICENSE_FILE - Simplify installation - Switch to options helpers Modified: head/japanese/ddskk/Makefile Modified: head/japanese/ddskk/Makefile ============================================================================== --- head/japanese/ddskk/Makefile Thu Jun 22 08:25:17 2017 (r444105) +++ head/japanese/ddskk/Makefile Thu Jun 22 09:01:29 2017 (r444106) @@ -13,24 +13,24 @@ PKGNAMESUFFIX= -${EMACS_PORT_NAME} MAINTAINER= ports@FreeBSD.org COMMENT= Simple Kana to Kanji conversion program on Emacsen -LICENSE= GPLv2 +LICENSE= GPLv2+ +LICENSE_FILE= ${WRKSRC}/READMEs/COPYING -NO_ARCH= yes - USE_EMACS= yes MAKE_ARGS= PREFIX="${STAGEDIR}${PREFIX}" \ SKK_LISPDIR="${STAGEDIR}${PREFIX}/${SKK_LISPDIR}" \ SKK_INFODIR="${STAGEDIR}${PREFIX}/${INFO_PATH}" ALL_TARGET= elc info +NO_ARCH= yes INFO= skk PORTDOCS= * PORTEXAMPLES= * -OPTIONS_DEFINE= DOCS EXAMPLES - SKK_LISPDIR= ${EMACS_VERSION_SITE_LISPDIR}/skk +OPTIONS_DEFINE= DOCS EXAMPLES + post-patch: @${REINPLACE_CMD} -e \ '/skk-tut-file/s|@TUT@|${PREFIX}/share/skk/SKK.tut|' \ @@ -44,18 +44,19 @@ pre-build: post-install: @${MKDIR} ${STAGEDIR}${PREFIX}/${SKK_LISPDIR} .for i in skk-lookup.el skk-jisx0213.el - (cd ${WRKDIR} && ${INSTALL_DATA} ${i} \ - ${STAGEDIR}${PREFIX}/${SKK_LISPDIR}) + ${INSTALL_DATA} ${WRKDIR}/${i} ${STAGEDIR}${PREFIX}/${SKK_LISPDIR} .endfor + +post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for i in AUTHORS.ja CODENAME.ja Contributors FAQ.ja NEWS.ja README - (cd ${WRKSRC}/READMEs && ${INSTALL_DATA} ${i} \ - ${STAGEDIR}${DOCSDIR}) + ${INSTALL_DATA} ${WRKSRC}/READMEs/${i} ${STAGEDIR}${DOCSDIR} .endfor + +post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} .for i in Emacs.ad dot.emacs dot.skk - (cd ${WRKSRC}/etc && ${INSTALL_DATA} ${i} \ - ${STAGEDIR}${EXAMPLESDIR}) + ${INSTALL_DATA} ${WRKSRC}/etc/${i} ${STAGEDIR}${EXAMPLESDIR} .endfor .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201706220901.v5M91Toj029236>