aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2016-09-29 17:01:48 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2016-09-29 17:01:48 +0800
commit4f2110737972d09f45fc69ea0790795877b2c6fc (patch)
tree673951e90cafe701cd45866613f18e3e724df200 /deskutils
parent0722ecbe67c5e65c404a5a1dd3170f0de9f41825 (diff)
downloadfreebsd-ports-gnome-4f2110737972d09f45fc69ea0790795877b2c6fc.tar.gz
freebsd-ports-gnome-4f2110737972d09f45fc69ea0790795877b2c6fc.tar.zst
freebsd-ports-gnome-4f2110737972d09f45fc69ea0790795877b2c6fc.zip
- Fix LICENSE
- Switch to options helpers - Regenerate patches with `make makepatch`
Diffstat (limited to 'deskutils')
-rw-r--r--deskutils/teapot/Makefile6
-rw-r--r--deskutils/teapot/files/patch-CMakeLists.txt8
2 files changed, 8 insertions, 6 deletions
diff --git a/deskutils/teapot/Makefile b/deskutils/teapot/Makefile
index 108a9237945b..91e2bf7a78cb 100644
--- a/deskutils/teapot/Makefile
+++ b/deskutils/teapot/Makefile
@@ -12,7 +12,7 @@ DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
MAINTAINER= ports@FreeBSD.org
COMMENT= Full-screen curses based spread sheet program
-LICENSE= GPLv3
+LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
USES= cmake ncurses
@@ -27,9 +27,11 @@ post-patch:
@${REINPLACE_CMD} -e 's|share/man/man1|man/man1|g' \
${WRKSRC}/CMakeLists.txt
-post-install:
+post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
@(cd ${WRKSRC_DOCS} && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
+
+post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
@(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
diff --git a/deskutils/teapot/files/patch-CMakeLists.txt b/deskutils/teapot/files/patch-CMakeLists.txt
index a67cce2ffac2..4fda3475c9d1 100644
--- a/deskutils/teapot/files/patch-CMakeLists.txt
+++ b/deskutils/teapot/files/patch-CMakeLists.txt
@@ -1,6 +1,6 @@
---- CMakeLists.txt 2012-02-06 06:30:53.000000000 -0500
-+++ CMakeLists.txt 2012-02-25 18:06:26.000000000 -0500
-@@ -5,7 +5,7 @@
+--- CMakeLists.txt.orig 2012-02-06 11:30:53 UTC
++++ CMakeLists.txt
+@@ -5,7 +5,7 @@ set(Teapot_VERSION_MAJOR 2)
set(Teapot_VERSION_MINOR 3)
set(Teapot_VERSION_PATCH 0)
@@ -9,7 +9,7 @@
option(ENABLE_UTF8 "Enable UTF-8 support" ON)
option(ENABLE_STATIC "Link FLTK statically" OFF)
-@@ -40,30 +40,6 @@
+@@ -40,30 +40,6 @@ if (CURSES_FOUND)
install(TARGETS teapot DESTINATION bin)
endif ()