aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/roap/Makefile
blob: 00feda771e3dc1ba5dc6cbc70a9c628fb11dde37 (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
# ex:ts=8
# Ports collection Makefile for:    roap
# Date created:         Apr 15, 2002
# Whom:             ijliao
#
# $FreeBSD$
#

PORTNAME=   roap
PORTVERSION=    0.1.2
CATEGORIES= textproc python
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME=   ${PORTNAME}_${PORTVERSION}

MAINTAINER= ports@FreeBSD.org
COMMENT=    Region Oriented Ascii Processor

USE_PYTHON= yes
USE_PYDISTUTILS=    yes
WRKSRC=     ${WRKDIR}/${PORTNAME}-${PORTVERSION}
DOCS=   README README.ja USAGE USAGE.ja

post-install:
    ${INSTALL_SCRIPT} ${WRKSRC}/roap ${PREFIX}/bin
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
.for file in ${DOCS}
    ${CP} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
    @${MKDIR} ${EXAMPLESDIR}
    ${CP} -R ${WRKSRC}/examples/ ${EXAMPLESDIR}
.endif

.include <bsd.port.mk>