View | Details | Raw Unified | Return to bug 190782
Collapse All | Expand All

(-)Makefile (-13 / +8 lines)
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>
(-)pkg-plist (-1 / +1 lines)
Lines 9-14 Link Here
9
%%PORTDOCS%%%%DOCSDIR%%/homer_sample.pdf
9
%%PORTDOCS%%%%DOCSDIR%%/homer_sample.pdf
10
%%PORTDOCS%%%%DOCSDIR%%/homer_sample.tex
10
%%PORTDOCS%%%%DOCSDIR%%/homer_sample.tex
11
%%PORTDOCS%%@dirrm %%DOCSDIR%%
11
%%PORTDOCS%%@dirrm %%DOCSDIR%%
12
@exec %%LOCALBASE%%/bin/fc-cache -f -v %%FONTSDIR%% || /usr/bin/true
13
@unexec /bin/rm %D/%%FONTSDIR%%/fonts.cache-1 2>/dev/null || /usr/bin/true
12
@unexec /bin/rm %D/%%FONTSDIR%%/fonts.cache-1 2>/dev/null || /usr/bin/true
14
@dirrm %%FONTSDIR%%
13
@dirrm %%FONTSDIR%%
14
@exec %%LOCALBASE%%/bin/fc-cache -f -v %D/%%FONTSDIR%% 2>/dev/null || /usr/bin/true

Return to bug 190782