Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Dec 2015 20:35:45 +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: r403160 - head/chinese/ttfm
Message-ID:  <201512062035.tB6KZj05046835@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Sun Dec  6 20:35:45 2015
New Revision: 403160
URL: https://svnweb.freebsd.org/changeset/ports/403160

Log:
  - Add LICENSE
  - Switch to options helpers

Modified:
  head/chinese/ttfm/Makefile

Modified: head/chinese/ttfm/Makefile
==============================================================================
--- head/chinese/ttfm/Makefile	Sun Dec  6 20:35:43 2015	(r403159)
+++ head/chinese/ttfm/Makefile	Sun Dec  6 20:35:45 2015	(r403160)
@@ -10,6 +10,8 @@ MASTER_SITES=	LOCAL/rafan/chinese
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Big5/GB enhanced TrueType Font Manager
 
+LICENSE=	MIT
+
 LIB_DEPENDS=	libfreetype.so:${PORTSDIR}/print/freetype2
 
 MAKE_ARGS=	FREETYPE_BASE=${LOCALBASE:Q} CC="${CC}"
@@ -28,14 +30,16 @@ post-patch:
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/ttfinfo ${STAGEDIR}${PREFIX}/bin/
 	${INSTALL_SCRIPT} ${WRKSRC}/ttfm.sh ${STAGEDIR}${PREFIX}/bin/
-	@${MKDIR} ${STAGEDIR}${DOCSDIR}
-.for doc in ${PORTDOCS}
-	${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR}/
-.endfor
 	${INSTALL_MAN} ${WRKSRC}/ttfm.sh.1 ${STAGEDIR}${MANPREFIX}/man/man1/
 	@${MKDIR} ${STAGEDIR}${DATADIR}
 .for module in gscjk.ttfm xttfm.ttfm
 	${INSTALL_SCRIPT} ${WRKSRC}/modules/${module} ${STAGEDIR}${DATADIR}/
 .endfor
 
+do-install-DOCS-on:
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+.for doc in ${PORTDOCS}
+	${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR}/
+.endfor
+
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201512062035.tB6KZj05046835>