aboutsummaryrefslogtreecommitdiff
path: root/sysutils/debhelper
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2013-02-08 09:08:19 +0000
committerMartin Wilke <miwi@FreeBSD.org>2013-02-08 09:08:19 +0000
commit5da731a1c06ed1c76f2f76b42ee961e307d6d253 (patch)
tree6c1855046d4926a42715d16de71cf2b21a57ca0d /sysutils/debhelper
parent80b5b0ba729e55d02efe4f59fdeb1582d739be92 (diff)
Notes
Diffstat (limited to 'sysutils/debhelper')
-rw-r--r--sysutils/debhelper/Makefile18
-rw-r--r--sysutils/debhelper/distinfo2
-rw-r--r--sysutils/debhelper/files/patch-Makefile26
-rw-r--r--sysutils/debhelper/pkg-descr7
-rw-r--r--sysutils/debhelper/pkg-plist62
5 files changed, 115 insertions, 0 deletions
diff --git a/sysutils/debhelper/Makefile b/sysutils/debhelper/Makefile
new file mode 100644
index 000000000000..2935c44ee943
--- /dev/null
+++ b/sysutils/debhelper/Makefile
@@ -0,0 +1,18 @@
+# Created by: Gea-Suan Lin <gslin@gslin.org>
+# $FreeBSD$
+
+PORTNAME= debhelper
+PORTVERSION= 9.20120909
+CATEGORIES= sysutils
+MASTER_SITES= DEBIAN
+DISTFILES= ${PORTNAME}_${PORTVERSION}${EXTRACT_SUFX}
+
+MAINTAINER= gslin@gslin.org
+COMMENT= Helper programs for debian/rules
+
+MAKE_ENV+= SITE_PERL_REL=${SITE_PERL_REL}
+NO_BUILD= yes
+USE_PERL5= yes
+WRKSRC= ${WRKDIR}/${PORTNAME}
+
+.include <bsd.port.mk>
diff --git a/sysutils/debhelper/distinfo b/sysutils/debhelper/distinfo
new file mode 100644
index 000000000000..9e97985ac10a
--- /dev/null
+++ b/sysutils/debhelper/distinfo
@@ -0,0 +1,2 @@
+SHA256 (debhelper_9.20120909.tar.gz) = fabcdb9c41975ea0a1ccc66d6e065e424ed7a2119f6f1a6f7bfb7d06701370af
+SIZE (debhelper_9.20120909.tar.gz) = 464785
diff --git a/sysutils/debhelper/files/patch-Makefile b/sysutils/debhelper/files/patch-Makefile
new file mode 100644
index 000000000000..44cc9bfb8f90
--- /dev/null
+++ b/sysutils/debhelper/files/patch-Makefile
@@ -0,0 +1,26 @@
+--- 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/*
diff --git a/sysutils/debhelper/pkg-descr b/sysutils/debhelper/pkg-descr
new file mode 100644
index 000000000000..f942b0e45ccf
--- /dev/null
+++ b/sysutils/debhelper/pkg-descr
@@ -0,0 +1,7 @@
+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/
diff --git a/sysutils/debhelper/pkg-plist b/sysutils/debhelper/pkg-plist
new file mode 100644
index 000000000000..5f52338d4fc7
--- /dev/null
+++ b/sysutils/debhelper/pkg-plist
@@ -0,0 +1,62 @@
+@comment $FreeBSD$
+%%SITE_PERL%%/Debian/Debhelper/Buildsystem.pm
+%%SITE_PERL%%/Debian/Debhelper/Buildsystem/ant.pm
+%%SITE_PERL%%/Debian/Debhelper/Buildsystem/autoconf.pm
+%%SITE_PERL%%/Debian/Debhelper/Buildsystem/cmake.pm
+%%SITE_PERL%%/Debian/Debhelper/Buildsystem/makefile.pm
+%%SITE_PERL%%/Debian/Debhelper/Buildsystem/perl_build.pm
+%%SITE_PERL%%/Debian/Debhelper/Buildsystem/perl_makemaker.pm
+%%SITE_PERL%%/Debian/Debhelper/Buildsystem/python_distutils.pm
+%%SITE_PERL%%/Debian/Debhelper/Buildsystem/qmake.pm
+%%SITE_PERL%%/Debian/Debhelper/Buildsystem/qmake_qt4.pm
+%%SITE_PERL%%/Debian/Debhelper/Dh_Buildsystems.pm
+%%SITE_PERL%%/Debian/Debhelper/Dh_Getopt.pm
+%%SITE_PERL%%/Debian/Debhelper/Dh_Lib.pm
+%%SITE_PERL%%/Debian/Debhelper/Sequence/python_support.pm
+bin/dh
+bin/maintscript-helper
+bin/postinst-emacsen
+bin/postinst-icons
+bin/postinst-init
+bin/postinst-init-nostart
+bin/postinst-init-restart
+bin/postinst-makeshlibs
+bin/postinst-menu
+bin/postinst-menu-method
+bin/postinst-mime
+bin/postinst-modules
+bin/postinst-moveconffile
+bin/postinst-python
+bin/postinst-sharedmimeinfo
+bin/postinst-suid
+bin/postinst-ucf
+bin/postinst-usrlocal
+bin/postinst-wm
+bin/postinst-wm-noman
+bin/postinst-xfonts
+bin/postrm-debconf
+bin/postrm-icons
+bin/postrm-init
+bin/postrm-makeshlibs
+bin/postrm-menu
+bin/postrm-menu-method
+bin/postrm-mime
+bin/postrm-modules
+bin/postrm-sgmlcatalog
+bin/postrm-sharedmimeinfo
+bin/postrm-suid
+bin/postrm-ucf
+bin/postrm-xfonts
+bin/preinst-moveconffile
+bin/preinst-sgmlcatalog
+bin/prerm-emacsen
+bin/prerm-init
+bin/prerm-init-norestart
+bin/prerm-python
+bin/prerm-usrlocal
+bin/prerm-wm
+@dirrmtry %%SITE_PERL%%/Debian/Debhelper/Sequence
+@dirrmtry %%SITE_PERL%%/Debian/Debhelper/Buildsystem
+@dirrmtry %%SITE_PERL%%/Debian/Debhelper
+@dirrmtry %%SITE_PERL%%/Debian
+@dirrmtry %%DATADIR%%