Lines 1-16
Link Here
|
1 |
# $FreeBSD$ |
1 |
# $FreeBSD$ |
2 |
|
2 |
|
3 |
PORTNAME= sourcehansans |
3 |
PORTNAME= sourcehansans |
4 |
PORTVERSION= 2.000 |
4 |
PORTVERSION= 2.001 |
5 |
DISTVERSIONSUFFIX= R |
5 |
DISTVERSIONSUFFIX= R |
6 |
CATEGORIES= japanese x11-fonts |
6 |
CATEGORIES?= japanese x11-fonts |
7 |
PKGNAMESUFFIX= -otf |
7 |
PKGNAMESUFFIX?= -otf |
8 |
# Note: the following PKGNAMEPREFIX is here only for self-documenting purpose; |
8 |
# Note: the following PKGNAMEPREFIX is here only for self-documenting purpose; |
9 |
# actual prefixing is done by the `japanese' category itself. |
9 |
# actual prefixing is done by the `japanese' category itself. |
10 |
#PKGNAMEPREFIX= ja- |
10 |
#PKGNAMEPREFIX?= ja- |
11 |
|
11 |
|
12 |
MAINTAINER= hyun@caffeinated.codes |
12 |
MAINTAINER= hyun@caffeinated.codes |
13 |
COMMENT= Japanese font by Adobe designed for user interfaces |
13 |
COMMENT?= Japanese font by Adobe designed for user interfaces |
14 |
|
14 |
|
15 |
LICENSE= OFL11 |
15 |
LICENSE= OFL11 |
16 |
LICENSE_FILE= ${WRKSRC}/LICENSE.txt |
16 |
LICENSE_FILE= ${WRKSRC}/LICENSE.txt |
Lines 32-49
Link Here
|
32 |
|
32 |
|
33 |
HW_DESC= Install the half-width font in addition to the full font |
33 |
HW_DESC= Install the half-width font in addition to the full font |
34 |
FULL_DESC= Install the full font (can display all CJK) |
34 |
FULL_DESC= Install the full font (can display all CJK) |
35 |
SUBSET_DESC= Install the subset font (can display Japanese only) |
35 |
SUBSET_DESC?= Install the subset font (can display Japanese only) |
36 |
SUBSET_PREVENTS= HW |
36 |
SUBSET_PREVENTS= HW |
37 |
SUBSET_PREVENTS_MSG= Half-width can only be installed in addition to the full font |
37 |
SUBSET_PREVENTS_MSG= Half-width can only be installed in addition to the full font |
38 |
|
38 |
|
39 |
FULL_VARS= FONTNAME=SourceHanSans SRCFONTSDIR=OTF/Japanese |
39 |
FULL_VARS?= FONTNAME=SourceHanSans SRCFONTSDIR=OTF/Japanese |
40 |
SUBSET_VARS= FONTNAME=SourceHanSansJP SRCFONTSDIR=SubsetOTF/JP |
40 |
SUBSET_VARS?= FONTNAME=SourceHanSansJP SRCFONTSDIR=SubsetOTF/JP |
41 |
|
41 |
|
|
|
42 |
SHS_HW_LANG?= Japanese |
43 |
|
44 |
# These are to maintain correct pkg description and file list for slave ports |
45 |
DESCR= ${.CURDIR}/pkg-descr |
46 |
PLIST= ${.CURDIR}/pkg-plist |
47 |
|
42 |
do-install: |
48 |
do-install: |
43 |
@${MKDIR} ${STAGEDIR}${FONTSDIR} |
49 |
@${MKDIR} ${STAGEDIR}${FONTSDIR} |
44 |
${INSTALL_DATA} ${WRKSRC}/${SRCFONTSDIR}/*.otf ${STAGEDIR}${FONTSDIR} |
50 |
${INSTALL_DATA} ${WRKSRC}/${SRCFONTSDIR}/*.otf ${STAGEDIR}${FONTSDIR} |
45 |
|
51 |
|
46 |
post-install-HW-on: |
52 |
post-install-HW-on: |
47 |
${INSTALL_DATA} ${WRKSRC}/OTF/JapaneseHW/*.otf ${STAGEDIR}${FONTSDIR} |
53 |
${INSTALL_DATA} ${WRKSRC}/OTF/${SHS_HW_LANG}HW/*.otf ${STAGEDIR}${FONTSDIR} |
48 |
|
54 |
|
49 |
.include <bsd.port.mk> |
55 |
.include <bsd.port.mk> |