mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
Use PORT_OPTIONS:MDOCS instead of NOPORTDOCS
Remove useless use of pre.mk/post.mk Trim headers
This commit is contained in:
parent
b33a2cddff
commit
ef3fc44bb3
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=309744
1 changed files with 4 additions and 8 deletions
|
@ -1,9 +1,5 @@
|
||||||
# New ports collection makefile for: tclmkziplib
|
# Created by: Martin Matuska <mm@FreeBSD.org>
|
||||||
# Date created: 4 Jan 2007
|
|
||||||
# Whom: Martin Matuska <mm@FreeBSD.org>
|
|
||||||
#
|
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
#
|
|
||||||
|
|
||||||
PORTNAME= tclmkziplib
|
PORTNAME= tclmkziplib
|
||||||
PORTVERSION= 1.0
|
PORTVERSION= 1.0
|
||||||
|
@ -22,7 +18,7 @@ USE_TCL= 84+
|
||||||
WRKSRC= ${WRKDIR}/mkZiplib${PORTVERSION}
|
WRKSRC= ${WRKDIR}/mkZiplib${PORTVERSION}
|
||||||
USE_ZIP= yes
|
USE_ZIP= yes
|
||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
.include <bsd.port.options.mk>
|
||||||
|
|
||||||
TCLCONFIG?= ${LOCALBASE}/lib/tcl${TCL_VER}/tclConfig.sh
|
TCLCONFIG?= ${LOCALBASE}/lib/tcl${TCL_VER}/tclConfig.sh
|
||||||
|
|
||||||
|
@ -42,9 +38,9 @@ do-install:
|
||||||
@${INSTALL_DATA} ${WRKSRC}/pkgIndex.tcl ${PREFIX}/lib/mkZiplib
|
@${INSTALL_DATA} ${WRKSRC}/pkgIndex.tcl ${PREFIX}/lib/mkZiplib
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
.if !defined(NOPORTDOCS)
|
.if ${PORT_OPTIONS:MDOCS}
|
||||||
@ ${MKDIR} ${DOCSDIR}
|
@ ${MKDIR} ${DOCSDIR}
|
||||||
@ ${INSTALL_DATA} ${WRKSRC}/mkZiplib${PORTVERSION:S/.//}.htm ${DOCSDIR}
|
@ ${INSTALL_DATA} ${WRKSRC}/mkZiplib${PORTVERSION:S/.//}.htm ${DOCSDIR}
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.include <bsd.port.post.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
Loading…
Add table
Reference in a new issue