2009-02-02 06:19:21 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.20 2009/02/02 11:19:21 sthen Exp $
|
2003-04-16 07:39:04 -04:00
|
|
|
|
2007-07-22 04:02:45 -04:00
|
|
|
COMMENT= fixed width fonts especially for long hacking sessions
|
2003-04-16 07:39:04 -04:00
|
|
|
|
2008-11-05 13:28:37 -05:00
|
|
|
DISTNAME= terminus-font-4.28
|
2009-02-02 06:19:21 -05:00
|
|
|
PKGNAME= ${DISTNAME}p1
|
2003-04-16 07:39:04 -04:00
|
|
|
CATEGORIES= x11
|
|
|
|
|
2008-11-05 13:28:37 -05:00
|
|
|
HOMEPAGE= http://www.is-vn.bg/hamster/
|
2009-01-04 19:58:07 -05:00
|
|
|
DISTFILES= ${DISTNAME}.tar.gz
|
2003-04-16 07:39:04 -04:00
|
|
|
|
2005-03-08 05:03:05 -05:00
|
|
|
MAINTAINER= Victor Sahlstedt <salan@legonet.org>
|
|
|
|
|
2009-01-24 12:58:44 -05:00
|
|
|
# GPLv2+
|
2003-04-16 07:39:04 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2008-11-05 13:28:37 -05:00
|
|
|
MASTER_SITES= ${HOMEPAGE}
|
2003-04-16 07:39:04 -04:00
|
|
|
|
|
|
|
CONFIGURE_STYLE= simple
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
USE_X11= Yes
|
|
|
|
|
2009-02-02 06:19:21 -05:00
|
|
|
ALL_TARGET= n12
|
2003-04-16 07:39:04 -04:00
|
|
|
|
|
|
|
FONTDIR= ${PREFIX}/lib/X11/fonts/terminus
|
|
|
|
|
2009-01-04 19:58:07 -05:00
|
|
|
FLAVORS= symquotes
|
|
|
|
FLAVOR?=
|
|
|
|
|
|
|
|
.if ${FLAVOR:L:Msymquotes}
|
|
|
|
DISTFILES+= ${DISTNAME}-gq2.diff.gz
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
${PATCH} -d ${WRKSRC} < ${WRKDIR}/${DISTNAME}-gq2.diff
|
|
|
|
.endif
|
|
|
|
|
2003-04-16 07:39:04 -04:00
|
|
|
do-install:
|
|
|
|
${GZIP_CMD} ${WRKSRC}/*.pcf
|
2007-07-22 04:02:45 -04:00
|
|
|
${X11BASE}/bin/mkfontdir ${WRKSRC}
|
|
|
|
egrep '\.pcf\.gz' ${WRKSRC}/fonts.dir | \
|
|
|
|
sed 's/\.pcf\.gz//g' > ${WRKSRC}/fonts.alias
|
2003-04-16 07:39:04 -04:00
|
|
|
${INSTALL_DATA_DIR} ${FONTDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/*.pcf.gz ${FONTDIR}
|
2007-07-22 04:02:45 -04:00
|
|
|
${INSTALL_DATA} ${WRKBUILD}/fonts.alias ${FONTDIR}/fonts.alias-terminus
|
2003-04-16 07:39:04 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|