summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpawel <pawel@FreeBSD.org>2014-06-13 12:36:27 +0000
committerpawel <pawel@FreeBSD.org>2014-06-13 12:36:27 +0000
commit3157735405e5287358dd96675a3f1f23f58acbb2 (patch)
tree8eca83216bae63314756f31a13a86dc78ec91e43
parent48b04891071294a1bf936417753e59f6fa2e2854 (diff)
downloadFreeBSD-ports-3157735405e5287358dd96675a3f1f23f58acbb2.zip
FreeBSD-ports-3157735405e5287358dd96675a3f1f23f58acbb2.tar.gz
- Add staging support
- Convert trivial patch to REINPLACE_CMD - Remove Author tag, fix WWW line in pkg-descr
-rw-r--r--misc/tpp/Makefile6
-rw-r--r--misc/tpp/files/patch-Makefile11
-rw-r--r--misc/tpp/pkg-descr3
-rw-r--r--misc/tpp/pkg-plist1
4 files changed, 6 insertions, 15 deletions
diff --git a/misc/tpp/Makefile b/misc/tpp/Makefile
index 2575ecc..620820e 100644
--- a/misc/tpp/Makefile
+++ b/misc/tpp/Makefile
@@ -16,7 +16,9 @@ NO_BUILD= yes
USE_RUBY= yes
RUBY_NO_BUILD_DEPENDS= yes
-MAN1= tpp.1
+post-patch:
+ @${REINPLACE_CMD} -E -e 's,share/man,man,' \
+ -e 's,(DOC|INS|MAN)PATH),DESTDIR)$$(&,' \
+ ${WRKSRC}/Makefile
-NO_STAGE= yes
.include <bsd.port.mk>
diff --git a/misc/tpp/files/patch-Makefile b/misc/tpp/files/patch-Makefile
deleted file mode 100644
index 13cfda0..0000000
--- a/misc/tpp/files/patch-Makefile
+++ /dev/null
@@ -1,11 +0,0 @@
---- Makefile.orig Tue Nov 15 06:41:52 2005
-+++ Makefile Tue Nov 15 06:42:17 2005
-@@ -6,7 +6,7 @@
- prefix=/usr/local
- INSPATH= $(prefix)/bin/
- DOCPATH = $(prefix)/share/doc/tpp
--MANPATH = $(prefix)/share/man/man1
-+MANPATH = $(prefix)/man/man1
-
- all:
- @echo "TPP doesn't need to be built. Run \`make install' in order to install it."
diff --git a/misc/tpp/pkg-descr b/misc/tpp/pkg-descr
index 78e6486..0b467bf 100644
--- a/misc/tpp/pkg-descr
+++ b/misc/tpp/pkg-descr
@@ -1,4 +1,3 @@
tpp is an ncurses-based presentation tool
-Author: Andreas Krennmair <ak@synflood.at>
-WWW: http://synflood.at/tpp.html
+WWW: http://synflood.at/tpp.html
diff --git a/misc/tpp/pkg-plist b/misc/tpp/pkg-plist
index de72b2f..d80d833 100644
--- a/misc/tpp/pkg-plist
+++ b/misc/tpp/pkg-plist
@@ -1,4 +1,5 @@
bin/tpp
+man/man1/tpp.1.gz
%%DOCSDIR%%/CHANGES
%%DOCSDIR%%/COPYING
%%DOCSDIR%%/DESIGN
OpenPOWER on IntegriCloud