freebsd-ports/japanese/groff/files/patch-contrib-pic2graph-Makefile.sub
Hiroki Sato a23d342635 - Add STAGEDIR support.
- Add LICENSE.
- Update MASTER_SITES.
- Remove old hacks for systems prior 5.1-RELEASE.
- Fix undefined reference to `polyfill' issue on 10.0 and later. [*]
- Style clean-ups.

Submitted by:	TAKEHARU KATO [*]
PR:		ports/185203
2014-02-07 19:06:19 +00:00

15 lines
553 B
Text

--- contrib/pic2graph/Makefile.sub.orig 2014-02-07 14:14:41.000000000 +0900
+++ contrib/pic2graph/Makefile.sub 2014-02-07 14:15:01.000000000 +0900
@@ -11,9 +11,9 @@
chmod +x $@
install_data: pic2graph
- -test -d $(bindir) || $(mkinstalldirs) $(bindir)
- -rm -f $(bindir)/pic2graph
- $(INSTALL_SCRIPT) pic2graph $(bindir)/pic2graph
+ -test -d $(DESTDIR)$(bindir) || $(mkinstalldirs) $(DESTDIR)$(bindir)
+ -rm -f $(DESTDIR)$(bindir)/pic2graph
+ $(INSTALL_SCRIPT) pic2graph $(DESTDIR)$(bindir)/pic2graph
uninstall_sub:
-rm -f $(bindir)/pic2graph