From owner-svn-ports-all@freebsd.org Sun Dec 6 20:35:33 2015 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 D55EF9A0035; Sun, 6 Dec 2015 20:35:33 +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 8D9B01301; Sun, 6 Dec 2015 20:35:33 +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 tB6KZWoe046501; Sun, 6 Dec 2015 20:35:32 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id tB6KZWJ6046500; Sun, 6 Dec 2015 20:35:32 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201512062035.tB6KZWJ6046500@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Sun, 6 Dec 2015 20:35:32 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r403157 - head/converters/i18ntools 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.20 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: Sun, 06 Dec 2015 20:35:33 -0000 Author: amdmi3 Date: Sun Dec 6 20:35:32 2015 New Revision: 403157 URL: https://svnweb.freebsd.org/changeset/ports/403157 Log: - Add LICENSE - Simplify installation - Switch to options helpers Modified: head/converters/i18ntools/Makefile Modified: head/converters/i18ntools/Makefile ============================================================================== --- head/converters/i18ntools/Makefile Sun Dec 6 20:33:23 2015 (r403156) +++ head/converters/i18ntools/Makefile Sun Dec 6 20:35:32 2015 (r403157) @@ -11,11 +11,11 @@ MASTER_SITES= ftp://ftp.whizkidtech.redp MAINTAINER= ports@FreeBSD.org COMMENT= Tools for the conversion to and from UTF-8 Unicode encoding +LICENSE= BSD2CLAUSE + LIB_DEPENDS= libutf-8.so:${PORTSDIR}/converters/libutf-8 RUN_DEPENDS= tuc:${PORTSDIR}/converters/tuc -OPTIONS_DEFINE= DOCS - DATADIR= ${PREFIX}/share/i18n DOCSDIR= ${PREFIX}/share/doc/i18n @@ -53,6 +53,8 @@ DOCFILES= fgetu8.html fputu8.html index. rfc2277.txt rfc2279.txt sgetu8.html sputu8.html utrans.html MAN1FILES= hutrans.1 ptrans.1 utrans.1 uhtrans.1 +OPTIONS_DEFINE= DOCS + post-patch: @${REINPLACE_CMD} -e \ 's|$${PREFIX}/include|$${LOCALBASE}/include| ; \ @@ -61,16 +63,18 @@ post-patch: do-install: .for f in ${BINARIES} - (cd ${WRKSRC} && ${INSTALL_PROGRAM} ${f} ${STAGEDIR}${PREFIX}/bin) + ${INSTALL_PROGRAM} ${WRKSRC}/${f} ${STAGEDIR}${PREFIX}/bin .endfor .for f in ${MAN1FILES} - (cd ${WRKSRC} && ${INSTALL_MAN} ${f} ${STAGEDIR}${MANPREFIX}/man/man1) + ${INSTALL_MAN} ${WRKSRC}/${f} ${STAGEDIR}${MANPREFIX}/man/man1 .endfor ${MKDIR} ${STAGEDIR}${DATADIR}/charmaps/binary .for f in ${CHARMAPS} - (cd ${WRKSRC}/charmaps && ${INSTALL_DATA} ${f} \ - ${STAGEDIR}${DATADIR}/charmaps/binary) + ${INSTALL_DATA} ${WRKSRC}/charmaps/${f} \ + ${STAGEDIR}${DATADIR}/charmaps/binary .endfor + +do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR}/tools .for f in ${DOCFILES} (cd ${WRKSRC} && ${INSTALL_DATA} ${f} ${STAGEDIR}${DOCSDIR}/tools)