Bug 200063

Summary: [patch] japanese/font-shinonome: Fix installation of fonts.alias
Product: Ports & Packages Reporter: WATANABE Kazuhiro <CQG00620>
Component: Individual Port(s)Assignee: Hiroki Sato <hrs>
Status: Closed FIXED    
Severity: Affects Some People CC: w.schwarzenfeld
Priority: --- Keywords: patch
Version: LatestFlags: bugzilla: maintainer-feedback? (hrs)
Hardware: Any   
OS: Any   
Attachments:
Description Flags
A patch for japanese/font-shinonome
none
poudriere testport log without the patch (10.1-RELEASE amd64)
none
poudriere testport log with the patch (10.1-RELEASE amd64) none

Description WATANABE Kazuhiro 2015-05-09 08:16:30 UTC
Created attachment 156536 [details]
A patch for japanese/font-shinonome

Due to massive updates which is related with USES=fonts [1],
japanese/font-shinonome fails to update fonts.alias.  To solve the problem,
add missing "cd ${FONTSDIR}"s to pkg-install.in.

[1] https://svnweb.freebsd.org/ports?view=revision&revision=381876
Comment 1 WATANABE Kazuhiro 2015-05-09 08:17:57 UTC
Created attachment 156537 [details]
poudriere testport log without the patch (10.1-RELEASE amd64)
Comment 2 WATANABE Kazuhiro 2015-05-09 08:18:36 UTC
Created attachment 156538 [details]
poudriere testport log with the patch (10.1-RELEASE amd64)
Comment 3 Walter Schwarzenfeld 2018-01-10 13:41:24 UTC
Maintainer timeout?
Comment 4 Walter Schwarzenfeld 2018-01-16 06:24:37 UTC
pkg-install.in shows:

POST-INSTALL)
        cd %%FONTSDIR%%
        touch fonts.alias
        grep -v -- "-shinonome-" fonts.alias > fonts.alias.tmp
        (cat fonts.alias.tmp; grep -- "-shinonome-" %%FONTSALIAS%%) \
            > fonts.alias
        rm -f fonts.alias.tmp
        ;;
POST-DEINSTALL)
        cd %%FONTSDIR%%

fixed.