blob: 4459567ad962609f309af84e897fc79f6cec0b91 (
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
|
# ex:ts=8
# New ports collection makefile for: perltidy
# Date created: Mar 4, 2001
# Whom: Ying-Chieh Liao <ijliao@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= perltidy
PORTVERSION= 20010723
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
EXTRACT_SUFX= .tgz
MAINTAINER= ijliao@FreeBSD.org
USE_PERL5= yes
NO_BUILD= yes
MAN1= perltidy.1 perl2web.1
post-patch:
@${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g ; \
s|%%MANPREFIX%%|${MANPREFIX}|g" ${WRKSRC}/Makefile
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/doc/perltidy
.for file in perltidy perl2web tutorial
.for ext in html txt
${CP} ${WRKSRC}/docs/${file}.${ext} ${PREFIX}/share/doc/perltidy/
.endfor
.endfor
.endif
.include <bsd.port.mk>
|