Date: Mon, 31 Dec 2012 14:10:52 +0000 (UTC) From: Baptiste Daroussin <bapt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r309744 - head/archivers/tclmkziplib Message-ID: <201212311410.qBVEAqYI046836@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bapt Date: Mon Dec 31 14:10:52 2012 New Revision: 309744 URL: http://svnweb.freebsd.org/changeset/ports/309744 Log: Use PORT_OPTIONS:MDOCS instead of NOPORTDOCS Remove useless use of pre.mk/post.mk Trim headers Modified: head/archivers/tclmkziplib/Makefile Modified: head/archivers/tclmkziplib/Makefile ============================================================================== --- head/archivers/tclmkziplib/Makefile Mon Dec 31 14:08:48 2012 (r309743) +++ head/archivers/tclmkziplib/Makefile Mon Dec 31 14:10:52 2012 (r309744) @@ -1,9 +1,5 @@ -# New ports collection makefile for: tclmkziplib -# Date created: 4 Jan 2007 -# Whom: Martin Matuska <mm@FreeBSD.org> -# +# Created by: Martin Matuska <mm@FreeBSD.org> # $FreeBSD$ -# PORTNAME= tclmkziplib PORTVERSION= 1.0 @@ -22,7 +18,7 @@ USE_TCL= 84+ WRKSRC= ${WRKDIR}/mkZiplib${PORTVERSION} USE_ZIP= yes -.include <bsd.port.pre.mk> +.include <bsd.port.options.mk> TCLCONFIG?= ${LOCALBASE}/lib/tcl${TCL_VER}/tclConfig.sh @@ -42,9 +38,9 @@ do-install: @${INSTALL_DATA} ${WRKSRC}/pkgIndex.tcl ${PREFIX}/lib/mkZiplib post-install: -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @ ${MKDIR} ${DOCSDIR} @ ${INSTALL_DATA} ${WRKSRC}/mkZiplib${PORTVERSION:S/.//}.htm ${DOCSDIR} .endif -.include <bsd.port.post.mk> +.include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201212311410.qBVEAqYI046836>