- Support STAGEDIR

- While I'm here, use USES=gmake

PR:		ports/184274
Submitted by:	Douglas William Thrift <douglas@douglasthrift.net> (maintainer)
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2013-11-26 15:45:50 +00:00
parent 85c1629e8b
commit 43d2efc0fc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=334949
2 changed files with 27 additions and 3 deletions

View File

@ -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

View File

@ -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 %, \