aboutsummaryrefslogtreecommitdiffstats
path: root/devel/esdl
diff options
context:
space:
mode:
authorolgeni <olgeni@FreeBSD.org>2003-07-19 20:39:04 +0800
committerolgeni <olgeni@FreeBSD.org>2003-07-19 20:39:04 +0800
commit623b66178e968a6320bff4da3977c32a1a5057a0 (patch)
tree4abc7b0ea7a93747ef61106a164f2e0e560cfec6 /devel/esdl
parent41c65ee85d3bac94c1c0742d539b5301ba45785f (diff)
downloadfreebsd-ports-gnome-623b66178e968a6320bff4da3977c32a1a5057a0.tar.gz
freebsd-ports-gnome-623b66178e968a6320bff4da3977c32a1a5057a0.tar.zst
freebsd-ports-gnome-623b66178e968a6320bff4da3977c32a1a5057a0.zip
Add symlink into erlang's lib/ directory, for cleaner dependency
specification.
Diffstat (limited to 'devel/esdl')
-rw-r--r--devel/esdl/Makefile4
-rw-r--r--devel/esdl/pkg-plist2
2 files changed, 6 insertions, 0 deletions
diff --git a/devel/esdl/Makefile b/devel/esdl/Makefile
index 3a3e64457fff..bc84f96fd9b5 100644
--- a/devel/esdl/Makefile
+++ b/devel/esdl/Makefile
@@ -7,6 +7,7 @@
PORTNAME= esdl
PORTVERSION= 0.93.0526
+PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -29,4 +30,7 @@ MAKE_ENV= SDL_CONFIG="${SDL_CONFIG}"
ALL_TARGET= target
PLIST_SUB= VERSION="${PORTVERSION}"
+post-install:
+ @${LN} -sf ${PORTNAME}-${PORTVERSION} ${PREFIX}/lib/erlang/lib/${PORTNAME}
+
.include <bsd.port.mk>
diff --git a/devel/esdl/pkg-plist b/devel/esdl/pkg-plist
index d3d13e057395..45caa210f6cc 100644
--- a/devel/esdl/pkg-plist
+++ b/devel/esdl/pkg-plist
@@ -84,3 +84,5 @@ lib/erlang/lib/esdl-%%VERSION%%/vsn
@dirrm lib/erlang/lib/esdl-%%VERSION%%/doc
@dirrm lib/erlang/lib/esdl-%%VERSION%%/c_src
@dirrm lib/erlang/lib/esdl-%%VERSION%%
+@exec ln -sf esdl-%%VERSION%% %D/lib/erlang/lib/esdl
+@unexec rm -f %D/lib/erlang/lib/esdl