diff options
author | olgeni <olgeni@FreeBSD.org> | 2004-06-24 18:59:40 +0800 |
---|---|---|
committer | olgeni <olgeni@FreeBSD.org> | 2004-06-24 18:59:40 +0800 |
commit | 1e3112b643c0ad80f4ea02401d072ed9e53523f9 (patch) | |
tree | c94bc41b40368f020b5f4aa60db52cfd485dd341 | |
parent | 47bbe99d9aa96eb2cab3d2d8af81a30364be298d (diff) | |
download | freebsd-ports-gnome-1e3112b643c0ad80f4ea02401d072ed9e53523f9.tar.gz freebsd-ports-gnome-1e3112b643c0ad80f4ea02401d072ed9e53523f9.tar.zst freebsd-ports-gnome-1e3112b643c0ad80f4ea02401d072ed9e53523f9.zip |
Add symlink for easier dependency specification.
-rw-r--r-- | www/yaws/Makefile | 5 | ||||
-rw-r--r-- | www/yaws/pkg-plist | 2 |
2 files changed, 6 insertions, 1 deletions
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 <bsd.port.post.mk> 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 |