[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / fonts / freefont-ttf

File: [cvs.NetBSD.org] / pkgsrc / fonts / freefont-ttf / Makefile (download)

Revision 1.9, Wed Oct 3 18:28:23 2012 UTC (11 years, 4 months ago) by asau
Branch: MAIN
CVS Tags: pkgsrc-2014Q1-base, pkgsrc-2014Q1, pkgsrc-2013Q4-base, pkgsrc-2013Q4, pkgsrc-2013Q3-base, pkgsrc-2013Q3, pkgsrc-2013Q2-base, pkgsrc-2013Q2, pkgsrc-2013Q1-base, pkgsrc-2013Q1, pkgsrc-2012Q4-base, pkgsrc-2012Q4
Changes since 1.8: +1 -3 lines

Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.

# $NetBSD: Makefile,v 1.9 2012/10/03 18:28:23 asau Exp $
#

DISTNAME=		freefont-ttf-20120503
CATEGORIES=		fonts
MASTER_SITES=		${MASTER_SITE_GNU:=freefont/}
EXTRACT_SUFX=		.zip

MAINTAINER=		reed@reedmedia.net
HOMEPAGE=		http://www.gnu.org/software/freefont/
COMMENT=		Free UCS Outline Fonts: FreeMono, FreeSans, and FreeSerif
LICENSE=		gnu-gpl-v3

WRKSRC=			${WRKDIR}/${DISTNAME:S/-ttf//}
NO_CONFIGURE=		yes
NO_BUILD=		yes
USE_LANGUAGES=		# empty
USE_TOOLS+=		pax
INSTALLATION_DIRS=	share/doc/freefont lib/X11/fonts/TTF

FONTSDIR=		${PREFIX}/lib/X11/fonts/TTF
FONTS_DIRS.ttf=		${FONTSDIR}

do-install:
	${INSTALL_DATA} ${WRKSRC}/README \
		${DESTDIR}${PREFIX}/share/doc/freefont/
	${INSTALL_DATA} ${WRKSRC}/AUTHORS \
		${DESTDIR}${PREFIX}/share/doc/freefont/
	${INSTALL_DATA} ${WRKSRC}/CREDITS \
		${DESTDIR}${PREFIX}/share/doc/freefont/
	cd ${WRKSRC} && \
		pax -rw Free*.ttf ${DESTDIR}/${FONTSDIR}

.include "../../mk/bsd.pkg.mk"