- trim historical header
- move DOCS and EXAMPLES to new options framework
This commit is contained in:
parent
036c552712
commit
f3c214d2a9
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=309852
@ -1,9 +1,5 @@
|
||||
# New ports collection makefile for: teapot
|
||||
# Date created: 7 January 1998
|
||||
# Whom: Andrey Zakhvatov
|
||||
#
|
||||
# Created by: Andrey Zakhvatov
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= teapot
|
||||
PORTVERSION= 2.3.0
|
||||
@ -32,13 +28,15 @@ post-patch:
|
||||
@${REINPLACE_CMD} -e 's|share/man/man1|man/man1|g' \
|
||||
${WRKSRC}/CMakeLists.txt
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
post-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
@(cd ${WRKSRC_DOCS} && ${COPYTREE_SHARE} \* ${DOCSDIR})
|
||||
.endif
|
||||
|
||||
.if !defined(NOPORTEXAMPLES)
|
||||
.if ${PORT_OPTIONS:MEXAMPLES}
|
||||
@${MKDIR} ${EXAMPLESDIR}
|
||||
@(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} \* ${EXAMPLESDIR})
|
||||
.endif
|
||||
|
Loading…
Reference in New Issue
Block a user