aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authorsanpei <sanpei@FreeBSD.org>2014-06-16 21:24:53 +0800
committersanpei <sanpei@FreeBSD.org>2014-06-16 21:24:53 +0800
commit336f35d922e6ece732fb5dced68ca9f54f067afd (patch)
treed4bfebb026f1a0ff876d9e349c96ef8cc2090ad3 /misc
parent039f47f8fe9cd282dd16ea37200968ddc1867ad0 (diff)
downloadfreebsd-ports-gnome-336f35d922e6ece732fb5dced68ca9f54f067afd.tar.gz
freebsd-ports-gnome-336f35d922e6ece732fb5dced68ca9f54f067afd.tar.zst
freebsd-ports-gnome-336f35d922e6ece732fb5dced68ca9f54f067afd.zip
stage support
Diffstat (limited to 'misc')
-rw-r--r--misc/lv/Makefile7
-rw-r--r--misc/lv/files/patch-src_Makefile.in16
-rw-r--r--misc/lv/pkg-plist5
3 files changed, 20 insertions, 8 deletions
diff --git a/misc/lv/Makefile b/misc/lv/Makefile
index 6f5cbc1090d4..2a808379001a 100644
--- a/misc/lv/Makefile
+++ b/misc/lv/Makefile
@@ -17,19 +17,16 @@ LICENSE_FILE= ${WRKSRC}/../GPL.txt
WRKSRC= ${WRKDIR}/${DISTNAME}/src
GNU_CONFIGURE= yes
-MAN1= lv.1
-
OPTIONS_DEFINE= DOCS
OPTIONS_DEFAULT= DOCS
-NO_STAGE= yes
.include <bsd.port.options.mk>
post-install:
.if ${PORT_OPTIONS:MDOCS}
- ${MKDIR} ${DOCSDIR}
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKDIR}/${DISTNAME}; \
- ${INSTALL_DATA} *.html hello.sample* ${DOCSDIR})
+ ${INSTALL_DATA} *.html hello.sample* ${STAGEDIR}${DOCSDIR})
.endif
.include <bsd.port.mk>
diff --git a/misc/lv/files/patch-src_Makefile.in b/misc/lv/files/patch-src_Makefile.in
index f9057800336c..a32128aca20d 100644
--- a/misc/lv/files/patch-src_Makefile.in
+++ b/misc/lv/files/patch-src_Makefile.in
@@ -1,5 +1,19 @@
--- Makefile.in.orig 2004-01-06 16:22:17.000000000 +0900
-+++ Makefile.in 2007-06-28 13:24:06.000000000 +0900
++++ Makefile.in 2014-06-16 21:40:34.440747700 +0900
+@@ -9,11 +9,11 @@
+ srcdir= @srcdir@
+ VPATH= @srcdir@
+
+-prefix= @prefix@
++prefix= ${DESTDIR}/@prefix@
+ exec_prefix= @exec_prefix@
+ bindir= @bindir@
+ libdir= @libdir@
+-mandir= @mandir@
++mandir= ${DESTDIR}/@mandir@
+
+ lvlibdir= $(libdir)/lv
+ distdir = lv$(VERSION)
@@ -41,7 +41,7 @@
all: lv
diff --git a/misc/lv/pkg-plist b/misc/lv/pkg-plist
index 5af0e01518c5..eeb357e7d72f 100644
--- a/misc/lv/pkg-plist
+++ b/misc/lv/pkg-plist
@@ -1,9 +1,10 @@
bin/lv
bin/lgrep
lib/lv/lv.hlp
+man/man1/lv.1.gz
%%PORTDOCS%%%%DOCSDIR%%/hello.sample
%%PORTDOCS%%%%DOCSDIR%%/hello.sample.gif
%%PORTDOCS%%%%DOCSDIR%%/index.html
%%PORTDOCS%%%%DOCSDIR%%/relnote.html
-@dirrm lib/lv
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
+@dirrmtry lib/lv
+%%PORTDOCS%%@dirrmtry %%DOCSDIR%%