aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/sgmls/files
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2014-06-11 20:26:22 +0800
committervanilla <vanilla@FreeBSD.org>2014-06-11 20:26:22 +0800
commit8f868c51f7ee80cf0cab17c629f0ea8776f38e65 (patch)
treedfd83e6a9c8449a0ff28b8f8efd60d2390337f50 /textproc/sgmls/files
parentd7d0269b90c0570aa02518643b766476b49e267c (diff)
downloadfreebsd-ports-gnome-8f868c51f7ee80cf0cab17c629f0ea8776f38e65.tar.gz
freebsd-ports-gnome-8f868c51f7ee80cf0cab17c629f0ea8776f38e65.tar.zst
freebsd-ports-gnome-8f868c51f7ee80cf0cab17c629f0ea8776f38e65.zip
Stagify.
Diffstat (limited to 'textproc/sgmls/files')
-rw-r--r--textproc/sgmls/files/patch-Makefile31
1 files changed, 29 insertions, 2 deletions
diff --git a/textproc/sgmls/files/patch-Makefile b/textproc/sgmls/files/patch-Makefile
index 0917d64669bb..44922284b5b6 100644
--- a/textproc/sgmls/files/patch-Makefile
+++ b/textproc/sgmls/files/patch-Makefile
@@ -1,5 +1,5 @@
---- Makefile.orig 2011-09-07 09:34:45.000000000 +0800
-+++ Makefile 2011-09-07 09:34:52.000000000 +0800
+--- Makefile.orig 1994-04-26 04:25:12.000000000 +0800
++++ Makefile 2014-06-11 20:24:14.438631971 +0800
@@ -15,7 +15,7 @@ MANDIR=$(PREFIX)/man/man$(MANEXT)
# Permissions mode to use for man pages.
MANMODE=444
@@ -9,3 +9,30 @@
PROFILE=
INCLUDE=
OPTIMIZE=-O
+@@ -143,20 +143,18 @@ lextabe.c: genlex
+ ./genlex >$@
+
+ install: $(PROGS)
+- -test -d $(BINDIR) || mkdir $(BINDIR)
++ -test -d $(DESTDIR)$(BINDIR) || mkdir $(DESTDIR)$(BINDIR)
+ for f in $(PROGS); do \
+- rm -f $(BINDIR)/$$f; \
+- cp $$f $(BINDIR)/$$f; \
+- chmod $(BINMODE) $(BINDIR)/$$f; \
++ cp $$f $(DESTDIR)$(BINDIR)/$$f; \
++ chmod $(BINMODE) $(DESTDIR)$(BINDIR)/$$f; \
+ done
+
+ install.man: $(MANPAGES)
+- -test -d $(MANDIR) || mkdir $(MANDIR)
++ -test -d $(DESTDIR)$(MANDIR) || mkdir $(DESTDIR)$(MANDIR)
+ for f in $(MANPAGES); do \
+ t=$(MANDIR)/`basename $$f .man`.$(MANEXT); \
+- rm -f $$t; \
+- cp $$f $$t; \
+- chmod $(MANMODE) $$t; \
++ cp $$f $(DESTDIR)$$t; \
++ chmod $(MANMODE) $(DESTDIR)$$t; \
+ done
+
+ clean: