summaryrefslogtreecommitdiff
path: root/x11-fonts/getbdf/Makefile
blob: 123972132d8d34c348c06973561e49dc10970f41 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# New ports collection makefile for:    getbdf
# Date created:         30 August 1996
# Whom:                 ache
#
# $FreeBSD$
#

PORTNAME=	getbdf
PORTVERSION=	1.0
CATEGORIES=	x11-fonts
MASTER_SITES=   ftp://ftp.nstu.ru/pub/sources/x/fonts/utils/
DISTNAME=	${PORTNAME}
EXTRACT_SUFX=	.tar.Z

MAINTAINER=	ache@FreeBSD.org
COMMENT=	Convert any X server font to .bdf format

PLIST_FILES=	bin/getbdf
USE_PERL5_BUILD=yes
USE_X_PREFIX=	yes
NO_WRKSUBDIR=	yes
ALL_TARGET=	getbdf

pre-patch:
	@${PERL} -pi -e 's,<malloc.h>,<stdlib.h>,' \
		${WRKSRC}/Xargs.c ${WRKSRC}/getbdf.c

do-install:
	cd ${WRKSRC}; \
	${INSTALL} -c -s -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} getbdf ${PREFIX}/bin

.include <bsd.port.mk>