diff options
author | tron <tron> | 2000-08-23 14:43:26 +0000 |
---|---|---|
committer | tron <tron> | 2000-08-23 14:43:26 +0000 |
commit | 82dab5be6f733dbaa690e79834fcdee6b9374fc7 (patch) | |
tree | 4ddd1fe1bf9832fbe746ba41bfdd9a12f8ce13f0 /x11/gnome-core | |
parent | 0ba2cc2f38e17d856b08a1f39deac15042e9548d (diff) | |
download | pkgsrc-82dab5be6f733dbaa690e79834fcdee6b9374fc7.tar.gz |
Use "#!${LOCALBASE}/bin/perl" instead of "#!/usr/bin/perl" in perl scripts.
Diffstat (limited to 'x11/gnome-core')
-rw-r--r-- | x11/gnome-core/Makefile | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/x11/gnome-core/Makefile b/x11/gnome-core/Makefile index f9635dafcf0..ade0c30084c 100644 --- a/x11/gnome-core/Makefile +++ b/x11/gnome-core/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.47 2000/07/31 10:41:55 jlam Exp $ +# $NetBSD: Makefile,v 1.48 2000/08/23 14:43:26 tron Exp $ DISTNAME= gnome-core-1.2.1 CATEGORIES= x11 gnome @@ -32,6 +32,16 @@ CONFIGURE_ENV+= ESD_CFLAGS="${ESD_CFLAGS}" \ LOCALBASE=${LOCALBASE} X11BASE=${X11BASE} \ CPPFLAGS="${CPPFLAGS}" +PERL_SCRIPTS= help-browser/gnome-convert help-browser/gnome-download + +post-patch: + cd ${WRKSRC}; \ + for FILE in ${PERL_SCRIPTS}; do \ + ${CP} $$FILE $${FILE}.orig; \ + ${SED} -e 's#/usr/bin/perl#${LOCALBASE}/bin/perl#g' \ + <$${FILE}.orig >$$FILE; \ + done + post-install: for lang in C da es it no; do \ ${RMDIR} ${PREFIX}/share/gnome/help/gnome-terminal/$${lang}/figures; \ |