Import sysutils/bdfresize.
Bdfresize is a command to magnify or reduce fonts which are described with the standard BDF format. OK awolk@
This commit is contained in:
parent
4d2fe8507f
commit
a13711d777
25
sysutils/bdfresize/Makefile
Normal file
25
sysutils/bdfresize/Makefile
Normal file
@ -0,0 +1,25 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2017/06/13 21:46:16 fcambus Exp $
|
||||
|
||||
COMMENT = tool for resizing BDF format fonts
|
||||
|
||||
DISTNAME = bdfresize-1.5
|
||||
|
||||
CATEGORIES = sysutils
|
||||
|
||||
MAINTAINER = Frederic Cambus <fcambus@openbsd.org>
|
||||
|
||||
# GPLv2+
|
||||
PERMIT_PACKAGE_CDROM = Yes
|
||||
|
||||
WANTLIB += c
|
||||
|
||||
MASTER_SITES = http://openlab.ring.gr.jp/efont/dist/tools/bdfresize/
|
||||
|
||||
CONFIGURE_STYLE = gnu
|
||||
|
||||
post-configure:
|
||||
# Do not build embedded getopt
|
||||
@sed -i 's|"getopt.h"|<getopt.h>|' ${WRKSRC}/bdfresize.c
|
||||
@sed -i 's|charresize.o getopt.o|charresize.o|' ${WRKSRC}/Makefile
|
||||
|
||||
.include <bsd.port.mk>
|
2
sysutils/bdfresize/distinfo
Normal file
2
sysutils/bdfresize/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (bdfresize-1.5.tar.gz) = RAz8BiCgI35GNSwUoHdMqj8wWXWbCiDe/vyU6EkIl6Y=
|
||||
SIZE (bdfresize-1.5.tar.gz) = 50916
|
15
sysutils/bdfresize/patches/patch-charresize_c
Normal file
15
sysutils/bdfresize/patches/patch-charresize_c
Normal file
@ -0,0 +1,15 @@
|
||||
$OpenBSD: patch-charresize_c,v 1.1.1.1 2017/06/13 21:46:16 fcambus Exp $
|
||||
|
||||
Fix conflicting types for 'malloc' error.
|
||||
|
||||
Index: charresize.c
|
||||
--- charresize.c.orig
|
||||
+++ charresize.c
|
||||
@@ -46,7 +46,6 @@ static int bit[8] = { 0x80, 0x40, 0x20, 0x10, 0x08, 0x
|
||||
void
|
||||
processChar(void)
|
||||
{
|
||||
- char *malloc();
|
||||
char *srcimage;
|
||||
int *dstgray;
|
||||
|
2
sysutils/bdfresize/pkg/DESCR
Normal file
2
sysutils/bdfresize/pkg/DESCR
Normal file
@ -0,0 +1,2 @@
|
||||
Bdfresize is a command to magnify or reduce fonts which are described
|
||||
with the standard BDF format.
|
3
sysutils/bdfresize/pkg/PLIST
Normal file
3
sysutils/bdfresize/pkg/PLIST
Normal file
@ -0,0 +1,3 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2017/06/13 21:46:16 fcambus Exp $
|
||||
@bin bin/bdfresize
|
||||
@man man/man1/bdfresize.1
|
Loading…
Reference in New Issue
Block a user