Files
pkgsrc-ng/print/epstool/patches/patch-aa
2016-11-18 22:39:22 +01:00

21 lines
580 B
Plaintext

$NetBSD: patch-aa,v 1.4 2016/04/01 11:09:47 jperkin Exp $
Use pkgsrc layout.
--- makefile.orig 2005-06-10 09:41:00.000000000 +0000
+++ makefile
@@ -45,10 +45,10 @@ TARGET=epstool
include $(SRCDIR)/common.mak
-EPSTOOL_ROOT=/usr/local
+EPSTOOL_ROOT=${DESTDIR}${PREFIX}
EPSTOOL_BASE=$(prefix)$(EPSTOOL_ROOT)
-EPSTOOL_DOCDIR=$(EPSTOOL_BASE)/share/doc/epstool-$(EPSTOOL_VERSION)
-EPSTOOL_MANDIR=$(EPSTOOL_BASE)/man
+EPSTOOL_DOCDIR=$(EPSTOOL_BASE)/share/doc/epstool
+EPSTOOL_MANDIR=$(EPSTOOL_BASE)/${PKGMANDIR}
EPSTOOL_BINDIR=$(EPSTOOL_BASE)/bin
epstool: $(BD)epstool$(EXE)