Index: ports/textproc/texi2html/Makefile
===================================================================
RCS file: /home/ncvs/ports/textproc/texi2html/Makefile,v
retrieving revision 1.13
diff -u -r1.13 Makefile
--- ports/textproc/texi2html/Makefile 4 Feb 2004 05:09:20 -0000 1.13
+++ ports/textproc/texi2html/Makefile 4 Jun 2004 10:09:37 -0000
@@ -19,7 +19,14 @@
AUTOMAKE_ARGS= -a
USE_GMAKE= yes
-MAN1= texi2html.1
+PROGRAM_PREFIX?=
+PLIST_SUB= PROGRAM_PREFIX=${PROGRAM_PREFIX}
+
+.if !empty(PROGRAM_PREFIX)
+CONFIGURE_ARGS= --program-prefix="${PROGRAM_PREFIX}"
+.endif
+
+MAN1= ${PROGRAM_PREFIX}texi2html.1
INFO= texi2html
.include
Index: ports/textproc/texi2html/pkg-plist
===================================================================
RCS file: /home/ncvs/ports/textproc/texi2html/pkg-plist,v
retrieving revision 1.4
diff -u -r1.4 pkg-plist
--- ports/textproc/texi2html/pkg-plist 9 Oct 2003 09:17:47 -0000 1.4
+++ ports/textproc/texi2html/pkg-plist 4 Jun 2004 10:06:49 -0000
@@ -1,3 +1,3 @@
-bin/texi2html
+bin/%%PROGRAM_PREFIX%%texi2html
%%DOCSDIR%%/texi2html.html
@dirrm %%DOCSDIR%%