aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/cdls/Makefile
blob: 06e56e0c787ab4387bfad6791c7c7e6cb605f974 (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
# Created by: Hans de Hartog <hans@dehartog.nl>
# $FreeBSD$

PORTNAME=   cdls
PORTVERSION=    4.2
CATEGORIES= sysutils
MASTER_SITES=   ftp://pd7w.fs2a.eu/

MAINTAINER= hans@dehartog.nl
COMMENT=    Curses based file manager for system managers

PLIST_FILES=    bin/cdls

USES=       ncurses

.include <bsd.port.pre.mk>

.if ${NCURSESBASE} == /usr
# no need to use ncurses-config if we use ncurses from the base system
CONFIGURE_ARGS+=    NCURSES_CONFIG=/usr/bin/true
.endif

post-patch:
    @${REINPLACE_CMD} -e 's|/usr/local|${STAGEDIR}${PREFIX}|g' ${WRKSRC}/Makefile

.include <bsd.port.post.mk>