Lines 3-8
Link Here
|
3 |
|
3 |
|
4 |
PORTNAME= junicode |
4 |
PORTNAME= junicode |
5 |
PORTVERSION= 0.7.6 |
5 |
PORTVERSION= 0.7.6 |
|
|
6 |
PORTREVISION= 1 |
6 |
CATEGORIES= x11-fonts |
7 |
CATEGORIES= x11-fonts |
7 |
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION:S|.|-|g} \ |
8 |
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION:S|.|-|g} \ |
8 |
http://anthesphoria.net/FreeBSD/ports/distfiles/ |
9 |
http://anthesphoria.net/FreeBSD/ports/distfiles/ |
Lines 14-19
Link Here
|
14 |
BUILD_DEPENDS= fc-cache:${PORTSDIR}/x11-fonts/fontconfig |
15 |
BUILD_DEPENDS= fc-cache:${PORTSDIR}/x11-fonts/fontconfig |
15 |
RUN_DEPENDS:= ${BUILD_DEPENDS} |
16 |
RUN_DEPENDS:= ${BUILD_DEPENDS} |
16 |
|
17 |
|
|
|
18 |
OPTIONS_DEFINE= DOCS |
19 |
|
17 |
WRKSRC= ${WRKDIR}/${PORTNAME} |
20 |
WRKSRC= ${WRKDIR}/${PORTNAME} |
18 |
NO_BUILD= yes |
21 |
NO_BUILD= yes |
19 |
USES= zip |
22 |
USES= zip |
Lines 20-39
Link Here
|
20 |
|
23 |
|
21 |
PLIST_SUB= FONTSDIR="${FONTSDIR:S|${PREFIX}/||}" |
24 |
PLIST_SUB= FONTSDIR="${FONTSDIR:S|${PREFIX}/||}" |
22 |
|
25 |
|
23 |
FONTSDIR?= ${PREFIX}/lib/X11/fonts/${PORTNAME} |
26 |
FONTSDIR?= lib/X11/fonts/${PORTNAME} |
24 |
|
27 |
|
25 |
NO_STAGE= yes |
|
|
26 |
do-install: |
28 |
do-install: |
27 |
@${MKDIR} ${FONTSDIR} |
29 |
@${MKDIR} ${STAGEDIR}${PREFIX}/${FONTSDIR} |
28 |
${INSTALL_DATA} ${WRKSRC}/fonts/*.ttf ${FONTSDIR} |
30 |
${INSTALL_DATA} ${WRKSRC}/fonts/*.ttf ${STAGEDIR}${PREFIX}/${FONTSDIR} |
29 |
.if !defined(NOPORTDOCS) |
31 |
@${MKDIR} ${STAGEDIR}${DOCSDIR} |
30 |
@${MKDIR} ${DOCSDIR} |
32 |
${INSTALL_DATA} ${WRKSRC}/doc/* ${STAGEDIR}${DOCSDIR} |
31 |
${INSTALL_DATA} ${WRKSRC}/doc/* ${DOCSDIR} |
|
|
32 |
.endif |
33 |
|
33 |
|
34 |
post-install: |
|
|
35 |
@${ECHO_MSG} "===> Running fc-cache" |
36 |
-${LOCALBASE}/bin/fc-cache -f -v ${FONTSDIR} |
37 |
@${ECHO_MSG} |
38 |
|
39 |
.include <bsd.port.mk> |
34 |
.include <bsd.port.mk> |