diff options
author | bapt <bapt@FreeBSD.org> | 2012-12-31 22:10:52 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2012-12-31 22:10:52 +0800 |
commit | 85a327ae3e9e8f630af4da1ea42b56284e50cfc9 (patch) | |
tree | 699394f9ccebcba1a857e95632340913e8c45faf /archivers | |
parent | 064ca12e969e674c9802d1ddd270d4bb65c00118 (diff) | |
download | freebsd-ports-gnome-85a327ae3e9e8f630af4da1ea42b56284e50cfc9.tar.gz freebsd-ports-gnome-85a327ae3e9e8f630af4da1ea42b56284e50cfc9.tar.zst freebsd-ports-gnome-85a327ae3e9e8f630af4da1ea42b56284e50cfc9.zip |
Use PORT_OPTIONS:MDOCS instead of NOPORTDOCS
Remove useless use of pre.mk/post.mk
Trim headers
Diffstat (limited to 'archivers')
-rw-r--r-- | archivers/tclmkziplib/Makefile | 12 |
1 files 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 <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> |