# Created by: Björn König # $FreeBSD$ PORTNAME= linuxlibertine PORTVERSION= 4.7.5 CATEGORIES= x11-fonts MASTER_SITES= SF DISTNAME= LinLibertineFont-${PORTVERSION}-2 EXTRACT_SUFX= .tgz MAINTAINER= office@FreeBSD.org COMMENT= Linux Libertine Open Fonts LICENSE= GPLv2 LINUXLIBERTINE OFL10 LICENSE_COMB= multi OPTIONS_DEFINE= DOCS BUILD_DEPENDS= fc-cache:${PORTSDIR}/x11-fonts/fontconfig RUN_DEPENDS= fc-cache:${PORTSDIR}/x11-fonts/fontconfig LICENSE_NAME_LINUXLIBERTINE= LinuxLibertine License LICENSE_FILE_LINUXLIBERTINE= ${WRKSRC}/LICENCE.txt LICENSE_PERMS_LINUXLIBERTINE= auto-accept LICENSE_NAME_OFL= Open Fonts License LICENSE_FILE_OFL= ${WRKSRC}/OFL.txt LICENSE_PERMS_OFL= auto-accept SUB_FILES= pkg-deinstall SUB_LIST= FONTSDIR=${FONTSDIR} WRKSRC= ${WRKDIR}/LinLibertine FONTSDIR?= ${PREFIX}/lib/X11/fonts/${PORTNAME} PLIST_SUB= FONTSDIR="${FONTSDIR:S|${PREFIX}/||}" NO_BUILD= yes PORTDOCS= Bugs.txt \ ChangeLog.txt \ Readme.txt \ Readme-TEX.txt do-install: @${MKDIR} ${STAGEDIR}${FONTSDIR} .for ext in ttf otf ${INSTALL_DATA} ${WRKSRC}/Fonts/*.${ext} ${STAGEDIR}${FONTSDIR} .endfor @${MKDIR} ${STAGEDIR}${DOCSDIR} .for i in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/$i ${STAGEDIR}${DOCSDIR} .endfor .include