aboutsummaryrefslogtreecommitdiffstats
path: root/misc/kcd-devel/Makefile
blob: 9476f781b7636449e5993a94fc823339a8388d42 (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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# New ports collection makefile for:    kcd-devel
# Date created:             5 May 1999
# Whom:                 Andrey Zakhvatov
#
# $FreeBSD$
#

PORTNAME=   kcd-devel
PORTVERSION=    7.11.0
CATEGORIES= misc
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= kcd
DISTNAME=   kcd-${PORTVERSION}

MAINTAINER= ports@FreeBSD.org
COMMENT=    Change directory in full-screen visual mode

USE_GETTEXT=    yes
USE_PERL5=  yes
GNU_CONFIGURE=  yes
CONFIGURE_TARGET=   --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib -lintl"

MAN1=       kcd.1

.include <bsd.port.pre.mk>

.if ${OSVERSION} > 700013
IGNORE=     allocates an infinite amount of memory in configure script
.endif

do-install:
    ${INSTALL_SCRIPT} ${WRKSRC}/kcd-inst ${PREFIX}/bin
    ${INSTALL_SCRIPT} ${WRKSRC}/kcdscr ${PREFIX}/bin
    ${INSTALL_PROGRAM} ${WRKSRC}/kcdmain ${PREFIX}/bin
    ${INSTALL_MAN} ${WRKSRC}/kcd.1 ${MANPREFIX}/man/man1
.for i in en_GB en_GB.UTF-8 en_US.UTF-8
    @${MKDIR} ${PREFIX}/share/locale/${i}/LC_MESSAGES
    ${INSTALL_DATA} ${WRKSRC}/po/${i}.gmo \
        ${PREFIX}/share/locale/${i}/LC_MESSAGES/kcd.mo
.endfor
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
    @${MKDIR} ${EXAMPLESDIR}
    ${INSTALL_DATA} ${WRKSRC}/kcd.csh.init ${EXAMPLESDIR}
    ${INSTALL_DATA} ${WRKSRC}/kcd.sh.init ${EXAMPLESDIR}
.endif

.include <bsd.port.post.mk>