aboutsummaryrefslogtreecommitdiffstats
path: root/converters/cocot/Makefile
blob: bd6778ce4ec66d6049e9d06d0ccae9860e1df624 (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
# 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}
EXTRACT_SUFX=   .zip

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

OPTIONS_DEFINE= DOCS

USES=       iconv
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>