Skip to content

Commit

Permalink
japanese/font-{firge,hackgen}: fix install script
Browse files Browse the repository at this point in the history
  • Loading branch information
Hajimu UMEMOTO authored and Hajimu UMEMOTO committed Oct 13, 2021
1 parent 96027e4 commit 409142d
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 16 deletions.
2 changes: 1 addition & 1 deletion japanese/font-firge/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
PORTNAME= firge
PORTVERSION= 0.2.0
PORTREVISION= 0
PORTREVISION= 1
CATEGORIES= japanese x11-fonts
MASTER_SITES= https://github.com/yuru7/Firge/releases/download/v${PORTVERSION}/
PKGNAMEPREFIX= ja-font-
Expand Down
18 changes: 11 additions & 7 deletions japanese/font-firge/files/pkg-install.in
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,17 @@

catfontsdir()
{
while read _IN
do
case "${_IN}" in
*-misc-firge(|35)(|console)-*|[0-9]*|"") ;;
*) echo ${_IN} ;;
esac
done
while read _IN
do
case "${_IN}" in
*-misc-firge-* | *-misc-firgeconsole-* | \
*-misc-firge35-* | *-misc-firge35console-* | [0-9]* | "")
;;
*)
echo ${_IN}
;;
esac
done
}

ROMA=""
Expand Down
2 changes: 1 addition & 1 deletion japanese/font-hackgen/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
PORTNAME= hackgen
PORTVERSION= 2.5.1
PORTREVISION= 0
PORTREVISION= 1
CATEGORIES= japanese x11-fonts
MASTER_SITES= https://github.com/yuru7/HackGen/releases/download/v${PORTVERSION}/
PKGNAMEPREFIX= ja-font-
Expand Down
18 changes: 11 additions & 7 deletions japanese/font-hackgen/files/pkg-install.in
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,17 @@

catfontsdir()
{
while read _IN
do
case "${_IN}" in
*-misc-hackgen(|35)(|console)-*|[0-9]*|"") ;;
*) echo ${_IN} ;;
esac
done
while read _IN
do
case "${_IN}" in
*-misc-hackgen-* | *-misc-hackgenconsole-* | \
*-misc-hackgen35-* | *-misc-hackgen35console-* | [0-9]* | "")
;;
*)
echo ${_IN}
;;
esac
done
}

ROMA=""
Expand Down

0 comments on commit 409142d

Please sign in to comment.