aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/dim/Makefile
blob: 67a4d12d5e6e32d08c8b0c6120feed27a2f2d699 (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
# 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
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>