aboutsummaryrefslogtreecommitdiff
path: root/sysutils/cdls
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-05-06 15:34:17 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-05-06 15:34:17 +0000
commit9f1de9b900c064307cc328ec436f07477dfaa7f0 (patch)
tree5b19e4fae39149280653cc670bc170d039477f8e /sysutils/cdls
parent296877462b8b100e9f83f9c6aa6ed4bff34c6def (diff)
downloadports-9f1de9b900c064307cc328ec436f07477dfaa7f0.tar.gz
ports-9f1de9b900c064307cc328ec436f07477dfaa7f0.zip
Convert USE_NCURSES by USES=ncurses
Convert USE_READLINE by USES=readline
Notes
Notes: svn path=/head/; revision=317525
Diffstat (limited to 'sysutils/cdls')
-rw-r--r--sysutils/cdls/Makefile14
1 files changed, 6 insertions, 8 deletions
diff --git a/sysutils/cdls/Makefile b/sysutils/cdls/Makefile
index fc7f25030a1f..8941fd96e829 100644
--- a/sysutils/cdls/Makefile
+++ b/sysutils/cdls/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: cdls
-# Date created: 13 april 2012
-# Whom: Hans de Hartog <hans@dehartog.nl>
-#
+# Created by: Hans de Hartog <hans@dehartog.nl>
# $FreeBSD$
-#
PORTNAME= cdls
PORTVERSION= 4.2
@@ -15,9 +11,11 @@ COMMENT= A curses based file manager for system managers
PLIST_FILES= bin/cdls
-USE_NCURSES= yes
+USES= ncurses
-.if defined(WITH_NCURSES_BASE)
+.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
@@ -25,4 +23,4 @@ CONFIGURE_ARGS+= NCURSES_CONFIG=/usr/bin/true
post-patch:
@${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|g' ${WRKSRC}/Makefile
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>