- Remove Georgian (ka) language because it is included with Tuxpaint
standard distribution. - Remove '@' from installation commands. Approved by: garga (mentor)
This commit is contained in:
parent
affa1eae3c
commit
58c9853c93
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=160396
1 changed files with 12 additions and 20 deletions
|
@ -11,49 +11,42 @@ CATEGORIES= games
|
||||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||||
MASTER_SITE_SUBDIR= ${PORTNAME}
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
||||||
PKGNAMESUFFIX= -fonts
|
PKGNAMESUFFIX= -fonts
|
||||||
|
DISTFILES= #
|
||||||
|
|
||||||
MAINTAINER= alepulver@FreeBSD.org
|
MAINTAINER= alepulver@FreeBSD.org
|
||||||
COMMENT= TuxPaint Localized Fonts
|
COMMENT= TuxPaint Localized Fonts
|
||||||
|
|
||||||
RUN_DEPENDS= tuxpaint:${PORTSDIR}/games/tuxpaint
|
RUN_DEPENDS= tuxpaint:${PORTSDIR}/games/tuxpaint
|
||||||
|
|
||||||
DISTFILES= #
|
|
||||||
NO_BUILD= yes
|
NO_BUILD= yes
|
||||||
NO_WRKSUBDIR= yes
|
NO_WRKSUBDIR= yes
|
||||||
|
|
||||||
# Available font languages
|
# Available font languages.
|
||||||
LANGS= Chinese Chinese_Simplified Georgian Japanese Korean
|
LANGS= Chinese Chinese_Simplified Japanese Korean
|
||||||
|
|
||||||
# Define distfiles for all languages
|
|
||||||
|
|
||||||
|
# Define distfiles for all languages.
|
||||||
CHINESE_DISTFILES= ${PORTNAME}-ttf-chinese-2003.01.05
|
CHINESE_DISTFILES= ${PORTNAME}-ttf-chinese-2003.01.05
|
||||||
CHINESE_SIMPLIFIED_DISTFILES= ${PORTNAME}-ttf-chinese-simplified-2004.06.05
|
CHINESE_SIMPLIFIED_DISTFILES= ${PORTNAME}-ttf-chinese-simplified-2004.06.05
|
||||||
GEORGIAN_DISTFILES= ${PORTNAME}-ttf-georgian-2005.03.24
|
|
||||||
JAPANESE_DISTFILES= ${PORTNAME}-ttf-japanese-2003.01.24
|
JAPANESE_DISTFILES= ${PORTNAME}-ttf-japanese-2003.01.24
|
||||||
KOREAN_DISTFILES= ${PORTNAME}-ttf-korean-2002.12.05
|
KOREAN_DISTFILES= ${PORTNAME}-ttf-korean-2002.12.05
|
||||||
|
|
||||||
# Define language codes
|
# Define language codes.
|
||||||
|
|
||||||
CHINESE_CODE= zh
|
CHINESE_CODE= zh
|
||||||
CHINESE_SIMPLIFIED_CODE= zh_cn
|
CHINESE_SIMPLIFIED_CODE= zh_cn
|
||||||
GEORGIAN_CODE= ka
|
|
||||||
JAPANESE_CODE= ja
|
JAPANESE_CODE= ja
|
||||||
KOREAN_CODE= ko
|
KOREAN_CODE= ko
|
||||||
|
|
||||||
# Generate options menu
|
# Generate options menu.
|
||||||
|
|
||||||
.for l in ${LANGS}
|
.for l in ${LANGS}
|
||||||
OPTIONS+= ${l:U} "${l:S/_/ /} fonts" on
|
OPTIONS+= ${l:U} "${l:S/_/ /} fonts" on
|
||||||
.endfor
|
.endfor
|
||||||
|
|
||||||
# Do not use the same OPTIONS directory as "games/tuxpaint"
|
# Do not use the same OPTIONS directory as "games/tuxpaint".
|
||||||
|
|
||||||
LATEST_LINK= ${PORTNAME}${PKGNAMESUFFIX}
|
LATEST_LINK= ${PORTNAME}${PKGNAMESUFFIX}
|
||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
.include <bsd.port.pre.mk>
|
||||||
|
|
||||||
# Set DISTFILES and PLIST_FILES according to OPTIONS
|
# Set DISTFILES and PLIST_FILES according to OPTIONS.
|
||||||
|
|
||||||
.for l in ${LANGS:U}
|
.for l in ${LANGS:U}
|
||||||
. if !defined(WITHOUT_${l})
|
. if !defined(WITHOUT_${l})
|
||||||
DISTFILES+= ${${l}_DISTFILES}${EXTRACT_SUFX}
|
DISTFILES+= ${${l}_DISTFILES}${EXTRACT_SUFX}
|
||||||
|
@ -61,15 +54,14 @@ PLIST_FILES+= %%DATADIR%%/fonts/locale/${${l}_CODE}.ttf
|
||||||
. endif
|
. endif
|
||||||
.endfor
|
.endfor
|
||||||
|
|
||||||
# Install seleted fonts
|
# Install seleted fonts.
|
||||||
|
|
||||||
do-install:
|
do-install:
|
||||||
@${MKDIR} ${DATADIR}/fonts/locale
|
${MKDIR} ${DATADIR}/fonts/locale
|
||||||
.for l in ${LANGS}
|
.for l in ${LANGS}
|
||||||
. if defined(WITH_${l:U})
|
. if defined(WITH_${l:U})
|
||||||
@${INSTALL_DATA} \
|
${INSTALL_DATA} \
|
||||||
${WRKSRC}/${${l:U}_DISTFILES}/${${l:U}_CODE}.ttf \
|
${WRKSRC}/${${l:U}_DISTFILES}/${${l:U}_CODE}.ttf \
|
||||||
${DATADIR}/fonts/locale
|
${DATADIR}/fonts/locale
|
||||||
. endif
|
. endif
|
||||||
.endfor
|
.endfor
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue