- Update to 9.20140613

- Fix shebang
- Update pkg-descr
- Use single space after WWW:
- Take maintainership

Changes:	http://source.joeyh.branchable.com/?p=source.git
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2014-07-04 02:48:20 +00:00
parent 921629bca3
commit e16203444e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=360511
5 changed files with 73 additions and 73 deletions

View file

@ -2,18 +2,19 @@
# $FreeBSD$ # $FreeBSD$
PORTNAME= debhelper PORTNAME= debhelper
PORTVERSION= 9.20120909 PORTVERSION= 9.20140613
CATEGORIES= sysutils CATEGORIES= sysutils
MASTER_SITES= DEBIAN MASTER_SITES= DEBIAN
DISTFILES= ${PORTNAME}_${PORTVERSION}${EXTRACT_SUFX} DISTNAME= ${PORTNAME}_${PORTVERSION}
MAINTAINER= ports@FreeBSD.org MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Helper programs for debian/rules COMMENT= Helper programs for debian/rules
MAKE_ENV+= SITE_PERL_REL=${SITE_PERL_REL} MAKE_ARGS= PREFIX=${PREFIX} SITE_PERL=${SITE_PERL}
NO_BUILD= yes NO_BUILD= yes
USES= perl5 USES= gmake perl5 shebangfix
WRKSRC= ${WRKDIR}/${PORTNAME} WRKSRC= ${WRKDIR}/${PORTNAME}
NO_STAGE= yes SHEBANG_FILES= dh*
.include <bsd.port.mk> .include <bsd.port.mk>

View file

@ -1,2 +1,2 @@
SHA256 (debhelper_9.20120909.tar.gz) = fabcdb9c41975ea0a1ccc66d6e065e424ed7a2119f6f1a6f7bfb7d06701370af SHA256 (debhelper_9.20140613.tar.gz) = 11d02f7e45affeddf327efc923a582b3fa7ba7246a9858a2a15d5262078bcedd
SIZE (debhelper_9.20120909.tar.gz) = 464785 SIZE (debhelper_9.20140613.tar.gz) = 476444

View file

