aboutsummaryrefslogtreecommitdiffstats
path: root/devel/newfile/Makefile
blob: f13181cbc56108d5f397445c45ce5c93c89126cf (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
# New ports collection makefile for:    newfile
# Date created:             Thu Jan 30 17:34:12 CET 2003
# Whom:                 Miguel Mendez <flynn@energyhq.homeip.net>
#
# $FreeBSD$
#

PORTNAME=   newfile
PORTVERSION=    1.0.13
CATEGORIES= devel
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}

MAINTAINER= ports@FreeBSD.org
COMMENT=    A tool for creating starter files in various languages

BUILD_DEPENDS+= dot:${PORTSDIR}/graphics/graphviz
BUILD_DEPENDS+= rdoc:${PORTSDIR}/textproc/ruby-rdoc
BUILD_DEPENDS+= /usr/local/bin/perl:${PORTSDIR}/lang/perl5

USE_RUBY=   yes
USE_REINPLACE=  yes
GNU_CONFIGURE=  yes
USE_PERL=   yes

.if !defined(NOPORTDOCS)
MAN1=       newfile.1
.endif

pre-configure:
.if defined(NOPORTDOCS)
    @${REINPLACE_CMD} -e 's@SUBDIRS = src doc data doc-src www@SUBDIRS = src data@g' \
    ${WRKSRC}/Makefile.in
.endif

.include <bsd.port.mk>