freebsd-ports/japanese/elisa8x8/Makefile
Martin Wilke 3e4ed01146 - Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+

Thanks to all Helpers:
	Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
	ehaupt, nox, itetcu, flz, pav

PR:		116263
Tested on:	pointyhat
Approved by:	portmgr (pav)
2008-04-19 17:56:05 +00:00

62 lines
1.6 KiB
Makefile

# New ports collection makefile for: elisa8x8
# Date created: 17 Aug. 1998
# Whom: Toshihiko SHIMOKAWA <toshi@tea.forus.or.jp> & ELISA Font Project
#
# $FreeBSD$
#
PORTNAME= elisa8x8
PORTVERSION= 1.0
PORTREVISION= 2
CATEGORIES= japanese x11-fonts
MASTER_SITES= http://www.bsdbbq.org/~toshi/distfiles/
DISTNAME= elisat10
MAINTAINER= toshi@tea.forus.or.jp
COMMENT= X11 8-dot kanji font 'elisa font'
BUILD_DEPENDS= bdftopcf:${PORTSDIR}/x11-fonts/bdftopcf \
mkfontdir:${PORTSDIR}/x11-fonts/mkfontdir \
mkfontscale:${PORTSDIR}/x11-fonts/mkfontscale
.include <bsd.port.pre.mk>
NO_WRKSUBDIR= yes
BDFTOPCF_CMD= ${PREFIX}/bin/bdftopcf
MKFONTDIR_CMD= ${PREFIX}/bin/mkfontdir
FONTSDIR= lib/X11/fonts/local
INSTALLDIR= ${PREFIX}/${FONTSDIR}
DOCDIR= ${PREFIX}/share/doc/elisa
MYPORTDOCS= elisa100.doc elisat10.doc elisat10.html
PLIST_SUB= FONTSDIR=${FONTSDIR}
do-build:
@(cd ${WRKDIR}; \
${BDFTOPCF_CMD} elisat10.bdf | ${GZIP_CMD} -c > elisat10.pcf.gz ;\
${BDFTOPCF_CMD} jpnhn4-jis.bdf | ${GZIP_CMD} -c > jpnhn4-jis.pcf.gz ;\
${BDFTOPCF_CMD} jpnhn4-iso.bdf | ${GZIP_CMD} -c > jpnhn4-iso.pcf.gz ;\
)
pre-install:
@${SETENV} PKG_PREFIX=${PREFIX} \
${SH} ${PKGREQ} ${PKGNAME} INSTALL
do-install:
@${MKDIR} ${INSTALLDIR} ${DOCDIR}
@(cd ${WRKSRC} ;\
${INSTALL_DATA} elisat10.pcf.gz ${INSTALLDIR} ;\
${INSTALL_DATA} jpnhn4-jis.pcf.gz ${INSTALLDIR} ;\
${INSTALL_DATA} jpnhn4-iso.pcf.gz ${INSTALLDIR} ;\
)
post-install:
@(cd ${PREFIX}/${FONTSDIR} ; mkfontdir)
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCDIR}
@(cd ${WRKSRC} ;\
${INSTALL_DATA} ${MYPORTDOCS} ${DOCDIR} ;\
)
.endif
.include <bsd.port.post.mk>