diff options
author | nork <nork@FreeBSD.org> | 2005-01-22 13:31:51 +0800 |
---|---|---|
committer | nork <nork@FreeBSD.org> | 2005-01-22 13:31:51 +0800 |
commit | 6fed16f1caa70e91b2a73ff3dd1147aa70451c64 (patch) | |
tree | 122e9275b6c3e50ce1e5c90db07cd39afe9c5225 /x11-fonts | |
parent | b40f19321b714cf64d4a68c88facb0f981796641 (diff) | |
download | freebsd-ports-gnome-6fed16f1caa70e91b2a73ff3dd1147aa70451c64.tar.gz freebsd-ports-gnome-6fed16f1caa70e91b2a73ff3dd1147aa70451c64.tar.zst freebsd-ports-gnome-6fed16f1caa70e91b2a73ff3dd1147aa70451c64.zip |
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.
Diffstat (limited to 'x11-fonts')
-rw-r--r-- | x11-fonts/Makefile | 1 | ||||
-rw-r--r-- | x11-fonts/mkbold-mkitalic/Makefile | 26 | ||||
-rw-r--r-- | x11-fonts/mkbold-mkitalic/distinfo | 2 | ||||
-rw-r--r-- | x11-fonts/mkbold-mkitalic/files/patch-Makefile | 39 | ||||
-rw-r--r-- | x11-fonts/mkbold-mkitalic/pkg-descr | 3 |
5 files changed, 71 insertions, 0 deletions
diff --git a/x11-fonts/Makefile b/x11-fonts/Makefile index a082fdd0a6da..0c0ff3823d07 100644 --- a/x11-fonts/Makefile +++ b/x11-fonts/Makefile @@ -36,6 +36,7 @@ SUBDIR += linux-fontconfig SUBDIR += linux-urw-fonts SUBDIR += mkbold + SUBDIR += mkbold-mkitalic SUBDIR += mkitalic SUBDIR += mozilla-fonts SUBDIR += nexfontsel diff --git a/x11-fonts/mkbold-mkitalic/Makefile b/x11-fonts/mkbold-mkitalic/Makefile new file mode 100644 index 000000000000..8efc463d9f5f --- /dev/null +++ b/x11-fonts/mkbold-mkitalic/Makefile @@ -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> diff --git a/x11-fonts/mkbold-mkitalic/distinfo b/x11-fonts/mkbold-mkitalic/distinfo new file mode 100644 index 000000000000..8659a732740c --- /dev/null +++ b/x11-fonts/mkbold-mkitalic/distinfo @@ -0,0 +1,2 @@ +MD5 (mkbold-mkitalic-0.06.tar.bz2) = b55839e3a9e4f732b13905a0cdb4410c +SIZE (mkbold-mkitalic-0.06.tar.bz2) = 19589 diff --git a/x11-fonts/mkbold-mkitalic/files/patch-Makefile b/x11-fonts/mkbold-mkitalic/files/patch-Makefile new file mode 100644 index 000000000000..ca3cab63fef1 --- /dev/null +++ b/x11-fonts/mkbold-mkitalic/files/patch-Makefile @@ -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 diff --git a/x11-fonts/mkbold-mkitalic/pkg-descr b/x11-fonts/mkbold-mkitalic/pkg-descr new file mode 100644 index 000000000000..a918b1e3d54a --- /dev/null +++ b/x11-fonts/mkbold-mkitalic/pkg-descr @@ -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 |