aboutsummaryrefslogtreecommitdiffstats
path: root/misc/clex
diff options
context:
space:
mode:
authormich <mich@FreeBSD.org>2008-02-05 04:24:04 +0800
committermich <mich@FreeBSD.org>2008-02-05 04:24:04 +0800
commit48228197679dfd84776f0a1980f6de24c2bd2b5f (patch)
treeb3ca441140581fc0672500562f5d54665cfa18dd /misc/clex
parenta9a9e199961a36b7d83c009aa0114e401bca0dbc (diff)
downloadfreebsd-ports-graphics-48228197679dfd84776f0a1980f6de24c2bd2b5f.tar.gz
freebsd-ports-graphics-48228197679dfd84776f0a1980f6de24c2bd2b5f.tar.zst
freebsd-ports-graphics-48228197679dfd84776f0a1980f6de24c2bd2b5f.zip
- 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
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 011156f4281..50706291fa1 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 94197dec272..baf51c30e8e 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 00000000000..b10be036af6
--- /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%%