diff options
author | MIHIRA Sanpei Yoshiro <sanpei@FreeBSD.org> | 2014-06-16 13:24:53 +0000 |
---|---|---|
committer | MIHIRA Sanpei Yoshiro <sanpei@FreeBSD.org> | 2014-06-16 13:24:53 +0000 |
commit | ae2957e2b170bf77a2b931cf70dc54428154f715 (patch) | |
tree | d4bfebb026f1a0ff876d9e349c96ef8cc2090ad3 /misc | |
parent | subversion port has been overhauled. Some optional parts was extracted (diff) |
stage support
Notes
Notes:
svn path=/head/; revision=357987
Diffstat (limited to 'misc')
-rw-r--r-- | misc/lv/Makefile | 7 | ||||
-rw-r--r-- | misc/lv/files/patch-src_Makefile.in | 16 | ||||
-rw-r--r-- | misc/lv/pkg-plist | 5 |
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%% |