ffd97a0193
- while here clean up some ports from CMAKE_VERBOSE, which is intended for users Approved by: portmgr (miwi)
44 lines
1.1 KiB
Makefile
44 lines
1.1 KiB
Makefile
# Created by: Andrey Zakhvatov
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= teapot
|
|
PORTVERSION= 2.3.0
|
|
CATEGORIES= deskutils
|
|
MASTER_SITES= http://www.syntax-k.de/projekte/${PORTNAME}/ \
|
|
http://www.syntax-k.de/projekte/${PORTNAME}/:docs
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:DEFAULT \
|
|
${DISTNAME:C/^./T/}-Linux-i386${EXTRACT_SUFX}:docs
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Full-screen curses based spread sheet program
|
|
|
|
LICENSE= GPLv3
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
USES= cmake
|
|
|
|
NO_MANCOMPRESS= no
|
|
MAN1= teapot.1
|
|
|
|
# We download the prebuilt binary tarball for Linux in order to avoid
|
|
# having to generate the pdf and html docs from the LyX sourcecode.
|
|
WRKSRC_DOCS= ${WRKDIR}/${DISTNAME:C/^./T/}-Linux/share/doc/${PORTNAME}
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|share/man/man1|man/man1|g' \
|
|
${WRKSRC}/CMakeLists.txt
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
post-install:
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
@${MKDIR} ${DOCSDIR}
|
|
@(cd ${WRKSRC_DOCS} && ${COPYTREE_SHARE} \* ${DOCSDIR})
|
|
.endif
|
|
|
|
.if ${PORT_OPTIONS:MEXAMPLES}
|
|
@${MKDIR} ${EXAMPLESDIR}
|
|
@(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} \* ${EXAMPLESDIR})
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|