summaryrefslogtreecommitdiff
path: root/fonts/montserrat
diff options
context:
space:
mode:
authormaya <maya@pkgsrc.org>2020-11-06 18:04:24 +0000
committermaya <maya@pkgsrc.org>2020-11-06 18:04:24 +0000
commit09f15c73e73aa575ded4cb9a29ffba00d123fe65 (patch)
tree8c61090bd1ad2ad23a9cfa77ae807b13c8e3e74b /fonts/montserrat
parentafb04d29a006c1cab758cba58568e2c679114116 (diff)
downloadpkgsrc-09f15c73e73aa575ded4cb9a29ffba00d123fe65.tar.gz
mk/fonts.mk: don't add NO_CONFIGURE and NO_BUILD, have packages set it.
This makes it easier to use the mk fragment with fonts that need a build step, like new liberation-ttf. While here switch some fonts using post-install unnecessarily to do-install (Committed at the same time as it wasn't tested separately) No PLIST changes to the packages/build breakage, so no changes expected to the packages.
Diffstat (limited to 'fonts/montserrat')
-rw-r--r--fonts/montserrat/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/fonts/montserrat/Makefile b/fonts/montserrat/Makefile
index b614dd2d995..44775553b8e 100644
--- a/fonts/montserrat/Makefile
+++ b/fonts/montserrat/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2020/08/06 11:06:42 pin Exp $
+# $NetBSD: Makefile,v 1.2 2020/11/06 18:04:26 maya Exp $
DISTNAME= Montserrat-7.210
PKGNAME= ${DISTNAME:tl}
@@ -16,7 +16,10 @@ WRKSRC= ${WRKDIR}/${DISTNAME}
DOCDIR= ${PREFIX}/share/doc/${PKGBASE}
INSTALLATION_DIRS+= ${DOCDIR}
-post-install:
+NO_CONFIGURE= yes
+NO_BUILD= yes
+
+do-install:
${INSTALL_DATA} ${WRKSRC}/README.md ${DESTDIR}${DOCDIR}
.include "../../mk/fonts.mk"