pkgsrc/fonts/urbanrenewal-ttf/Makefile
asau 13af9151a3 FreeBSD's unzip doesn't handle the distfile.
This fixes the build on FreeBSD 10.
2014-06-26 20:32:25 +00:00

39 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.4 2014/06/26 20:32:25 asau Exp $
#
DISTNAME= urbanrenewal
VERSION= 201102
PKGNAME= ${DISTNAME}-ttf-${VERSION}
PKGREVISION= 1
CATEGORIES= fonts
MASTER_SITES= http://www.kreativekorp.com/swdownload/fonts/urban/
EXTRACT_SUFX= .zip
MAINTAINER= christtrekker@users.sourceforge.net
HOMEPAGE= http://www.kreativekorp.com/software/fonts/urbanrenewal.shtml
COMMENT= Insanely great TT versions of the city-named fonts of Mac OS Classic
LICENSE= kreativekorp-free-license
WRKSRC= ${WRKDIR}
DIST_SUBDIR= ${PKGNAME_NOREV}
TTFPATH= share/fonts/X11/TTF
FONTS_DIRS.ttf+= ${PREFIX}/${TTFPATH}
INSTALLATION_DIRS= ${TTFPATH}
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}
${INSTALL_DATA} ${WRKSRC}/*.txt ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
.include "../../mk/bsd.pkg.mk"