From e258b7a507cf57f4ebca82315635b7488a3f73ff Mon Sep 17 00:00:00 2001 From: Jimmy Olgeni Date: Wed, 12 May 2004 10:56:23 +0000 Subject: [PATCH] Also install source, to aid debugging of embedded applications (as other otp applications do). --- www/yaws/Makefile | 4 +++- www/yaws/pkg-plist | 24 ++++++++++++++++++++++++ 2 files changed, 27 insertions(+), 1 deletion(-) diff --git a/www/yaws/Makefile b/www/yaws/Makefile index 4efc2d29489d..fdd0e5201ce1 100644 --- a/www/yaws/Makefile +++ b/www/yaws/Makefile @@ -7,7 +7,7 @@ PORTNAME= yaws PORTVERSION= 1.45 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= www MASTER_SITES= http://yaws.hyber.org/download/ @@ -50,10 +50,12 @@ do-install: @${MKDIR} ${APPDIR}/ebin @${MKDIR} ${APPDIR}/include @${MKDIR} ${APPDIR}/priv + @${MKDIR} ${APPDIR}/src @${MKDIR} ${PREFIX}/www/yaws @${INSTALL_DATA} ${WRKSRC}/ebin/* ${APPDIR}/ebin @${INSTALL_DATA} ${WRKSRC}/priv/* ${APPDIR}/priv @${INSTALL_DATA} ${WRKSRC}/include/* ${APPDIR}/include + @${INSTALL_DATA} ${WRKSRC}/src/*.erl ${APPDIR}/src @cd ${WRKSRC}/www && (${FIND} * | ${CPIO} -pu ${PREFIX}/www/yaws) @${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/www/yaws @${INSTALL_MAN} ${WRKSRC}/man/*.1 ${MANPREFIX}/man/man1 diff --git a/www/yaws/pkg-plist b/www/yaws/pkg-plist index 2864fb5cc26b..774a6c48efe4 100644 --- a/www/yaws/pkg-plist +++ b/www/yaws/pkg-plist @@ -28,6 +28,29 @@ lib/erlang/lib/yaws-%%VERSION%%/include/yaws.hrl lib/erlang/lib/yaws-%%VERSION%%/include/yaws_api.hrl lib/erlang/lib/yaws-%%VERSION%%/priv/mime.types lib/erlang/lib/yaws-%%VERSION%%/priv/setuid_drv.so +lib/erlang/lib/yaws-%%VERSION%%/src/mime_type_c.erl +lib/erlang/lib/yaws-%%VERSION%%/src/mime_types.erl +lib/erlang/lib/yaws-%%VERSION%%/src/yaws.erl +lib/erlang/lib/yaws-%%VERSION%%/src/yaws_404.erl +lib/erlang/lib/yaws-%%VERSION%%/src/yaws_api.erl +lib/erlang/lib/yaws-%%VERSION%%/src/yaws_app.erl +lib/erlang/lib/yaws-%%VERSION%%/src/yaws_cgi.erl +lib/erlang/lib/yaws-%%VERSION%%/src/yaws_compile.erl +lib/erlang/lib/yaws-%%VERSION%%/src/yaws_config.erl +lib/erlang/lib/yaws-%%VERSION%%/src/yaws_ctl.erl +lib/erlang/lib/yaws-%%VERSION%%/src/yaws_debug.erl +lib/erlang/lib/yaws-%%VERSION%%/src/yaws_html.erl +lib/erlang/lib/yaws-%%VERSION%%/src/yaws_log.erl +lib/erlang/lib/yaws-%%VERSION%%/src/yaws_log_file_h.erl +lib/erlang/lib/yaws-%%VERSION%%/src/yaws_ls.erl +lib/erlang/lib/yaws-%%VERSION%%/src/yaws_revproxy.erl +lib/erlang/lib/yaws-%%VERSION%%/src/yaws_server.erl +lib/erlang/lib/yaws-%%VERSION%%/src/yaws_session_server.erl +lib/erlang/lib/yaws-%%VERSION%%/src/yaws_ssl.erl +lib/erlang/lib/yaws-%%VERSION%%/src/yaws_sup.erl +lib/erlang/lib/yaws-%%VERSION%%/src/yaws_ticker.erl +lib/erlang/lib/yaws-%%VERSION%%/src/yaws_vsn.erl +lib/erlang/lib/yaws-%%VERSION%%/src/yaws_zlib.erl www/yaws/END www/yaws/EXHEAD www/yaws/HEAD @@ -219,6 +242,7 @@ www/yaws/ybed.erl @dirrm www/yaws/icons/small @dirrm www/yaws/icons @dirrm www/yaws +@dirrm lib/erlang/lib/yaws-%%VERSION%%/src @dirrm lib/erlang/lib/yaws-%%VERSION%%/priv @dirrm lib/erlang/lib/yaws-%%VERSION%%/include @dirrm lib/erlang/lib/yaws-%%VERSION%%/ebin