diff options
author | joerg <joerg@pkgsrc.org> | 2010-02-16 16:18:14 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2010-02-16 16:18:14 +0000 |
commit | 553dc389dde9b7e3804421dd27727794eca89fa0 (patch) | |
tree | 6b54e5635085344455f36dbc59e251092c8d94a3 | |
parent | f77b6161a39f2faa00d61a85254c60b83b74e041 (diff) | |
download | pkgsrc-553dc389dde9b7e3804421dd27727794eca89fa0.tar.gz |
DESTDIR support
-rw-r--r-- | www/ap-ssl/Makefile | 52 |
1 files changed, 26 insertions, 26 deletions
diff --git a/www/ap-ssl/Makefile b/www/ap-ssl/Makefile index ac9cb5da551..8278a9eadbc 100644 --- a/www/ap-ssl/Makefile +++ b/www/ap-ssl/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.109 2010/02/10 03:55:18 dholland Exp $ +# $NetBSD: Makefile,v 1.110 2010/02/16 16:18:14 joerg Exp $ DISTNAME= mod_ssl-2.8.31-1.3.41 PKGNAME= ap13-ssl-2.8.31 @@ -11,6 +11,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.modssl.org/ COMMENT= SSL/TLS protocols module for Apache +PKG_DESTDIR_SUPPORT= user-destdir + CONFLICTS= apache-1.3.[0-9] apache-*modssl-[0-9]* apache6-[0-9]* CONFLICTS+= ap-ssl-[0-9]* @@ -64,37 +66,35 @@ SUBST_STAGE.perl= post-patch post-extract: ${CP} ${FILESDIR}/README.mkcert ${WRKSRC} -post-install: - ${INSTALL_DATA_DIR} ${EGDIR} - ${INSTALL_DATA_DIR} ${EGDIR}/ssl.crl - ${INSTALL_DATA_DIR} ${EGDIR}/ssl.crt - ${INSTALL_DATA_DIR} ${EGDIR}/ssl.csr - ${INSTALL_DATA_DIR} ${EGDIR}/ssl.key - ${INSTALL_DATA_DIR} ${EGDIR}/ssl.prm - - cd ${PREFIX}/lib/httpd; ${MV} -f libssl.so mod_ssl.so - cd ${WRKSRC}/pkg.sslsup; ${INSTALL_SCRIPT} mkcert.sh \ - ${PREFIX}/sbin/mkcert - - ${INSTALL_DATA_DIR} ${PREFIX}/share/httpd/htdocs/manual/mod/mod_ssl - cd ${WRKSRC}/pkg.ssldoc; ${INSTALL_DATA} *.html *.gif *.jpg \ - ${PREFIX}/share/httpd/htdocs/manual/mod/mod_ssl - ${INSTALL_DATA_DIR} ${PREFIX}/share/mod_ssl - cd ${WRKSRC}/pkg.contrib; ${INSTALL_SCRIPT} *.sh *.cgi \ - ${PREFIX}/share/mod_ssl - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/mod_ssl - ${INSTALL_DATA} ${WRKSRC}/README.mkcert ${PREFIX}/share/doc/mod_ssl +INSTALLATION_DIRS+= lib/httpd sbin \ + ${EGDIR}/ssl.crl ${EGDIR}/ssl.crt ${EGDIR}/ssl.csr \ + ${EGDIR}/ssl.key ${EGDIR}/ssl.prm \ + share/doc/mod_ssl \ + share/httpd/htdocs/manual/mod/mod_ssl share/mod_ssl + +do-install: + ${INSTALL_LIB} ${WRKSRC}/pkg.sslmod/libssl.so \ + ${DESTDIR}${PREFIX}/lib/httpd/mod_ssl.so + ${INSTALL_SCRIPT} ${WRKSRC}/pkg.sslsup/mkcert.sh \ + ${DESTDIR}${PREFIX}/sbin/mkcert + + cd ${WRKSRC}/pkg.ssldoc && ${INSTALL_DATA} *.html *.gif *.jpg \ + ${DESTDIR}${PREFIX}/share/httpd/htdocs/manual/mod/mod_ssl + cd ${WRKSRC}/pkg.contrib && ${INSTALL_SCRIPT} *.sh *.cgi \ + ${DESTDIR}${PREFIX}/share/mod_ssl + ${INSTALL_DATA} ${WRKSRC}/README.mkcert \ + ${DESTDIR}${PREFIX}/share/doc/mod_ssl cd ${WRKSRC}/pkg.sslcfg; ${RM} -f server.* cd ${WRKSRC}/pkg.sslcfg; ${INSTALL_DATA} README.CRL *.crl \ - ${EGDIR}/ssl.crl + ${DESTDIR}${EGDIR}/ssl.crl cd ${WRKSRC}/pkg.sslcfg; ${INSTALL_DATA} README.CRT *.crt \ - ${EGDIR}/ssl.crt + ${DESTDIR}${EGDIR}/ssl.crt cd ${WRKSRC}/pkg.sslcfg; ${INSTALL_DATA} README.CSR \ - ${EGDIR}/ssl.csr + ${DESTDIR}${EGDIR}/ssl.csr cd ${WRKSRC}/pkg.sslcfg; ${INSTALL_DATA} README.KEY *.key \ - ${EGDIR}/ssl.key + ${DESTDIR}${EGDIR}/ssl.key cd ${WRKSRC}/pkg.sslcfg; ${INSTALL_DATA} README.PRM *.prm \ - ${EGDIR}/ssl.prm + ${DESTDIR}${EGDIR}/ssl.prm .include "../../mk/bsd.pkg.mk" |