1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

- Stage support

- Update MASTER_SITES and WWW: line

PR:		187043
Submitted by:	Ports fury
This commit is contained in:
Martin Wilke 2014-02-27 08:48:03 +00:00
parent 5ba557af23
commit c68337e8d5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=346263
3 changed files with 20 additions and 23 deletions

View File

@ -3,18 +3,16 @@
PORTNAME= manu-gothica
DISTVERSION= 0
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= x11-fonts
MASTER_SITES= http://www.bryld.info/filer/
MASTER_SITES= http://www.bryld.dk/filer/ \
http://www.kswla.org/KATG%20Page%20Files/
DISTNAME= manugot19
EXTRACT_SUFX= .ttf
MAINTAINER= ports@FreeBSD.org
COMMENT= Old German blackletter handwriting (Suetterlin)
DEPRECATED= No more public distfiles
EXPIRATION_DATE= 2014-03-10
BUILD_DEPENDS= fc-cache:${PORTSDIR}/x11-fonts/fontconfig
RUN_DEPENDS:= ${BUILD_DEPENDS}
@ -23,21 +21,16 @@ RESTRICTED= The font is free for personal use
EXTRACT_CMD= ${CP}
EXTRACT_BEFORE_ARGS=
EXTRACT_AFTER_ARGS= ${WRKSRC}
NO_BUILD= yes
NO_WRKSUBDIR= yes
FONTSDIR= lib/X11/fonts/TTF/
PLIST_SUB+= FONTSDIR=${FONTSDIR}
NO_STAGE= yes
do-install:
${MKDIR} ${PREFIX}/${FONTSDIR}
${INSTALL_DATA} ${WRKSRC}/manugot19.ttf ${PREFIX}/${FONTSDIR}/manugot19.ttf
post-install:
@${ECHO_MSG} "===> Running fc-cache"
-${LOCALBASE}/bin/fc-cache -f -v ${PREFIX}/${FONTSDIR}
@${ECHO_MSG}
@${ECHO_MSG}
@${MKDIR} ${STAGEDIR}${DATADIR}
(cd ${WRKSRC} && ${INSTALL_DATA} manugot19.ttf \
${STAGEDIR}${DATADIR})
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/X11/fonts/TTF
@${LN} -sf ${DATADIR}/manugot19.ttf \
${STAGEDIR}${PREFIX}/lib/X11/fonts/TTF
.include <bsd.port.mk>

View File

@ -2,3 +2,5 @@ This True Type Font has been based on the Old German handwriting as it
was taught in Schleswig and Germany around Year 1900 (Suetterlin). If
you study sources from that time and before, it is important to be
familiar with this writing style. The font is free for personal use.
WWW: http://www.bryld.dk/hent-filer/

View File

@ -1,6 +1,8 @@
%%FONTSDIR%%/manugot19.ttf
@exec %D/bin/fc-cache -f -v %D/%%FONTSDIR%% 2>/dev/null || true
@unexec rm %D/%%FONTSDIR%%/fonts.cache-1 2>/dev/null || true
@unexec %D/bin/fc-cache -f -v %D/%%FONTSDIR%% 2>/dev/null || true
@unexec if [ -e %D/%%FONTSDIR%%/fonts.cache-1 -a ! -s %D/%%FONTSDIR%%/fonts.cache-1 ]; then rm %D/%%FONTSDIR%%/fonts.cache-1; fi
@dirrmtry %%FONTSDIR%%
lib/X11/fonts/TTF/manugot19.ttf
%%DATADIR%%/manugot19.ttf
@exec %%LOCALBASE%%/bin/fc-cache -f -v %D/lib/X11/fonts/TTF 2>/dev/null || true
@unexec rm %D/lib/X11/fonts/TTF/fonts.cache-1 2>/dev/null || true
@unexec %%LOCALBASE%%/bin/fc-cache -f -v %D/lib/X11/fonts/TTF 2>/dev/null || true
@unexec if [ -e %D/lib/X11/fonts/TTF/fonts.cache-1 -a ! -s %D/lib/X11/fonts/TTF/fonts.cache-1 ]; then rm %D/lib/X11/fonts/TTF/fonts.cache-1; fi
@dirrm %%DATADIR%%
@dirrmtry lib/X11/fonts/TTF