1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-04 06:15:24 +00:00
freebsd-ports/japanese/font-ayu20/Makefile
Mathieu Arnold 065c026fe5 Fix ports that confused the meaning of WRKDIR and WRKSRC.
PR:		204056
Submitted by:	mat
Reviewed by:	bapt
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D2735
2015-11-05 12:36:25 +00:00

45 lines
1007 B
Makefile

# $FreeBSD$
PORTNAME= ayu20
PORTVERSION= 1.7.a
CATEGORIES= japanese x11-fonts
MASTER_SITES= SFJP/x-tt/8536/
PKGNAMEPREFIX= ja-font-
DISTNAME= ayu20gothic-1.7a
MAINTAINER= hrs@FreeBSD.org
COMMENT= Ayu 20-dot Kanji font
BUILD_DEPENDS= mkitalic:${PORTSDIR}/x11-fonts/mkbold-mkitalic \
bdftopcf:${PORTSDIR}/x11-fonts/bdftopcf
CONFLICS= ja-kappa20-[0-9]*
USES= fonts
FONTNAME= misc
NO_ARCH= yes
NO_WRKSUBDIR= yes
SUB_FILES= Makefile pkg-install
SUB_LIST= FONTSALIAS="${DATADIR}/fonts.alias"
PKGINSTALL= ${WRKDIR}/pkg-install
PKGDEINSTALL= ${WRKDIR}/pkg-install
PORTDOCS= README.txt
MAKEFILE= ${WRKDIR}/Makefile
OPTIONS_DEFINE= DOCS
pre-build: apply-slist
post-install:
@${MKDIR} ${STAGEDIR}${FONTSDIR}
cd ${STAGEDIR}${FONTSDIR} && \
${LN} -s ../../../${DATADIR_REL}/*.pcf.gz .
${INSTALL_DATA} ${FILESDIR}/fonts.alias \
${STAGEDIR}${DATADIR}
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>