aboutsummaryrefslogtreecommitdiffstats
path: root/converters/cocot/Makefile
blob: f06b33c47368407684f5171eb9e0eb2a9b726aa1 (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
# New ports collection makefile for:    cocot
# Date created:     24 July 2007
# Whom:         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

USE_ZIP=    yes
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:
.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}
    ${MKDIR} ${DOCSDIR}/ja
.for f in ${DOCS_EN}
    ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
.endfor
.for f in ${DOCS_JA}
    ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/ja
.endfor
.endif

.include <bsd.port.mk>