Add mkbold-mkitalic 0.06, a C implementation of mkbold/mkitalic.

Submitted by:	KOMATSU Shinichiro <koma2@ms.u-tokyo.ac.jp>
References:	http://home.jp.freebsd.org/cgi-bin/showmail/ports-jp/15331
Committed at:	CBUG meeting #13
Committed with:	KOMATSU Shinichiro and others.
This commit is contained in:
Norikatsu Shigemura 2005-01-22 05:31:51 +00:00
parent 1480397755
commit 6b37725d7c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=127076
5 changed files with 71 additions and 0 deletions

View File

@ -36,6 +36,7 @@
SUBDIR += linux-fontconfig
SUBDIR += linux-urw-fonts
SUBDIR += mkbold
SUBDIR += mkbold-mkitalic
SUBDIR += mkitalic
SUBDIR += mozilla-fonts
SUBDIR += nexfontsel

View File

@ -0,0 +1,26 @@
# New ports collection makefile for: mkbold-mkitalic
# Date created: Dec 28 2004
# Whom: KOMATSU Shinichiro
#
# $FreeBSD$
#
PORTNAME= mkbold-mkitalic
PORTVERSION= 0.06
CATEGORIES= x11-fonts
MASTER_SITES= http://hp.vector.co.jp/authors/VA013651/lib/
MAINTAINER= koma2@ms.u-tokyo.ac.jp
COMMENT= Programs to make BDF font bold/italic
PLIST_FILES= bin/mkbold bin/mkitalic bin/mkbolditalic
PORTDOCS= ALGORITHM ALGORITHM.eucJP LICENSE README README.eucJP
USE_BZIP2= yes
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
(cd ${WRKSRC}; ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR})
.endif
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
MD5 (mkbold-mkitalic-0.06.tar.bz2) = b55839e3a9e4f732b13905a0cdb4410c
SIZE (mkbold-mkitalic-0.06.tar.bz2) = 19589

View File

@ -0,0 +1,39 @@
--- Makefile.orig Thu Nov 4 21:44:01 2004
+++ Makefile Tue Dec 28 13:00:11 2004
@@ -1,11 +1,11 @@
# $Id$
#
-MAKE = make
-CC = gcc
-CFLAGS = -g -Wall -pedantic $(DEFS)
-LDFLAGS = -g -Wall -pedantic
+MAKE ?= make
+CC ?= gcc
+CFLAGS += -g -Wall -pedantic $(DEFS)
+LDFLAGS += -g -Wall -pedantic
DEFS = -DSTDC_HEADERS -DHAVE_STRDUP
-RM = rm -f
+RM ?= rm -f
INSTALL = install
TARGETS = mkbold mkitalic mkbolditalic
COMMON_OBJS = utils.o
@@ -16,8 +16,8 @@
PACKAGE = mkbold-mkitalic
VERSION = 0.06
DESTDIR =
-prefix = /usr/local
-bindir = ${prefix}/bin
+PREFIX ?= /usr/local
+bindir = ${PREFIX}/bin
distdir = $(PACKAGE)-$(VERSION)
.c.o:
@@ -36,7 +36,7 @@
install: all
$(INSTALL) -d -m 755 $(DESTDIR)$(bindir)
- $(INSTALL) -m 755 $(TARGETS) $(DESTDIR)$(bindir)
+ $(BSD_INSTALL_PROGRAM) $(TARGETS) $(DESTDIR)$(bindir)
dist:
tar chf - $(distdir) | bzip2 -c > $(distdir).tar.bz2

View File

@ -0,0 +1,3 @@
Programs that generates bold/italic fonts from BDF fonts.
WWW: http://hp.vector.co.jp/authors/VA013651/freeSoftware/mkbold-mkitalic_ja.html