Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Dec 2015 16:21:58 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r403546 - head/archivers/szip
Message-ID:  <201512111621.tBBGLwjJ019666@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Fri Dec 11 16:21:57 2015
New Revision: 403546
URL: https://svnweb.freebsd.org/changeset/ports/403546

Log:
  - Switch to options helpers

Modified:
  head/archivers/szip/Makefile

Modified: head/archivers/szip/Makefile
==============================================================================
--- head/archivers/szip/Makefile	Fri Dec 11 16:21:20 2015	(r403545)
+++ head/archivers/szip/Makefile	Fri Dec 11 16:21:57 2015	(r403546)
@@ -12,16 +12,15 @@ DISTNAME=	sz${PORTVERSION:S/.//}_src
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Fast compression utility
 
-OPTIONS_DEFINE=	DOCS
-
 USES=		gmake
-
 NO_WRKSUBDIR=	yes
 MAKEFILE=	makefile
 
 PLIST_FILES=	bin/${PORTNAME}
 PORTDOCS=	*.txt
 
+OPTIONS_DEFINE=	DOCS
+
 post-patch:
 	@${REINPLACE_CMD} -e 's,more logfile,cat logfile,' \
 			  -e "s,^CFLAGS.*,CFLAGS= ${CFLAGS}," \
@@ -29,6 +28,8 @@ post-patch:
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+
+do-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/*.txt ${STAGEDIR}${DOCSDIR}
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201512111621.tBBGLwjJ019666>