aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fonts/getbdf/Makefile
blob: e61eeaa349a6bc9feeb498eb0546adebb5bb9abe (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=   http://www.netsw.org/x11/tools/internal/
DISTNAME=   ${PORTNAME}
EXTRACT_SUFX=   .tar.gz

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>