1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-05 22:43:24 +00:00
freebsd-ports/japanese/kappa20/Makefile
Akinori MUSHA edcf8b3594 Update with the new PORT{NAME,VERSION}/PKGNAME{PRE,SUF}FIX variables.
Now try to use those variables everywhere around DIST* and PATCH*
definitions as far as possible, for ease of the future updates and the
neatness.

Okay, 60% of `japanese' ports have been done. :)
2000-04-11 14:15:53 +00:00

36 lines
940 B
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
ALL_TARGET= default
USE_X_PREFIX= yes
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} ${PKGDIR}/REQ ${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.mk>