freebsd-ports/deskutils/teapot/Makefile

37 lines
1 KiB
Makefile
Raw Normal View History

# Created by: Andrey Zakhvatov
1999-08-25 07:28:01 +02:00
# $FreeBSD$
PORTNAME= teapot
2012-02-26 00:54:29 +01:00
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 \
2012-02-26 00:54:29 +01:00
${DISTNAME:C/^./T/}-Linux-i386${EXTRACT_SUFX}:docs
2012-03-05 00:11:04 +01:00
MAINTAINER= ports@FreeBSD.org
2003-02-20 18:07:10 +01:00
COMMENT= Full-screen curses based spread sheet program
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
USES= cmake
# 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}
2014-01-30 19:50:14 +01:00
OPTIONS_DEFINE= DOCS EXAMPLES
post-patch:
@${REINPLACE_CMD} -e 's|share/man/man1|man/man1|g' \
${WRKSRC}/CMakeLists.txt
post-install:
2014-01-30 19:50:14 +01:00
@${MKDIR} ${STAGEDIR}${DOCSDIR}
@(cd ${WRKSRC_DOCS} && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
@(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
.include <bsd.port.mk>