@ -1,26 +1,28 @@
--- Makefile.orig 2012-08-26 22:22:58.000000000 +0800 --- Makefile.orig 2013-11-11 03:11:15.000000000 +0800
+++ Makefile 2012-08-26 22:23:51.000000000 +0800 +++ Makefile 2014-07-01 01:06:16.800481843 +0800
@@ -78,15 +78,14 @@ @@ -88,17 +88,16 @@
done; done;
install: install:
- install -d $(DESTDIR)/usr/bin \ - install -d $(DESTDIR)$(PREFIX)/bin \
- $(DESTDIR)/usr/share/debhelper/autoscripts \ - $(DESTDIR)$(PREFIX)/share/debhelper/autoscripts \
- $(DESTDIR)$(PERLLIBDIR)/Sequence \ - $(DESTDIR)$(PERLLIBDIR)/Sequence \
- $(DESTDIR)$(PERLLIBDIR)/Buildsystem - $(DESTDIR)$(PERLLIBDIR)/Buildsystem
- install dh $(COMMANDS) $(DESTDIR)/usr/bin + install -d \
- install -m 0644 autoscripts/* $(DESTDIR)/usr/share/debhelper/autoscripts + $(DESTDIR)${SITE_PERL}/Debian/Debhelper/Sequence \
+ $(DESTDIR)${SITE_PERL}/Debian/Debhelper/Buildsystem
install dh $(COMMANDS) $(DESTDIR)$(PREFIX)/bin
- install -m 0644 autoscripts/* $(DESTDIR)$(PREFIX)/share/debhelper/autoscripts
- install -m 0644 Debian/Debhelper/*.pm $(DESTDIR)$(PERLLIBDIR) - install -m 0644 Debian/Debhelper/*.pm $(DESTDIR)$(PERLLIBDIR)
+ install -m 0644 autoscripts/* $(DESTDIR)$(PREFIX)/bin
+ install -m 0644 Debian/Debhelper/*.pm $(DESTDIR)${SITE_PERL}/Debian/Debhelper
[ "$(PREFIX)" = /usr ] || \
- sed -i '/$$prefix=/s@/usr@$(PREFIX)@g' $(DESTDIR)$(PERLLIBDIR)/Dh_Lib.pm
- install -m 0644 Debian/Debhelper/Sequence/*.pm $(DESTDIR)$(PERLLIBDIR)/Sequence - install -m 0644 Debian/Debhelper/Sequence/*.pm $(DESTDIR)$(PERLLIBDIR)/Sequence
- install -m 0644 Debian/Debhelper/Buildsystem/*.pm $(DESTDIR)$(PERLLIBDIR)/Buildsystem - install -m 0644 Debian/Debhelper/Buildsystem/*.pm $(DESTDIR)$(PERLLIBDIR)/Buildsystem
+ install -d \ + sed -i '' '/$$prefix=/s@/usr@$(PREFIX)@g' $(DESTDIR)${SITE_PERL}/Debian/Debhelper/Dh_Lib.pm
+ $(PREFIX)/${SITE_PERL_REL}/Debian/Debhelper/Sequence \ + install -m 0644 Debian/Debhelper/Sequence/*.pm $(DESTDIR)${SITE_PERL}/Debian/Debhelper/Sequence
+ $(PREFIX)/${SITE_PERL_REL}/Debian/Debhelper/Buildsystem + install -m 0644 Debian/Debhelper/Buildsystem/*.pm $(DESTDIR)${SITE_PERL}/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 test: version
./run perl -MTest::Harness -e 'runtests grep { ! /CVS/ && ! /\.svn/ && -f && -x } @ARGV' t/* t/buildsystems/* ./run perl -MTest::Harness -e 'runtests grep { ! /CVS/ && ! /\.svn/ && -f && -x } @ARGV' t/* t/buildsystems/*

View file

@ -1,7 +1,7 @@
A collection of programs that can be used in a debian/rules file to automate debhelper is a collection of programs that can be used in a debian/rules file to
common tasks related to building debian packages. Programs are included to automate common tasks related to building binary debian packages. Programs are
install various files into your package, compress files, fix file permissions, included to install various files into your package, compress files, fix file
integrate your package with the debian menu system, debconf, doc-base, etc. permissions, integrate your package with the debian menu system, etc. This will
Most debian packages use debhelper as part of their build process. be of use only to debian developers or others who wish to build debian packages.
WWW: http://joeyh.name/code/debhelper/ WWW: http://joeyh.name/code/debhelper/

View file

@ -1,3 +1,43 @@
bin/dh
bin/maintscript-helper
bin/postinst-emacsen
bin/postinst-icons
bin/postinst-init
bin/postinst-init-nostart
bin/postinst-init-restart
bin/postinst-init-tmpfiles
bin/postinst-makeshlibs
bin/postinst-menu
bin/postinst-menu-method
bin/postinst-modules
bin/postinst-moveconffile
bin/postinst-python
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-modules
bin/postrm-sgmlcatalog
bin/postrm-suid
bin/postrm-ucf
bin/postrm-xfonts
bin/preinst-emacsen
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
%%SITE_PERL%%/Debian/Debhelper/Buildsystem.pm %%SITE_PERL%%/Debian/Debhelper/Buildsystem.pm
%%SITE_PERL%%/Debian/Debhelper/Buildsystem/ant.pm %%SITE_PERL%%/Debian/Debhelper/Buildsystem/ant.pm
%%SITE_PERL%%/Debian/Debhelper/Buildsystem/autoconf.pm %%SITE_PERL%%/Debian/Debhelper/Buildsystem/autoconf.pm
@ -12,50 +52,7 @@
%%SITE_PERL%%/Debian/Debhelper/Dh_Getopt.pm %%SITE_PERL%%/Debian/Debhelper/Dh_Getopt.pm
%%SITE_PERL%%/Debian/Debhelper/Dh_Lib.pm %%SITE_PERL%%/Debian/Debhelper/Dh_Lib.pm
%%SITE_PERL%%/Debian/Debhelper/Sequence/python_support.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/Buildsystem
@dirrmtry %%SITE_PERL%%/Debian/Debhelper/Sequence
@dirrmtry %%SITE_PERL%%/Debian/Debhelper @dirrmtry %%SITE_PERL%%/Debian/Debhelper
@dirrmtry %%SITE_PERL%%/Debian @dirrmtry %%SITE_PERL%%/Debian
@dirrmtry %%DATADIR%%