summaryrefslogtreecommitdiff
path: root/fonts
diff options
context:
space:
mode:
authorasau <asau>2014-06-26 20:32:25 +0000
committerasau <asau>2014-06-26 20:32:25 +0000
commit3693ef2cf38c9034c4a35121a0b5c71f5dce44b6 (patch)
tree389988e8409f52279d02e7710edad80cd7d6d548 /fonts
parent4d155a4c557c3376248c66aac99ccb5a412230cf (diff)
downloadpkgsrc-3693ef2cf38c9034c4a35121a0b5c71f5dce44b6.tar.gz
FreeBSD's unzip doesn't handle the distfile.
This fixes the build on FreeBSD 10.
Diffstat (limited to 'fonts')
-rw-r--r--fonts/urbanrenewal-ttf/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/fonts/urbanrenewal-ttf/Makefile b/fonts/urbanrenewal-ttf/Makefile
index e33a150a33b..590d94e9e51 100644
--- a/fonts/urbanrenewal-ttf/Makefile
+++ b/fonts/urbanrenewal-ttf/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2014/06/01 16:35:37 wiz Exp $
+# $NetBSD: Makefile,v 1.4 2014/06/26 20:32:25 asau Exp $
#
DISTNAME= urbanrenewal
@@ -24,6 +24,13 @@ INSTALLATION_DIRS+= share/doc/${PKGBASE}
NO_CONFIGURE= yes
NO_BUILD= yes
+.include "../../mk/bsd.prefs.mk"
+
+# FreeBSD's unzip doesn't handle the archive:
+.if ${OPSYS} == "FreeBSD"
+TOOLS_PLATFORM.unzip= # empty
+.endif
+
do-install:
${INSTALL_DATA} ${WRKSRC}/*.[Tt][Tt][Ff] ${DESTDIR}${FONTS_DIRS.ttf}
${INSTALL_DATA} ${WRKSRC}/*.pdf ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}