freebsd-ports/sysutils/debhelper/files/patch-Makefile
Martin Wilke 5da731a1c0 A collection of programs that can be used in a debian/rules file to automate
common tasks related to building debian packages. Programs are included to
install various files into your package, compress files, fix file permissions,
integrate your package with the debian menu system, debconf, doc-base, etc.
Most debian packages use debhelper as part of their build process.

WWW:	http://joeyh.name/code/debhelper/

PR:		ports/175915
Submitted by:	Gea-Suan Lin <gslin@gslin.org>
2013-02-08 09:08:19 +00:00

26 lines
1.3 KiB
Text

--- Makefile.orig 2012-08-26 22:22:58.000000000 +0800
+++ Makefile 2012-08-26 22:23:51.000000000 +0800
@@ -78,15 +78,14 @@
done;
install:
- install -d $(DESTDIR)/usr/bin \
- $(DESTDIR)/usr/share/debhelper/autoscripts \
- $(DESTDIR)$(PERLLIBDIR)/Sequence \
- $(DESTDIR)$(PERLLIBDIR)/Buildsystem
- install dh $(COMMANDS) $(DESTDIR)/usr/bin
- install -m 0644 autoscripts/* $(DESTDIR)/usr/share/debhelper/autoscripts
- install -m 0644 Debian/Debhelper/*.pm $(DESTDIR)$(PERLLIBDIR)
- install -m 0644 Debian/Debhelper/Sequence/*.pm $(DESTDIR)$(PERLLIBDIR)/Sequence
- install -m 0644 Debian/Debhelper/Buildsystem/*.pm $(DESTDIR)$(PERLLIBDIR)/Buildsystem
+ install -d \
+ $(PREFIX)/${SITE_PERL_REL}/Debian/Debhelper/Sequence \
+ $(PREFIX)/${SITE_PERL_REL}/Debian/Debhelper/Buildsystem
+ install dh $(COMMANDS) $(PREFIX)/bin
+ install -m 0644 autoscripts/* $(PREFIX)/bin
+ install -m 0644 Debian/Debhelper/*.pm $(PREFIX)/$(SITE_PERL_REL)/Debian/Debhelper
+ install -m 0644 Debian/Debhelper/Sequence/*.pm $(PREFIX)/$(SITE_PERL_REL)/Debian/Debhelper/Sequence
+ install -m 0644 Debian/Debhelper/Buildsystem/*.pm $(PREFIX)/$(SITE_PERL_REL)/Debian/Debhelper/Buildsystem
test: version
./run perl -MTest::Harness -e 'runtests grep { ! /CVS/ && ! /\.svn/ && -f && -x } @ARGV' t/* t/buildsystems/*