From ef3fc44bb30e209a97699a5fdff5e92c0c44f56f Mon Sep 17 00:00:00 2001 From: Baptiste Daroussin Date: Mon, 31 Dec 2012 14:10:52 +0000 Subject: [PATCH] Use PORT_OPTIONS:MDOCS instead of NOPORTDOCS Remove useless use of pre.mk/post.mk Trim headers --- archivers/tclmkziplib/Makefile | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/archivers/tclmkziplib/Makefile b/archivers/tclmkziplib/Makefile index e255fc5edefd..cabaa5bbcf75 100644 --- a/archivers/tclmkziplib/Makefile +++ b/archivers/tclmkziplib/Makefile @@ -1,9 +1,5 @@ -# New ports collection makefile for: tclmkziplib -# Date created: 4 Jan 2007 -# Whom: Martin Matuska -# +# Created by: Martin Matuska # $FreeBSD$ -# PORTNAME= tclmkziplib PORTVERSION= 1.0 @@ -22,7 +18,7 @@ USE_TCL= 84+ WRKSRC= ${WRKDIR}/mkZiplib${PORTVERSION} USE_ZIP= yes -.include +.include 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 +.include