summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorPawel Pekala <pawel@FreeBSD.org>2014-06-13 12:36:27 +0000
committerPawel Pekala <pawel@FreeBSD.org>2014-06-13 12:36:27 +0000
commitf22accebbd9ea5082a9d6086ba537456120c0036 (patch)
tree8eca83216bae63314756f31a13a86dc78ec91e43 /misc
parentmail/py-ppolicy: support stage and use auto plist (diff)
- Add staging support
- Convert trivial patch to REINPLACE_CMD - Remove Author tag, fix WWW line in pkg-descr
Notes
Notes: svn path=/head/; revision=357676
Diffstat (limited to 'misc')
-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 2575eccae595..620820e7a872 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 13cfda0ec8b8..000000000000
--- 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 78e64867a072..0b467bf7c5d6 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 de72b2f79e20..d80d8330212b 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