Date: Tue, 24 Sep 2013 23:32:31 +0000 (UTC) From: Baptiste Daroussin <bapt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r328215 - in head/devel/bsdbuild: . files Message-ID: <201309242332.r8ONWVf1029604@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bapt Date: Tue Sep 24 23:32:30 2013 New Revision: 328215 URL: http://svnweb.freebsd.org/changeset/ports/328215 Log: Fix packaging (one of the Makefile wasn't DESTDIR aware) While here fix shebang on perl scripts Added: head/devel/bsdbuild/files/ head/devel/bsdbuild/files/patch-ManReader__Makefile (contents, props changed) Modified: head/devel/bsdbuild/Makefile head/devel/bsdbuild/pkg-plist Modified: head/devel/bsdbuild/Makefile ============================================================================== --- head/devel/bsdbuild/Makefile Tue Sep 24 23:24:51 2013 (r328214) +++ head/devel/bsdbuild/Makefile Tue Sep 24 23:32:30 2013 (r328215) @@ -2,14 +2,15 @@ PORTNAME= bsdbuild PORTVERSION= 3.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel MASTER_SITES= http://stable.hypertriton.com/bsdbuild/ MAINTAINER= ports@FreeBSD.org COMMENT= BSD-licensed portable build system -USES= perl5 +USES= perl5 shebangfix +SHEBANG_FILES= *.pl mk/*.pl GNU_CONFIGURE= yes LICENSE= BSD Added: head/devel/bsdbuild/files/patch-ManReader__Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/bsdbuild/files/patch-ManReader__Makefile Tue Sep 24 23:32:30 2013 (r328215) @@ -0,0 +1,31 @@ +--- ./ManReader/Makefile.orig 2012-07-27 06:21:45.000000000 +0200 ++++ ./ManReader/Makefile 2013-09-25 01:25:39.843961894 +0200 +@@ -5,23 +5,23 @@ + all: + + install: +- @if [ ! -d "${DATADIR}/ManReader" ]; then \ ++ @if [ ! -d "${DESTDIR}${DATADIR}/ManReader" ]; then \ + echo "${INSTALL_DATA_DIR} ${DATADIR}/ManReader"; \ +- ${SUDO} ${INSTALL_DATA_DIR} ${DATADIR}/ManReader; \ ++ ${SUDO} ${INSTALL_DATA_DIR} ${DESTDIR}${DATADIR}/ManReader; \ + fi; \ + for F in ${DATAFILES}; do \ + echo "${INSTALL_DATA} $$F ${DATADIR}/ManReader"; \ +- ${SUDO} ${INSTALL_DATA} $$F ${DATADIR}/ManReader; \ ++ ${SUDO} ${INSTALL_DATA} $$F ${DESTDIR}${DATADIR}/ManReader; \ + done + + install-links: + @if [ ! -d "${DATADIR}/ManReader" ]; then \ + echo "${INSTALL_DATA_DIR} ${DATADIR}/ManReader"; \ +- ${SUDO} ${INSTALL_DATA_DIR} ${DATADIR}/ManReader; \ ++ ${SUDO} ${INSTALL_DATA_DIR} ${DESTDIR}${DATADIR}/ManReader; \ + fi; \ + for F in ${DATAFILES}; do \ + echo "ln -sf `pwd`/$$F ${DATADIR}/ManReader/$$F"; \ +- ${SUDO} ln -sf `pwd`/$$F ${DATADIR}/ManReader/$$F; \ ++ ${SUDO} ln -sf `pwd`/$$F ${DESTDIR}${DATADIR}/ManReader/$$F; \ + done + + clean: Modified: head/devel/bsdbuild/pkg-plist ============================================================================== --- head/devel/bsdbuild/pkg-plist Tue Sep 24 23:24:51 2013 (r328214) +++ head/devel/bsdbuild/pkg-plist Tue Sep 24 23:32:30 2013 (r328215) @@ -139,6 +139,7 @@ %%DATADIR%%/libtool/configure.in %%DATADIR%%/libtool/ltconfig %%DATADIR%%/libtool/ltmain.sh +%%DATADIR%%/ManReader/Mdoc.pm %%DATADIR%%/manlinks.pl %%DATADIR%%/mkconcurrent.pl %%DATADIR%%/mkdep @@ -161,5 +162,6 @@ man/man5/build.prog.mk.5.gz man/man5/build.proj.mk.5.gz man/man5/build.www.mk.5.gz @dirrmtry %%DATADIR%%/libtool +@dirrmtry %%DATADIR%%/ManReader @dirrmtry %%DATADIR%%/BSDBuild @dirrmtry %%DATADIR%%
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309242332.r8ONWVf1029604>