Date: Sat, 28 Mar 2020 12:47:10 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r529359 - head/x11-fonts/dejavu Message-ID: <202003281247.02SClAwa091997@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Sat Mar 28 12:47:10 2020 New Revision: 529359 URL: https://svnweb.freebsd.org/changeset/ports/529359 Log: Convert to options target helper - Cosmetic change Modified: head/x11-fonts/dejavu/Makefile Modified: head/x11-fonts/dejavu/Makefile ============================================================================== --- head/x11-fonts/dejavu/Makefile Sat Mar 28 12:47:05 2020 (r529358) +++ head/x11-fonts/dejavu/Makefile Sat Mar 28 12:47:10 2020 (r529359) @@ -3,8 +3,8 @@ PORTNAME= dejavu PORTVERSION= 2.37 -PORTREVISION= 1 DISTVERSIONPREFIX= fonts-ttf- +PORTREVISION= 1 CATEGORIES= x11-fonts MASTER_SITES= https://github.com/dejavu-fonts/dejavu-fonts/releases/download/version_${PORTVERSION:R}_${PORTVERSION:E}/ @@ -21,14 +21,10 @@ LICENSE_PERMS_AMS= dist-mirror dist-sell pkg-mirror pk LICENSE_PERMS_AREV= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept LICENSE_PERMS_BITSTREAM=dist-mirror dist-sell pkg-mirror pkg-sell auto-accept -OPTIONS_DEFINE= DOCS LINKS -OPTIONS_DEFAULT=LINKS -OPTIONS_SUB= yes -LINKS_DESC= Install links of configuration files in conf.d +USES= fonts tar:bzip2 NO_ARCH= yes NO_BUILD= yes -USES= fonts tar:bzip2 PLIST_SUB= FCDIR=${FCDIR} FCDIR_LINKS=${FCDIR_LINKS} PORTDOCS= README.md langcover.txt status.txt unicover.txt @@ -37,11 +33,18 @@ SUB_FILES= pkg-message FCDIR?= etc/fonts/conf.avail FCDIR_LINKS= ${FCDIR:S|conf.avail|conf.d|} +OPTIONS_DEFINE= DOCS LINKS +OPTIONS_DEFAULT=LINKS +OPTIONS_SUB= yes +LINKS_DESC= Install links of configuration files in conf.d + do-install: cd ${STAGEDIR}${PREFIX}/ && ${MKDIR} ${FCDIR}/ ${FCDIR_LINKS}/ ${STAGEDIR}${FONTSDIR}/ ${INSTALL_DATA} ${WRKSRC}/fontconfig/*.conf ${STAGEDIR}${PREFIX}/${FCDIR}/ cd ${STAGEDIR}${PREFIX}/${FCDIR_LINKS}/ && ${LN} -fs ../conf.avail/*dejavu*.conf . ${INSTALL_DATA} ${WRKSRC}/ttf/*.ttf ${STAGEDIR}${FONTSDIR}/ + +do-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR}/ cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202003281247.02SClAwa091997>