aboutsummaryrefslogtreecommitdiff
path: root/x11-fm/cfm/Makefile
blob: 5eb62976bf5b9c2700ce29091634485c1d531b7b (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:	cfm
# Date created:				23 June 2001
# Whom:					petef@FreeBSD.org
#
# $FreeBSD$
#

PORTNAME=	cfm
PORTVERSION=	0.5
PORTREVISION=	3
CATEGORIES=	x11-fm
MASTER_SITES=	${MASTER_SITE_LOCAL} \
		http://www.rpi.edu/~mullr/cfm/dist/
MASTER_SITE_SUBDIR=	petef

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Quick Perl/Tk file manager with support for regular expressions

RUN_DEPENDS=	${SITE_PERL}/${PERL_ARCH}/Tk.pm:${PORTSDIR}/x11-toolkits/p5-Tk

NO_BUILD=	yes
USE_PERL5=	yes

post-patch:
	@${PERL} -pi -e 's|#!/usr/bin/perl|#!${PERL}|' ${WRKSRC}/cfm

do-install:
	${INSTALL_SCRIPT} ${WRKSRC}/cfm ${PREFIX}/bin
	@${MKDIR} ${PREFIX}/share/examples/cfm
	${INSTALL_DATA} ${WRKSRC}/example.cfmrc \
		${PREFIX}/share/examples/cfm/dot.cfmrc

.include <bsd.port.mk>