aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fonts/nexfontsel/Makefile
blob: 12b47f325522c11d23aae0c90f29f1e7aa9cb71c (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
# Created by: Satoshi TAOKA <taoka@FreeBSD.org>
# $FreeBSD$

PORTNAME=   nexfontsel
PORTVERSION=    3.0.1
PORTREVISION=   3
CATEGORIES= x11-fonts
MASTER_SITES=   http://www.netlab.is.tsukuba.ac.jp/~yokota/archive/ \
        ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= pav
DISTNAME=   NeXFontSel-${PORTVERSION}

MAINTAINER= ports@FreeBSD.org
COMMENT=    NeXtaw based replacement for xfontsel

LIB_DEPENDS=    neXtaw:${PORTSDIR}/x11-toolkits/neXtaw

USES=       imake
USE_XORG=   xaw

MAN1=       nexfontsel.1

post-patch:
    @${REINPLACE_CMD} -e 's|^CDEBUG|XCOMM CDEBUG|g ; \
        s|= XawClientLibs|= -lneXtaw|g' ${WRKSRC}/Imakefile

post-install:
    @${MKDIR} ${PREFIX}/lib/X11/ja_JP.eucJP/app-defaults
    ${INSTALL_DATA} ${WRKSRC}/NeXFontSel-ja.ad \
        ${PREFIX}/lib/X11/ja_JP.eucJP/app-defaults/NeXFontSel

.include <bsd.port.mk>