aboutsummaryrefslogtreecommitdiffstats
path: root/misc/clex
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2013-05-06 23:34:17 +0800
committerbapt <bapt@FreeBSD.org>2013-05-06 23:34:17 +0800
commit8125658176eb2b6a00216bc61058e31e8d19d160 (patch)
tree5b19e4fae39149280653cc670bc170d039477f8e /misc/clex
parent4ca6469bebf737a13fe9257550d791b2fdc61200 (diff)
downloadfreebsd-ports-gnome-8125658176eb2b6a00216bc61058e31e8d19d160.tar.gz
freebsd-ports-gnome-8125658176eb2b6a00216bc61058e31e8d19d160.tar.zst
freebsd-ports-gnome-8125658176eb2b6a00216bc61058e31e8d19d160.zip
Convert USE_NCURSES by USES=ncurses
Convert USE_READLINE by USES=readline
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}