aboutsummaryrefslogtreecommitdiff
path: root/sysutils/dim/Makefile
blob: 8be5db8705c75855a40d18934db4d29a37cc0196 (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
# New ports collection makefile for:	dim
# Date created:			Apr 13, 2001
# Whom:				Mark Pulford <mark@kyne.com.au>
#
# $FreeBSD$
#

PORTNAME=	dim
PORTVERSION=	1.1
CATEGORIES=	sysutils
MASTER_SITES=	http://www.theory.org/~matt/dim/
DISTNAME=	dim
EXTRACT_SUFX=	.tar

MAINTAINER=	markp@FreeBSD.org
COMMENT=	A directory lister which sorts the file list in 2D

USE_PERL5_RUN=	yes
NO_WRKSUBDIR=	yes
NO_BUILD=	yes
USE_REINPLACE=	yes

post-patch:
	${REINPLACE_CMD} -E "s|^#!.+|#!${PERL}|" ${WRKSRC}/dim.pl

do-install:
	${INSTALL_SCRIPT} ${WRKSRC}/dim.pl ${PREFIX}/bin/dim

.include <bsd.port.mk>