18ca208985
While here, create a fonts.alias. ok dcoppa@
36 lines
983 B
Makefile
36 lines
983 B
Makefile
# $OpenBSD: Makefile,v 1.2 2012/05/14 13:30:12 ajacoutot Exp $
|
|
|
|
COMMENT = monospace bitmap font for programming and terminal use
|
|
PKG_ARCH = *
|
|
DISTNAME = gohufont-2.0
|
|
CATEGORIES = fonts x11
|
|
MAINTAINER = Tobias Ulmer <tobiasu@tmux.org>
|
|
REVISION = 0
|
|
|
|
HOMEPAGE = http://font.gohu.eu
|
|
MASTER_SITES = ${HOMEPAGE}/
|
|
|
|
# WTFPLv2
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
PERMIT_PACKAGE_FTP = Yes
|
|
PERMIT_DISTFILES_CDROM = Yes
|
|
PERMIT_DISTFILES_FTP = Yes
|
|
|
|
NO_BUILD = Yes
|
|
NO_REGRESS = Yes
|
|
FONTDIR = ${PREFIX}/lib/X11/fonts/gohufont
|
|
|
|
do-install:
|
|
${X11BASE}/bin/mkfontdir ${WRKSRC}
|
|
egrep '\.pcf\.gz' ${WRKSRC}/fonts.dir | \
|
|
grep '\-gohufont-' | \
|
|
sed 's/\.pcf\.gz//g' > ${WRKSRC}/fonts.alias
|
|
${INSTALL_DATA_DIR} ${FONTDIR}
|
|
${INSTALL_DATA} ${WRKDIST}/*.pcf.gz ${FONTDIR}
|
|
${INSTALL_DATA} ${WRKBUILD}/fonts.alias ${FONTDIR}/fonts.alias-gohufont
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/gohufont
|
|
${INSTALL_DATA} ${WRKDIST}/{COPYING-LICENSE,README} \
|
|
${PREFIX}/share/doc/gohufont
|
|
|
|
.include <bsd.port.mk>
|