|
Lines 13-18
Link Here
|
| 13 |
LICENSE= APACHE20 |
13 |
LICENSE= APACHE20 |
| 14 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
14 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
| 15 |
|
15 |
|
|
|
16 |
PATCH_DEPENDS= fontforge:${PORTSDIR}/print/fontforge |
| 17 |
|
| 16 |
NO_ARCH= yes |
18 |
NO_ARCH= yes |
| 17 |
NO_BUILD= yes |
19 |
NO_BUILD= yes |
| 18 |
USES= fonts |
20 |
USES= fonts |
|
Lines 23-28
Link Here
|
| 23 |
|
25 |
|
| 24 |
SUB_FILES= pkg-message |
26 |
SUB_FILES= pkg-message |
| 25 |
|
27 |
|
|
|
28 |
PATCHES= Roboto-Thin.ttf:"Weight",100 \ |
| 29 |
Roboto-ThinItalic.ttf:"Weight",100 \ |
| 30 |
RobotoCondensed-Light.ttf:"Width",3 \ |
| 31 |
RobotoCondensed-LightItalic.ttf:"Width",3 \ |
| 32 |
RobotoCondensed-Regular.ttf:"Width",3 \ |
| 33 |
RobotoCondensed-Italic.ttf:"Width",3 \ |
| 34 |
RobotoCondensed-Bold.ttf:"Width",3 \ |
| 35 |
RobotoCondensed-BoldItalic.ttf:"Width",3 |
| 36 |
|
| 37 |
post-patch: |
| 38 |
.for PATCH in ${PATCHES} |
| 39 |
fontforge -c \ |
| 40 |
'Open($$1); SetOS2Value(${PATCH:C/.*\://}); Generate($$1)' \ |
| 41 |
${WRKSRC}/hinted/${PATCH:C/\:.*//} |
| 42 |
.endfor |
| 43 |
|
| 26 |
do-install: |
44 |
do-install: |
| 27 |
${MKDIR} ${STAGEDIR}${FONTSDIR} |
45 |
${MKDIR} ${STAGEDIR}${FONTSDIR} |
| 28 |
${INSTALL_DATA} ${WRKSRC}/hinted/*.ttf ${STAGEDIR}${FONTSDIR} |
46 |
${INSTALL_DATA} ${WRKSRC}/hinted/*.ttf ${STAGEDIR}${FONTSDIR} |