aboutsummaryrefslogtreecommitdiffstats
path: root/www/yaws
diff options
context:
space:
mode:
authorolgeni <olgeni@FreeBSD.org>2004-05-12 18:56:23 +0800
committerolgeni <olgeni@FreeBSD.org>2004-05-12 18:56:23 +0800
commit7bf95ad08f3928228d55ad2eb3509ef6e906dee9 (patch)
treee1895b644e694a49ce61f91c4dbd21728884b7e4 /www/yaws
parent1fe11b69d66972159ad99c835197773d3846c165 (diff)
downloadfreebsd-ports-gnome-7bf95ad08f3928228d55ad2eb3509ef6e906dee9.tar.gz
freebsd-ports-gnome-7bf95ad08f3928228d55ad2eb3509ef6e906dee9.tar.zst
freebsd-ports-gnome-7bf95ad08f3928228d55ad2eb3509ef6e906dee9.zip
Also install source, to aid debugging of embedded applications (as other
otp applications do).
Diffstat (limited to 'www/yaws')
-rw-r--r--www/yaws/Makefile4
-rw-r--r--www/yaws/pkg-plist24
2 files changed, 27 insertions, 1 deletions
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