aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fonts/nexfontsel/Makefile
blob: fc6491c82a05c0869e0f02ee58fdbb6d695163e7 (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
33
# 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

NO_STAGE=   yes
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>