svn commit: r396783 - in head/japanese/font-shinonome: . files
Hiroki Sato
hrs at FreeBSD.org
Sat Sep 12 22:26:37 UTC 2015
Author: hrs
Date: Sat Sep 12 22:26:35 2015
New Revision: 396783
URL: https://svnweb.freebsd.org/changeset/ports/396783
Log:
Fix fonts.alias. It was totally broken since r381876.
Modified:
head/japanese/font-shinonome/Makefile
head/japanese/font-shinonome/files/pkg-install.in
Modified: head/japanese/font-shinonome/Makefile
==============================================================================
--- head/japanese/font-shinonome/Makefile Sat Sep 12 20:47:51 2015 (r396782)
+++ head/japanese/font-shinonome/Makefile Sat Sep 12 22:26:35 2015 (r396783)
@@ -3,7 +3,7 @@
PORTNAME= shinonome
PORTVERSION= 0.9.11.p1
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= japanese x11-fonts
MASTER_SITES= http://openlab.jp/efont/dist/shinonome/%SUBDIR%/
MASTER_SITE_SUBDIR= . old
@@ -44,7 +44,7 @@ FONTNAMES=\
shnmk16 shnmk16b shnmk16i shnmk16bi \
shnmk16min shnmk16minb shnmk16mini shnmk16minbi
-FONTNAME= shinonome
+FONTNAME= misc
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
@@ -65,6 +65,8 @@ do-install:
${MKDIR} ${STAGEDIR}${FONTSDIR}
cd ${STAGEDIR}${FONTSDIR} && ${LN} -s -f \
../../../${DATADIR_REL}/*.pcf.gz .
+
+post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
Modified: head/japanese/font-shinonome/files/pkg-install.in
==============================================================================
--- head/japanese/font-shinonome/files/pkg-install.in Sat Sep 12 20:47:51 2015 (r396782)
+++ head/japanese/font-shinonome/files/pkg-install.in Sat Sep 12 22:26:35 2015 (r396783)
@@ -1,16 +1,17 @@
#!/bin/sh
# $FreeBSD$
-FONTSDIR=%%FONTSDIR%%
-
case "$2" in
POST-INSTALL)
+ cd %%FONTSDIR%%
touch fonts.alias
grep -v -- "-shinonome-" fonts.alias > fonts.alias.tmp
- (cat fonts.alias.tmp; grep -v "^!!" %%FONTSALIAS%%) > fonts.alias
+ (cat fonts.alias.tmp; grep -- "-shinonome-" %%FONTSALIAS%%) \
+ > fonts.alias
rm -f fonts.alias.tmp
;;
POST-DEINSTALL)
+ cd %%FONTSDIR%%
touch fonts.alias
grep -v -- "-shinonome-" fonts.alias > fonts.alias.tmp
if [ -s fonts.alias.tmp ]; then
More information about the svn-ports-all
mailing list