- install binary with root:wheel
- install HTML documents - remove pkg-comment Submitted by: KOMATSU Shinichiro <koma2@jiro.c.u-tokyo.ac.jp>
This commit is contained in:
parent
4b8d72d3e2
commit
e7249203a3
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=76756
4 changed files with 37 additions and 1 deletions
|
@ -7,15 +7,24 @@
|
|||
|
||||
PORTNAME= lv
|
||||
PORTVERSION= 4.49.4
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= misc
|
||||
MASTER_SITES= http://www.ff.iij4u.or.jp/~nrt/freeware/
|
||||
DISTNAME= lv4494
|
||||
|
||||
MAINTAINER= sumikawa@FreeBSD.org
|
||||
COMMENT= Powerful Multilingual File Viewer
|
||||
|
||||
WRKSRC= ${WRKDIR}/${DISTNAME}/src
|
||||
GNU_CONFIGURE= yes
|
||||
|
||||
MAN1= lv.1
|
||||
|
||||
post-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${DOCSDIR}
|
||||
(cd ${WRKDIR}/${DISTNAME}; \
|
||||
${INSTALL_DATA} *.html hello.sample* ${DOCSDIR})
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
23
misc/lv/files/patch-Makefile.in
Normal file
23
misc/lv/files/patch-Makefile.in
Normal file
|
@ -0,0 +1,23 @@
|
|||
--- Makefile.in.orig Fri Jun 16 17:06:20 2000
|
||||
+++ Makefile.in Sat Mar 1 21:46:14 2003
|
||||
@@ -64,7 +64,7 @@
|
||||
#
|
||||
|
||||
install::
|
||||
- $(INSTALL) -s -o bin -g bin -m 555 lv $(bindir)
|
||||
+ $(INSTALL) -s -m 555 lv $(bindir)
|
||||
if test -f $(bindir)/lgrep; then \
|
||||
/bin/rm -f $(bindir)/lgrep; \
|
||||
fi
|
||||
@@ -72,9 +72,9 @@
|
||||
if test ! -d $(lvlibdir); then \
|
||||
mkdir -p $(lvlibdir); \
|
||||
fi
|
||||
- $(INSTALL) -o bin -g bin -m 444 $(srcdir)/../lv.hlp $(lvlibdir)
|
||||
+ $(INSTALL) -m 444 $(srcdir)/../lv.hlp $(lvlibdir)
|
||||
if test -d $(mandir) -a -d $(mandir)/man1; then \
|
||||
- $(INSTALL) -o bin -g bin -m 444 $(srcdir)/../lv.1 $(mandir)/man1; \
|
||||
+ $(INSTALL) -m 444 $(srcdir)/../lv.1 $(mandir)/man1; \
|
||||
fi
|
||||
|
||||
uninstall::
|
|
@ -1 +0,0 @@
|
|||
Powerful Multilingual File Viewer
|
|
@ -1,4 +1,9 @@
|
|||
bin/lv
|
||||
bin/lgrep
|
||||
lib/lv/lv.hlp
|
||||
%%PORTDOCS%%%%DOCSDIR%%/hello.sample
|
||||
%%PORTDOCS%%%%DOCSDIR%%/hello.sample.gif
|
||||
%%PORTDOCS%%%%DOCSDIR%%/index.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/relnote.html
|
||||
@dirrm lib/lv
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
||||
|
|
Loading…
Reference in a new issue