aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/txt2html/Makefile
blob: 297948bfea67d24be72665b6b2c41afb2569b504 (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
# New ports collection makefile for:    txt2html
# Date created:         29 Jun 1998
# Whom:                 Don Croyle <croyle@gelemna.org>
#
# $FreeBSD$
#

PORTNAME=   txt2html
PORTVERSION=    2.23
CATEGORIES= textproc perl5
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= txt2html

MAINTAINER= ports@FreeBSD.org
COMMENT=    Convert raw text to something with a little HTML formatting

BUILD_DEPENDS=  ${SITE_PERL}/Getopt/ArgvFile.pm:${PORTSDIR}/devel/p5-Getopt-ArgvFile
RUN_DEPENDS=    ${BUILD_DEPENDS}

PERL_CONFIGURE= yes

MAN1=   txt2html.1
MAN3=   HTML::TextToHTML.3

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} < 500601
BUILD_DEPENDS+= ${SITE_PERL}/Pod/Usage.pm:${PORTSDIR}/textproc/p5-PodParser \
        ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec
RUN_DEPENDS=    ${BUILD_DEPENDS}
.endif

.include <bsd.port.post.mk>