aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2006-07-31 04:59:29 +0800
committermiwi <miwi@FreeBSD.org>2006-07-31 04:59:29 +0800
commit677df55f74de62224d5c00c421f04cf1a4f906aa (patch)
tree4e54c65e5a6794c265f940d6a2bebf4fc42e0f7b
parentb8ca6c094bee4fb6715f126e23af2c4c05277b20 (diff)
downloadfreebsd-ports-gnome-677df55f74de62224d5c00c421f04cf1a4f906aa.tar.gz
freebsd-ports-gnome-677df55f74de62224d5c00c421f04cf1a4f906aa.tar.zst
freebsd-ports-gnome-677df55f74de62224d5c00c421f04cf1a4f906aa.zip
- Fix file permissions
- Use DATADIR macro PR: ports/100966 Submitted by: Stanislav Sedov <ssedov(at)mbsd.msk.ru> Approved by: krion (mentor)
-rw-r--r--lang/elk/Makefile1
-rw-r--r--lang/elk/pkg-plist52
2 files changed, 27 insertions, 26 deletions
diff --git a/lang/elk/Makefile b/lang/elk/Makefile
index 1a10f6d798ed..f33e4d600cc1 100644
--- a/lang/elk/Makefile
+++ b/lang/elk/Makefile
@@ -45,6 +45,7 @@ post-install:
@${TAR} -C ${WRKSRC}/examples --exclude "*Makefile*" -cf - . | \
${TAR} -C ${EXAMPLESDIR} --unlink -xf -
@${CHOWN} -R ${SHAREMODE}:${SHAREGRP} ${EXAMPLESDIR}
+ @${FIND} ${EXAMPLESDIR}/ -type f -exec ${CHMOD} ${SHAREMODE} {} \;
.endif
.include <bsd.port.post.mk>
diff --git a/lang/elk/pkg-plist b/lang/elk/pkg-plist
index 103f201c595a..46f10101edec 100644
--- a/lang/elk/pkg-plist
+++ b/lang/elk/pkg-plist
@@ -69,31 +69,31 @@ lib/libelk.a
lib/libelk.la
lib/libelk.so
lib/libelk.so.0
-share/elk/apropos.scm
-share/elk/bitstring.scm
-share/elk/cscheme.scm
-share/elk/debug.scm
-share/elk/describe.scm
-share/elk/gdbmtest.scm
-share/elk/initscheme.scm
-share/elk/motif.scm
-share/elk/oops.scm
-share/elk/parse.scm
-share/elk/pp.scm
-share/elk/qsort.scm
-share/elk/record.scm
-share/elk/recordutil.scm
-share/elk/regexp.scm
-share/elk/safe-env.scm
-share/elk/setf.scm
-share/elk/slib.scm
-share/elk/struct.scm
-share/elk/toplevel.scm
-share/elk/trace.scm
-share/elk/unix.scm
-share/elk/xaw.scm
-share/elk/xlib.scm
-share/elk/xwidgets.scm
+%%DATADIR%%/apropos.scm
+%%DATADIR%%/bitstring.scm
+%%DATADIR%%/cscheme.scm
+%%DATADIR%%/debug.scm
+%%DATADIR%%/describe.scm
+%%DATADIR%%/gdbmtest.scm
+%%DATADIR%%/initscheme.scm
+%%DATADIR%%/motif.scm
+%%DATADIR%%/oops.scm
+%%DATADIR%%/parse.scm
+%%DATADIR%%/pp.scm
+%%DATADIR%%/qsort.scm
+%%DATADIR%%/record.scm
+%%DATADIR%%/recordutil.scm
+%%DATADIR%%/regexp.scm
+%%DATADIR%%/safe-env.scm
+%%DATADIR%%/setf.scm
+%%DATADIR%%/slib.scm
+%%DATADIR%%/struct.scm
+%%DATADIR%%/toplevel.scm
+%%DATADIR%%/trace.scm
+%%DATADIR%%/unix.scm
+%%DATADIR%%/xaw.scm
+%%DATADIR%%/xlib.scm
+%%DATADIR%%/xwidgets.scm
%%PORTDOCS%%%%EXAMPLESDIR%%/c++/class.cpp
%%PORTDOCS%%%%EXAMPLESDIR%%/c++/constructor.cpp
%%PORTDOCS%%%%EXAMPLESDIR%%/motif/drawing-area.scm
@@ -175,7 +175,7 @@ share/elk/xwidgets.scm
%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/motif
%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/c++
%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
-@dirrm share/elk
+@dirrm %%DATADIR%%
@dirrm lib/elk
@dirrm include/elk/extensions
@dirrm include/elk