summaryrefslogtreecommitdiff
path: root/misc/clex
diff options
context:
space:
mode:
authorMichael Landin <mich@FreeBSD.org>2008-02-04 20:24:04 +0000
committerMichael Landin <mich@FreeBSD.org>2008-02-04 20:24:04 +0000
commit28c0c1ed2e10864666dbf0e7aa7e82ba17163402 (patch)
tree7b0e474a3e9fd087568babb4469aab03807c1a59 /misc/clex
parentLink with libthr when available. This should fix the CPU consumption (diff)
- Updated to 3.17;
- Updated MASTER_SITES; - Now using pkg-plist; - Now respect PORTDOCS. Submitted by: Felippe de Meirelles Motta <lippemail@gmail.com> PR: ports/120139
Notes
Notes: svn path=/head/; revision=206727
Diffstat (limited to 'misc/clex')
-rw-r--r--misc/clex/Makefile25
-rw-r--r--misc/clex/distinfo6
-rw-r--r--misc/clex/pkg-plist8
3 files changed, 31 insertions, 8 deletions
diff --git a/misc/clex/Makefile b/misc/clex/Makefile
index 011156f4281c..50706291fa17 100644
--- a/misc/clex/Makefile
+++ b/misc/clex/Makefile
@@ -6,10 +6,9 @@
#
PORTNAME= clex
-PORTVERSION= 3.16
+PORTVERSION= 3.17
CATEGORIES= misc
-MASTER_SITES= http://www.clex.sk/download/ \
- http://freebsdcluster.org/~mich/software/
+MASTER_SITES= http://www.clex.sk/download/
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= mich@FreeBSD.org
@@ -18,7 +17,23 @@ COMMENT= A commandline file manager
GNU_CONFIGURE= yes
USE_GMAKE= yes
+DOCS= AUTHORS COPYING ChangeLog INSTALL NEWS README
MAN1= clex.1
-PLIST_FILES= bin/clex
-.include <bsd.port.mk>
+OPTIONS= LARGE_FILES "Enable support for large files" on
+
+.include <bsd.port.pre.mk>
+
+.if !defined(WITH_LARGE_FILES)
+CONFIGURE_ARGS+= --disable-largefile
+.endif
+
+do-install:
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+ @${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
+.endif
+ @${INSTALL_MAN} ${WRKSRC}/src/${MAN1} ${MAN1PREFIX}/man/man1
+ @${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${PREFIX}/bin
+
+.include <bsd.port.post.mk>
diff --git a/misc/clex/distinfo b/misc/clex/distinfo
index 94197dec2724..baf51c30e8eb 100644
--- a/misc/clex/distinfo
+++ b/misc/clex/distinfo
@@ -1,3 +1,3 @@
-MD5 (clex-3.16.tar.gz) = 52d3396fd3ce07441bb0da8e7690b2b3
-SHA256 (clex-3.16.tar.gz) = e1917825741f5f6b042819ad5644fd4a0b8736aeaf34f412aaf5cfa85c98a6d5
-SIZE (clex-3.16.tar.gz) = 186313
+MD5 (clex-3.17.tar.gz) = 81aeca7c0a6fab0a26f669cfcfe86f2a
+SHA256 (clex-3.17.tar.gz) = b8ce540bc65b727e58d551eca62f9c3270f7d210b68c52e0103159f60b6b50e1
+SIZE (clex-3.17.tar.gz) = 193842
diff --git a/misc/clex/pkg-plist b/misc/clex/pkg-plist
new file mode 100644
index 000000000000..b10be036af64
--- /dev/null
+++ b/misc/clex/pkg-plist
@@ -0,0 +1,8 @@
+bin/clex
+%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
+%%PORTDOCS%%%%DOCSDIR%%/COPYING
+%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
+%%PORTDOCS%%%%DOCSDIR%%/INSTALL
+%%PORTDOCS%%%%DOCSDIR%%/NEWS
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%@dirrm %%DOCSDIR%%