Bug 187043 - x11-fonts/manu-gothica: Update MASTER_SITES and WWW: line
Summary: x11-fonts/manu-gothica: Update MASTER_SITES and WWW: line
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Martin Wilke
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-25 18:10 UTC by tkato432
Modified: 2014-02-27 08:50 UTC (History)
0 users

See Also:


Attachments
file.diff (3.12 KB, patch)
2014-02-25 18:10 UTC, tkato432
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description tkato432 2014-02-25 18:10:02 UTC
- Update MASTER_SITES and WWW: line
- Add NO_ARCH
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2014-02-25 18:11:56 UTC
Responsible Changed
From-To: freebsd-ports-bugs->miwi

miwi@ wants this submitter's PRs (via the GNATS Auto Assign Tool)
Comment 2 Martin Wilke freebsd_committer freebsd_triage 2014-02-27 08:48:06 UTC
State Changed
From-To: open->closed

Committed. Thanks!
Comment 3 dfilter service freebsd_committer freebsd_triage 2014-02-27 08:48:16 UTC
Author: miwi
Date: Thu Feb 27 08:48:03 2014
New Revision: 346263
URL: http://svnweb.freebsd.org/changeset/ports/346263
QAT: https://qat.redports.org/buildarchive/r346263/

Log:
  - Stage support
  - Update MASTER_SITES and WWW: line
  
  PR:		187043
  Submitted by:	Ports fury

Modified:
  head/x11-fonts/manu-gothica/Makefile
  head/x11-fonts/manu-gothica/pkg-descr
  head/x11-fonts/manu-gothica/pkg-plist

Modified: head/x11-fonts/manu-gothica/Makefile
==============================================================================
--- head/x11-fonts/manu-gothica/Makefile	Thu Feb 27 08:46:42 2014	(r346262)
+++ head/x11-fonts/manu-gothica/Makefile	Thu Feb 27 08:48:03 2014	(r346263)
@@ -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 persona
 EXTRACT_CMD=	${CP}
 EXTRACT_BEFORE_ARGS=
 EXTRACT_AFTER_ARGS=	${WRKSRC}
-NO_BUILD=	yes
 
+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>

Modified: head/x11-fonts/manu-gothica/pkg-descr
==============================================================================
--- head/x11-fonts/manu-gothica/pkg-descr	Thu Feb 27 08:46:42 2014	(r346262)
+++ head/x11-fonts/manu-gothica/pkg-descr	Thu Feb 27 08:48:03 2014	(r346263)
@@ -2,3 +2,5 @@ This True Type Font has been based on th
 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/

Modified: head/x11-fonts/manu-gothica/pkg-plist
==============================================================================
--- head/x11-fonts/manu-gothica/pkg-plist	Thu Feb 27 08:46:42 2014	(r346262)
+++ head/x11-fonts/manu-gothica/pkg-plist	Thu Feb 27 08:48:03 2014	(r346263)
@@ -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
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"