svn commit: r309744 - head/archivers/tclmkziplib
Baptiste Daroussin
bapt at FreeBSD.org
Mon Dec 31 14:10:52 UTC 2012
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 at FreeBSD.org>
-#
+# Created by: Martin Matuska <mm at 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>
More information about the svn-ports-all
mailing list