aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/dim/Makefile
blob: 3ac01e5ffaf42c6235714d08cd05e65a2d9ea5a0 (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= ports@FreeBSD.org
COMMENT=    A directory lister which sorts the file list in 2D

USE_PERL5_RUN=  yes
NO_WRKSUBDIR=   yes
NO_BUILD=   yes
PLIST_FILES=    bin/dim

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

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

.include <bsd.port.mk>