Lines 1-5
Link Here
|
1 |
# New ports collection makefile for: k12font |
1 |
# New ports collection makefile for: k12font |
2 |
# Version required: 1.0 |
2 |
# Version required: 1.1 |
3 |
# Date created: 24 June 1996 |
3 |
# Date created: 24 June 1996 |
4 |
# Whom: Mita Yoshio <mita@jp.FreeBSD.org> |
4 |
# Whom: Mita Yoshio <mita@jp.FreeBSD.org> |
5 |
# |
5 |
# |
Lines 7-25
Link Here
|
7 |
# |
7 |
# |
8 |
|
8 |
|
9 |
DISTNAME= kaname_k12_bdf |
9 |
DISTNAME= kaname_k12_bdf |
10 |
PKGNAME= ja-kaname12-1.0 |
10 |
PKGNAME= ja-kaname12-1.1 |
11 |
CATEGORIES= japanese x11-fonts |
11 |
CATEGORIES= japanese x11-fonts |
12 |
MASTER_SITES= ${MASTER_SITE_PORTS_JP} |
12 |
MASTER_SITES= ${MASTER_SITE_PORTS_JP} \ |
|
|
13 |
http://www.din.or.jp/~storm/fonts/ |
14 |
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} knm_new_linux.tar.gz |
13 |
|
15 |
|
14 |
MAINTAINER= mita@jp.FreeBSD.org |
16 |
MAINTAINER= mita@jp.FreeBSD.org |
15 |
|
17 |
|
16 |
USE_X_PREFIX= yes |
18 |
USE_X_PREFIX= yes |
17 |
NO_WRKSUBDIR= yes |
19 |
|
|
|
20 |
WRKSRC= ${WRKDIR}/fonts |
21 |
EXTRACT_ONLY= knm_new_linux.tar.gz |
18 |
|
22 |
|
19 |
FONTSDIR= lib/X11/fonts/local |
23 |
FONTSDIR= lib/X11/fonts/local |
20 |
MAKE_ENV= FONTSDIR=${FONTSDIR} |
24 |
MAKE_ENV= FONTSDIR=${FONTSDIR} |
21 |
PLIST_SUB= FONTSDIR=${FONTSDIR} |
25 |
PLIST_SUB= FONTSDIR=${FONTSDIR} |
22 |
|
26 |
|
|
|
27 |
post-extract: |
28 |
@${TAR} -C ${WRKSRC} -xzf ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} |
29 |
|
23 |
pre-install: |
30 |
pre-install: |
24 |
@${SETENV} PKG_PREFIX=${PREFIX} \ |
31 |
@${SETENV} PKG_PREFIX=${PREFIX} \ |
25 |
${SH} ${PKGDIR}/REQ ${PKGNAME} INSTALL |
32 |
${SH} ${PKGDIR}/REQ ${PKGNAME} INSTALL |
Lines 28-35
Link Here
|
28 |
@(cd ${PREFIX}/${FONTSDIR} ; mkfontdir) |
35 |
@(cd ${PREFIX}/${FONTSDIR} ; mkfontdir) |
29 |
.if !defined(NOPORTDOCS) |
36 |
.if !defined(NOPORTDOCS) |
30 |
@${MKDIR} ${PREFIX}/share/doc/k12 |
37 |
@${MKDIR} ${PREFIX}/share/doc/k12 |
31 |
@${CP} ${WRKSRC}/readme.kaname_bdf ${PREFIX}/share/doc/k12 |
38 |
@${INSTALL_DATA} ${WRKSRC}/readme ${PREFIX}/share/doc/k12 |
32 |
@${CP} ${WRKSRC}/doc.orig/* ${PREFIX}/share/doc/k12 |
39 |
@${INSTALL_DATA} ${WRKSRC}/readme.kaname_bdf ${PREFIX}/share/doc/k12 |
|
|
40 |
@${INSTALL_DATA} ${WRKSRC}/doc.orig/* ${PREFIX}/share/doc/k12 |
33 |
.endif |
41 |
.endif |
34 |
|
42 |
|
35 |
.include <bsd.port.mk> |
43 |
.include <bsd.port.mk> |