From 1e3112b643c0ad80f4ea02401d072ed9e53523f9 Mon Sep 17 00:00:00 2001 From: olgeni Date: Thu, 24 Jun 2004 10:59:40 +0000 Subject: Add symlink for easier dependency specification. --- www/yaws/Makefile | 5 ++++- www/yaws/pkg-plist | 2 ++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/www/yaws/Makefile b/www/yaws/Makefile index 8d59a1ca36ec..795280d2f9ed 100644 --- a/www/yaws/Makefile +++ b/www/yaws/Makefile @@ -7,7 +7,7 @@ PORTNAME= yaws PORTVERSION= 1.48 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= www MASTER_SITES= http://yaws.hyber.org/download/ @@ -66,4 +66,7 @@ do-install: @${INSTALL_DATA} ${WRKSRC}/doc/yaws.pdf ${DOCSDIR} .endif +post-install: + @${LN} -sf ${PORTNAME}-${PORTVERSION} ${PREFIX}/lib/erlang/lib/${PORTNAME} + .include diff --git a/www/yaws/pkg-plist b/www/yaws/pkg-plist index b609c5a42f17..d6f6c52b431b 100644 --- a/www/yaws/pkg-plist +++ b/www/yaws/pkg-plist @@ -256,3 +256,5 @@ www/yaws/ybed.erl %%PORTDOCS%%@dirrm %%DOCSDIR%% @exec mkdir -p /var/log/yaws @unexec rmdir /var/log/yaws 2>/dev/null || true +@exec ln -sf yaws-%%VERSION%% %D/lib/erlang/lib/yaws +@unexec rm -f %D/lib/erlang/lib/yaws -- cgit