Skip to content

Commit

Permalink
- trim historical header
Browse files Browse the repository at this point in the history
- move DOCS and EXAMPLES to new options framework


git-svn-id: svn+ssh://svn.freebsd.org/ports/head@309852 aed309b6-a8cd-e111-996c-001c23d10e55
  • Loading branch information
jgh committed Jan 3, 2013
1 parent bd6eeff commit a1475ff
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions deskutils/teapot/Makefile
@@ -1,9 +1,5 @@
# New ports collection makefile for: teapot # Created by: Andrey Zakhvatov
# Date created: 7 January 1998
# Whom: Andrey Zakhvatov
#
# $FreeBSD$ # $FreeBSD$
#


PORTNAME= teapot PORTNAME= teapot
PORTVERSION= 2.3.0 PORTVERSION= 2.3.0
Expand Down Expand Up @@ -32,13 +28,15 @@ post-patch:
@${REINPLACE_CMD} -e 's|share/man/man1|man/man1|g' \ @${REINPLACE_CMD} -e 's|share/man/man1|man/man1|g' \
${WRKSRC}/CMakeLists.txt ${WRKSRC}/CMakeLists.txt


.include <bsd.port.options.mk>

post-install: post-install:
.if !defined(NOPORTDOCS) .if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR} @${MKDIR} ${DOCSDIR}
@(cd ${WRKSRC_DOCS} && ${COPYTREE_SHARE} \* ${DOCSDIR}) @(cd ${WRKSRC_DOCS} && ${COPYTREE_SHARE} \* ${DOCSDIR})
.endif .endif


.if !defined(NOPORTEXAMPLES) .if ${PORT_OPTIONS:MEXAMPLES}
@${MKDIR} ${EXAMPLESDIR} @${MKDIR} ${EXAMPLESDIR}
@(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} \* ${EXAMPLESDIR}) @(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} \* ${EXAMPLESDIR})
.endif .endif
Expand Down

0 comments on commit a1475ff

Please sign in to comment.