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 +OPTIONS= LARGE_FILES "Enable support for large files" on + +.include + +.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 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%%