From 43d2efc0fc5e04d0ef908b2bb708e1732ab4ba60 Mon Sep 17 00:00:00 2001 From: Sunpoet Po-Chuan Hsieh Date: Tue, 26 Nov 2013 15:45:50 +0000 Subject: [PATCH] - Support STAGEDIR - While I'm here, use USES=gmake PR: ports/184274 Submitted by: Douglas William Thrift (maintainer) --- www/dtse/Makefile | 4 +--- www/dtse/files/patch-GNUmakefile.in | 26 ++++++++++++++++++++++++++ 2 files changed, 27 insertions(+), 3 deletions(-) create mode 100644 www/dtse/files/patch-GNUmakefile.in diff --git a/www/dtse/Makefile b/www/dtse/Makefile index 663b6ec9e63a..de9caccb42e9 100644 --- a/www/dtse/Makefile +++ b/www/dtse/Makefile @@ -20,9 +20,8 @@ USE_OPENSSL= yes CONFIGURE_ARGS+= --with-openssl=${OPENSSLBASE} .endif -USES= perl5 +USES= gmake perl5 USE_BZIP2= yes -USE_GMAKE= yes USE_AUTOTOOLS= aclocal:env automake:env autoconf:env HAS_CONFIGURE= yes @@ -32,7 +31,6 @@ MAKEFILE= GNUmakefile WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} -NO_STAGE= yes pre-configure: cd ${WRKSRC}; ${SH} autogen.sh diff --git a/www/dtse/files/patch-GNUmakefile.in b/www/dtse/files/patch-GNUmakefile.in new file mode 100644 index 000000000000..de2127a7c00e --- /dev/null +++ b/www/dtse/files/patch-GNUmakefile.in @@ -0,0 +1,26 @@ +--- ./GNUmakefile.in.orig 2013-11-24 15:43:48.000000000 -0800 ++++ ./GNUmakefile.in 2013-11-24 15:43:56.000000000 -0800 +@@ -40,16 +40,16 @@ + -include ${cxxdep} + + install: installdirs +- ${INSTALL_DATA} LICENSE LICENSE.html ${prefix} +- ${INSTALL_DATA} README README.html osi-certified-90x75.png ${prefix} +- ${INSTALL_PROGRAM} ${exe} ${bindir} +- ${INSTALL_SCRIPT} search.cgi ${prefix}/http +- ${INSTALL_DATA} dtse_pb.png ${prefix}/http ++ ${INSTALL_DATA} LICENSE LICENSE.html ${DESTDIR}${prefix} ++ ${INSTALL_DATA} README README.html osi-certified-90x75.png ${DESTDIR}${prefix} ++ ${INSTALL_PROGRAM} ${exe} ${DESTDIR}${bindir} ++ ${INSTALL_SCRIPT} search.cgi ${DESTDIR}${prefix}/http ++ ${INSTALL_DATA} dtse_pb.png ${DESTDIR}${prefix}/http + ${INSTALL_DATA} header.html body.html footer.html notfound.html \ +- pages.html ${prefix}/data ++ pages.html ${DESTDIR}${prefix}/data + + installdirs: mkinstalldirs +- ./mkinstalldirs ${bindir} ${prefix}/http ${prefix}/data ++ ./mkinstalldirs ${DESTDIR}${bindir} ${DESTDIR}${prefix}/http ${DESTDIR}${prefix}/data + + clean: + -rm -rf object ${exe} core $(patsubst %, %.core, ${exe}) $(patsubst %, \