diff options
author | sumikawa <sumikawa@FreeBSD.org> | 2003-03-03 05:14:24 +0800 |
---|---|---|
committer | sumikawa <sumikawa@FreeBSD.org> | 2003-03-03 05:14:24 +0800 |
commit | a96ec25cb163b242dc3f4393dc653f080962951a (patch) | |
tree | 087371a40f77033b833c53caf6dcd748d6faa79e /misc | |
parent | 7d79d5e935ed0094c66130fc17ac008eb6a9160d (diff) | |
download | freebsd-ports-graphics-a96ec25cb163b242dc3f4393dc653f080962951a.tar.gz freebsd-ports-graphics-a96ec25cb163b242dc3f4393dc653f080962951a.tar.zst freebsd-ports-graphics-a96ec25cb163b242dc3f4393dc653f080962951a.zip |
- install binary with root:wheel
- install HTML documents
- remove pkg-comment
Submitted by: KOMATSU Shinichiro <koma2@jiro.c.u-tokyo.ac.jp>
Diffstat (limited to 'misc')
-rw-r--r-- | misc/lv/Makefile | 9 | ||||
-rw-r--r-- | misc/lv/files/patch-Makefile.in | 23 | ||||
-rw-r--r-- | misc/lv/pkg-comment | 1 | ||||
-rw-r--r-- | misc/lv/pkg-plist | 5 |
4 files changed, 37 insertions, 1 deletions
diff --git a/misc/lv/Makefile b/misc/lv/Makefile index 2cbff1c482d..b00f0c777ed 100644 --- a/misc/lv/Makefile +++ b/misc/lv/Makefile @@ -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> diff --git a/misc/lv/files/patch-Makefile.in b/misc/lv/files/patch-Makefile.in new file mode 100644 index 00000000000..1e47f1f29fd --- /dev/null +++ b/misc/lv/files/patch-Makefile.in @@ -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:: diff --git a/misc/lv/pkg-comment b/misc/lv/pkg-comment deleted file mode 100644 index 98fcc06b770..00000000000 --- a/misc/lv/pkg-comment +++ /dev/null @@ -1 +0,0 @@ -Powerful Multilingual File Viewer diff --git a/misc/lv/pkg-plist b/misc/lv/pkg-plist index 73e86e6183d..5af0e01518c 100644 --- a/misc/lv/pkg-plist +++ b/misc/lv/pkg-plist @@ -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%% |