aboutsummaryrefslogtreecommitdiff
path: root/textproc/texi2html/Makefile
diff options
context:
space:
mode:
authorPeter Pentchev <roam@FreeBSD.org>2004-06-08 19:20:55 +0000
committerPeter Pentchev <roam@FreeBSD.org>2004-06-08 19:20:55 +0000
commitda1c0fd41d0ae54bde5b96ef48053c5a7782002e (patch)
tree62e62813923dde886e3df23b456a587a08e4baf9 /textproc/texi2html/Makefile
parent72d755001d1984f559c1ae45f4aec518e7c749f1 (diff)
Notes
Diffstat (limited to 'textproc/texi2html/Makefile')
-rw-r--r--textproc/texi2html/Makefile17
1 files changed, 15 insertions, 2 deletions
diff --git a/textproc/texi2html/Makefile b/textproc/texi2html/Makefile
index f87f83d0a0bf..e5dd3be3a8f4 100644
--- a/textproc/texi2html/Makefile
+++ b/textproc/texi2html/Makefile
@@ -7,7 +7,7 @@
PORTNAME= texi2html
PORTVERSION= 1.66
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= textproc
MASTER_SITES= http://www.cvshome.org/files/70/10/
@@ -20,7 +20,20 @@ USE_AUTOCONF_VER= 253
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
+pre-everything::
+ @${ECHO} ""
+ @${ECHO} "You can define the PROGRAM_PREFIX variable to change the name that"
+ @${ECHO} "the texi2html program is installed as."
+ @${ECHO} ""
+
.include <bsd.port.mk>