2007-10-26 17:29:30 -04:00
|
|
|
$OpenBSD: patch-sgmlfmt_Makefile,v 1.1 2007/10/26 21:29:30 jasper Exp $
|
2000-09-20 16:56:19 -04:00
|
|
|
--- sgmlfmt/Makefile.orig Tue Sep 15 23:05:39 1998
|
2007-10-26 17:29:30 -04:00
|
|
|
+++ sgmlfmt/Makefile Fri Oct 26 23:26:37 2007
|
2000-09-20 16:56:19 -04:00
|
|
|
@@ -2,12 +2,12 @@
|
1998-04-05 05:54:22 -04:00
|
|
|
|
|
|
|
FILES= sgmlfmt
|
|
|
|
CLEANFILES= sgmlfmt
|
|
|
|
-MAN1= sgmlfmt.1
|
|
|
|
+MAN= sgmlfmt.1
|
|
|
|
|
|
|
|
all: sgmlfmt
|
|
|
|
|
2000-09-20 16:56:19 -04:00
|
|
|
sgmlfmt: sgmlfmt.pl
|
|
|
|
-.if exists(/usr/bin/perl5)
|
|
|
|
+.if exists(/usr/bin/perl)
|
|
|
|
sed -e 's|##PERL##|/usr/bin/perl|' -e 's|##PREFIX##|${PREFIX}|' < sgmlfmt.pl > sgmlfmt
|
|
|
|
.else
|
|
|
|
sed -e 's|##PERL##|${PREFIX}/bin/perl|' -e 's|##PREFIX##|${PREFIX}|' < sgmlfmt.pl > sgmlfmt
|
2007-10-26 17:29:30 -04:00
|
|
|
@@ -15,6 +15,6 @@ sgmlfmt: sgmlfmt.pl
|
2000-06-09 20:35:20 -04:00
|
|
|
|
|
|
|
afterinstall:
|
|
|
|
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} ${FILES} \
|
|
|
|
- ${BINDIR}
|
|
|
|
+ $(DESTDIR)${BINDIR}
|
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|