aboutsummaryrefslogtreecommitdiff
path: root/misc/clex
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 /misc/clex
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 'misc/clex')
-rw-r--r--misc/clex/Makefile12
1 files changed, 5 insertions, 7 deletions
diff --git a/misc/clex/Makefile b/misc/clex/Makefile
index 56eb1013e533..021f086792e2 100644
--- a/misc/clex/Makefile
+++ b/misc/clex/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: CLEX File Manager
-# Date created: Tue Oct 30, 2002
-# Whom: Michael L. Hostbaek <mich@freebsdcluster.org>
-#
+# Created by: Michael L. Hostbaek <mich@freebsdcluster.org>
# $FreeBSD$
-#
PORTNAME= clex
PORTVERSION= 4.6.4
@@ -16,8 +12,8 @@ COMMENT= A command line file manager
LICENSE= GPLv2
GNU_CONFIGURE= yes
+USES= ncurses
USE_GMAKE= yes
-USE_NCURSES= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
@@ -30,7 +26,9 @@ post-patch:
@${REINPLACE_CMD} -e '18s,^,#include <stdio.h>,' \
${WRKSRC}/src/preview.c
-.if !defined(NOPORTDOCS)
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MDOCS}
post-install:
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}