Browse Source

japanese/font-{firge,hackgen}: fix install script

main
Hajimu UMEMOTO 1 week ago
parent
commit
409142d125
  1. 2
      japanese/font-firge/Makefile
  2. 18
      japanese/font-firge/files/pkg-install.in
  3. 2
      japanese/font-hackgen/Makefile
  4. 18
      japanese/font-hackgen/files/pkg-install.in

2
japanese/font-firge/Makefile

@ -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-

18
japanese/font-firge/files/pkg-install.in

@ -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=""

2
japanese/font-hackgen/Makefile

@ -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-

18
japanese/font-hackgen/files/pkg-install.in

@ -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=""

Loading…
Cancel
Save