- various fixes from persgray@gmail.com to get this working properly

with tweaks by and ok ingo@
This commit is contained in:
jasper 2011-06-06 19:12:45 +00:00
parent 2d76d96589
commit 3621d32f5c
4 changed files with 17 additions and 16 deletions

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.3 2010/11/20 19:56:52 espie Exp $
# $OpenBSD: Makefile,v 1.4 2011/06/06 19:12:45 jasper Exp $
COMMENT= grind nice listings of programs
DISTNAME= vgrind-1.0
REVISION= 0
REVISION= 1
CATEGORIES= textproc
# 3-clause BSD
@ -16,7 +16,7 @@ WANTLIB += c
MASTER_SITES= http://distfiles.nl/
RUN_DEPENDS= textproc/groff
RUN_DEPENDS= textproc/groff>=1.21
NO_REGRESS= Yes
@ -24,14 +24,16 @@ pre-configure:
cd ${WRKSRC}; ${SUBST_CMD} vgrind{.sh,.1,efs.5} pathnames.h
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/tmac/ ${PREFIX}/share/vgrind
${INSTALL_DATA_DIR} ${PREFIX}/share/groff/site-tmac/ \
${PREFIX}/share/vgrind
${INSTALL_SCRIPT} ${WRKSRC}/vgrind.sh ${PREFIX}/bin/vgrind
${INSTALL_PROGRAM} ${WRKSRC}/vfontedpr ${PREFIX}/libexec/
${INSTALL_DATA} ${WRKSRC}/vgrindefs.src \
${PREFIX}/share/vgrind/vgrindefs
${INSTALL_DATA} ${WRKSRC}/vgrindefs.src.db \
${PREFIX}/share/vgrind/vgrindefs.db
${INSTALL_DATA} ${WRKSRC}/tmac.vgrind ${PREFIX}/share/tmac
${INSTALL_DATA} ${WRKSRC}/tmac.vgrind \
${PREFIX}/share/groff/site-tmac
${INSTALL_MAN} ${WRKSRC}/vgrind.1 ${PREFIX}/man/man1/
${INSTALL_MAN} ${WRKSRC}/vgrindefs.5 ${PREFIX}/man/man5/

View File

@ -1,6 +1,6 @@
$OpenBSD: patch-vgrind_1,v 1.1.1.1 2010/10/23 16:49:11 jasper Exp $
--- vgrind.1.orig Sat Oct 23 18:32:04 2010
+++ vgrind.1 Sat Oct 23 18:32:37 2010
$OpenBSD: patch-vgrind_1,v 1.2 2011/06/06 19:12:45 jasper Exp $
--- vgrind.1.orig Sat Oct 23 20:30:17 2010
+++ vgrind.1 Mon May 30 11:09:49 2011
@@ -99,7 +99,7 @@ The options are as follows:
.It Fl d Ar file
Specifies an alternate language definitions
@ -19,7 +19,7 @@ $OpenBSD: patch-vgrind_1,v 1.1.1.1 2010/10/23 16:49:11 jasper Exp $
.It Pa index
file where source for index is created
-.It Pa /usr/share/tmac/tmac.vgrind
+.It Pa ${PREFIX}/share/tmac/tmac.vgrind
+.It Pa ${PREFIX}/share/groff/site-tmac/tmac.vgrind
macro package
-.It Pa /usr/libexec/vfontedpr
+.It Pa ${PREFIX}/libexec/vfontedpr

View File

@ -1,6 +1,6 @@
$OpenBSD: patch-vgrind_sh,v 1.1.1.1 2010/10/23 16:49:11 jasper Exp $
--- vgrind.sh.orig Sat Oct 23 18:31:58 2010
+++ vgrind.sh Sat Oct 23 18:32:29 2010
$OpenBSD: patch-vgrind_sh,v 1.2 2011/06/06 19:12:45 jasper Exp $
--- vgrind.sh.orig Sat Oct 23 20:30:20 2010
+++ vgrind.sh Mon May 30 11:10:15 2011
@@ -40,8 +40,8 @@ else
set troff = "groff"
endif
@ -8,7 +8,7 @@ $OpenBSD: patch-vgrind_sh,v 1.1.1.1 2010/10/23 16:49:11 jasper Exp $
-set vf=/usr/libexec/vfontedpr
-set tm=/usr/share/tmac
+set vf=${PREFIX}/libexec/vfontedpr
+set tm=${PREFIX}/share/tmac
+set tm=${PREFIX}/share/groff/site-tmac
set voptions=
set options=

View File

@ -1,10 +1,9 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2010/10/23 16:49:11 jasper Exp $
@comment $OpenBSD: PLIST,v 1.2 2011/06/06 19:12:45 jasper Exp $
bin/vgrind
@bin libexec/vfontedpr
@man man/man1/vgrind.1
@man man/man5/vgrindefs.5
share/tmac/
share/tmac/tmac.vgrind
share/groff/site-tmac/tmac.vgrind
share/vgrind/
share/vgrind/vgrindefs
share/vgrind/vgrindefs.db