mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-29 21:39:24 +00:00
7acef1cd7a
spelled out (many of which are ${PKGDIR}/MESSAGE -> ${PKGMESSAGE} type fixes that shouldn't have been necessary) and the string "/pkg/" appear.
43 lines
1.0 KiB
Makefile
43 lines
1.0 KiB
Makefile
# New ports collection makefile for: kappafont
|
|
# Date created: 8 Oct 1998
|
|
# Whom: Kawaguti Ginga <ginga@athena.club.ne.jp>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= kappa20
|
|
PORTVERSION= 0.3
|
|
CATEGORIES= japanese x11-fonts
|
|
MASTER_SITES= ftp://ftp.jaist.ac.jp/pub/misc/character/fonts/kappa/
|
|
DISTNAME= Kappa20-${PORTVERSION}
|
|
|
|
MAINTAINER= ginga@athena.club.ne.jp
|
|
|
|
USE_X_PREFIX= yes
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${XFREE86_VERSION} == 4
|
|
RUN_DEPENDS= mkfontdir:${PORTSDIR}/x11/XFree86-4-clients
|
|
.endif
|
|
|
|
ALL_TARGET= default
|
|
FONTSDIR= lib/X11/fonts/local
|
|
MAKE_ENV= INSTALL_DATA="${INSTALL_DATA}"
|
|
MAKE_ARGS= TARGETDIR="${PREFIX}/${FONTSDIR}"
|
|
PLIST_SUB= FONTSDIR=${FONTSDIR}
|
|
|
|
pre-install:
|
|
@${SETENV} PKG_PREFIX=${PREFIX} \
|
|
${SH} ${PKGREQ} ${PKGNAME} INSTALL
|
|
|
|
post-install:
|
|
@(cd ${PREFIX}/${FONTSDIR} ; mkfontdir)
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${PREFIX}/share/doc/kappa20
|
|
@${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/README ${PREFIX}/share/doc/kappa20/
|
|
@${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/pcf/fonts.alias.kappa ${PREFIX}/share/doc/kappa20/
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|