aboutsummaryrefslogtreecommitdiffstats
path: root/converters/cocot/Makefile
blob: 0be115cd153a925037dcae31573ca1f0f01b5c4d (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
# Created by: Akinori MUSHA aka knu <knu@idaemons.org>
# $FreeBSD$

PORTNAME=   cocot
PORTVERSION=    20120313
CATEGORIES= converters
MASTER_SITES=   ftp://ftp.iDaemons.org/pub/distfiles/ \
        ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= knu
DISTNAME=   ${PORTNAME}-1.1-${PORTVERSION}

MAINTAINER= knu@FreeBSD.org
COMMENT=    Code Converter on TTY

LICENSE=    BSD3CLAUSE

OPTIONS_DEFINE= DOCS

USES=       iconv zip
WRKSRC=     ${WRKDIR}/vmi-${PORTNAME}-8bc9f64
GNU_CONFIGURE=  yes

CPPFLAGS+=  -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib

DOCS_EN=    COPYING ChangeLog
DOCS_JA=    ChangeLog.ja README.ja

post-install:
    ${MKDIR} ${STAGEDIR}${DOCSDIR}/ja
.for f in ${DOCS_EN}
    ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
.endfor
.for f in ${DOCS_JA}
    ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}/ja
.endfor

.include <bsd.port.mk>