pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/misc - Remove DESTDIR from RPATH.
details: https://anonhg.NetBSD.org/pkgsrc/rev/9ff9ac2dc1ca
branches: trunk
changeset: 550336:9ff9ac2dc1ca
user: hira <hira%pkgsrc.org@localhost>
date: Wed Nov 19 01:54:25 2008 +0000
description:
- Remove DESTDIR from RPATH.
- Use firefox3 as default instead of firefox.
Pointed out by joerg@. Bump PKGREVISION.
diffstat:
misc/openoffice2/MESSAGE | 4 ++--
misc/openoffice2/Makefile | 15 +++++++--------
misc/openoffice2/options.mk | 4 ++--
misc/openoffice3/MESSAGE | 8 ++++----
misc/openoffice3/Makefile | 21 ++++++++++-----------
misc/openoffice3/options.mk | 4 ++--
6 files changed, 27 insertions(+), 29 deletions(-)
diffs (204 lines):
diff -r 1bea511e5aff -r 9ff9ac2dc1ca misc/openoffice2/MESSAGE
--- a/misc/openoffice2/MESSAGE Wed Nov 19 01:26:52 2008 +0000
+++ b/misc/openoffice2/MESSAGE Wed Nov 19 01:54:25 2008 +0000
@@ -1,10 +1,10 @@
===========================================================================
-$NetBSD: MESSAGE,v 1.2 2008/10/31 11:02:55 hira Exp $
+$NetBSD: MESSAGE,v 1.3 2008/11/19 01:54:25 hira Exp $
OpenOffice has now been installed in ${OO_PREFIX}.
Before using this package for the first time, each user has to run
a setup program, which is automatically invoked at the first start.
Thereafter, OpenOffice can be started using the
- ${DESTDIR}${PREFIX}/bin/soffice command.
+ ${PREFIX}/bin/soffice command.
===========================================================================
diff -r 1bea511e5aff -r 9ff9ac2dc1ca misc/openoffice2/Makefile
--- a/misc/openoffice2/Makefile Wed Nov 19 01:26:52 2008 +0000
+++ b/misc/openoffice2/Makefile Wed Nov 19 01:54:25 2008 +0000
@@ -1,10 +1,10 @@
-# $NetBSD: Makefile,v 1.58 2008/11/10 17:21:37 wiz Exp $
+# $NetBSD: Makefile,v 1.59 2008/11/19 01:54:25 hira Exp $
#
OO_VER= 2.4.2
DISTNAME= openoffice-${OO_VER}
PKGNAME= openoffice2-${OO_VER}
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= misc
MASTER_SITES= ${MASTER_SITE_OPENOFFICE:=stable/${OO_VER}/}
DIST_SUBDIR= ${DISTNAME}
@@ -124,7 +124,6 @@
PLIST_SRC= ${PKGDIR}/PLIST
PLIST_SRC+= ${WRKDIR}/PLIST
PLIST_SUBST+= OO_UNXNAME=${OO_UNXNAME}
-MESSAGE_SUBST+= DESTDIR=${DESTDIR}
MESSAGE_SUBST+= OO_PREFIX=${OO_PREFIX}
INSTALLATION_DIRS= bin lib/${OO_RELEASE} share/applications
@@ -132,7 +131,7 @@
OO_PKGPATH= ${WRKSRC}/instsetoo_native/${OPENOFFICE_OUTPATH}.pro/OpenOffice/portable/install
OO_LANGPACKPATH=${WRKSRC}/instsetoo_native/${OPENOFFICE_OUTPATH}.pro/OpenOffice_languagepack/portable/install
OO_PROGRAMS= scalc sdraw simpress soffice swriter unopkg
-OO_PREFIX= ${DESTDIR}${PREFIX}/lib/${OO_RELEASE}
+OO_PREFIX= ${PREFIX}/lib/${OO_RELEASE}
post-extract:
cd ${WRKSRC}/bridges/source/cpp_uno && \
@@ -152,7 +151,7 @@
>> ${WRKDIR}/${OO_UNXNAME}-printeradmin
do-install:
- cd ${OO_PREFIX} && \
+ cd ${DESTDIR}${OO_PREFIX} && \
for f in ${OO_PKGPATH:Q}/${OO_BASELANG}/*/*.sw; do \
tar xpf $$f; \
done; \
@@ -161,13 +160,13 @@
tar xpf $$f; \
done; \
done
- for d in ${OO_PREFIX}/share/xdg/*; do \
+ for d in ${DESTDIR}${OO_PREFIX}/share/xdg/*; do \
ln -s $$d ${DESTDIR}${PREFIX}/share/applications; \
done
- cd ${OO_PREFIX}/program && \
+ cd ${DESTDIR}${OO_PREFIX}/program && \
chmod ${SHAREMODE} hid.lst testtoolrc
for f in ${OO_PROGRAMS}; do \
- ln -sf ${OO_PREFIX}/program/$$f \
+ ln -sf ${DESTDIR}${OO_PREFIX}/program/$$f \
${DESTDIR}${PREFIX}/bin/$$f; \
done
${INSTALL_SCRIPT} ${WRKDIR}/${OO_UNXNAME} ${DESTDIR}${PREFIX}/bin
diff -r 1bea511e5aff -r 9ff9ac2dc1ca misc/openoffice2/options.mk
--- a/misc/openoffice2/options.mk Wed Nov 19 01:26:52 2008 +0000
+++ b/misc/openoffice2/options.mk Wed Nov 19 01:54:25 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.21 2008/10/31 11:02:55 hira Exp $
+# $NetBSD: options.mk,v 1.22 2008/11/19 01:54:25 hira Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.openoffice2
PKG_SUPPORTED_OPTIONS= cups gnome gtk2 kde nas ooo-external-libwpd
@@ -16,7 +16,7 @@
.for l in ${OO_SUPPORTED_LANGUAGES}
PKG_SUPPORTED_OPTIONS+= lang-${l}
.endfor
-PKG_SUGGESTED_OPTIONS= gtk2 lang-en-US firefox
+PKG_SUGGESTED_OPTIONS= firefox3 gtk2 lang-en-US
PKG_OPTIONS_LEGACY_OPTS+= gnome-vfs:gnome
.include "../../mk/bsd.options.mk"
diff -r 1bea511e5aff -r 9ff9ac2dc1ca misc/openoffice3/MESSAGE
--- a/misc/openoffice3/MESSAGE Wed Nov 19 01:26:52 2008 +0000
+++ b/misc/openoffice3/MESSAGE Wed Nov 19 01:54:25 2008 +0000
@@ -1,12 +1,12 @@
===========================================================================
-$NetBSD: MESSAGE,v 1.3 2008/10/24 11:35:28 hira Exp $
+$NetBSD: MESSAGE,v 1.4 2008/11/19 01:54:25 hira Exp $
OpenOffice.org has now been installed in ${OO_PREFIX}.
Before using this package for the first time, each user has to run
a setup program, which is automatically invoked at the first start.
Thereafter, OpenOffice can be started using the
- ${DESTDIR}${PREFIX}/bin/soffice command.
+ ${PREFIX}/bin/soffice command.
And the files of platform dependent extensions have been installed in
${OO_PREFIX}/extensions.
@@ -14,8 +14,8 @@
How to install/uninstall the extensions:
For all users (run by root):
- ${DESTDIR}${PREFIX}/bin/unopkg add --shared /path/to/extension.oxt
- ${DESTDIR}${PREFIX}/bin/unopkg remove --shared extension.oxt
+ ${PREFIX}/bin/unopkg add --shared /path/to/extension.oxt
+ ${PREFIX}/bin/unopkg remove --shared extension.oxt
Per user:
Run the above commands without `--shared' or use Extension Manager.
diff -r 1bea511e5aff -r 9ff9ac2dc1ca misc/openoffice3/Makefile
--- a/misc/openoffice3/Makefile Wed Nov 19 01:26:52 2008 +0000
+++ b/misc/openoffice3/Makefile Wed Nov 19 01:54:25 2008 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.15 2008/11/10 17:21:37 wiz Exp $
+# $NetBSD: Makefile,v 1.16 2008/11/19 01:54:25 hira Exp $
#
OO_VER= 3.0.0
-PKGREVISION= 5
+PKGREVISION= 6
OO_TAG= OOO300_m9
DISTNAME= openoffice-${OO_VER}
PKGNAME= openoffice3-${OO_VER}
@@ -130,7 +130,6 @@
PLIST_SRC+= ${PKGDIR}/PLIST
PLIST_SRC+= ${WRKDIR}/PLIST
PLIST_SUBST+= OO_UNXNAME=${OO_UNXNAME}
-MESSAGE_SUBST+= DESTDIR=${DESTDIR}
MESSAGE_SUBST+= OO_PREFIX=${OO_PREFIX}
INSTALLATION_DIRS= bin lib/${OO_RELEASE} share/applications \
lib/${OO_RELEASE}/extensions
@@ -139,7 +138,7 @@
OO_PKGPATH= ${WRKSRC}/instsetoo_native/${OPENOFFICE_OUTPATH}.pro/OpenOffice/portable/install
OO_LANGPACKPATH=${WRKSRC}/instsetoo_native/${OPENOFFICE_OUTPATH}.pro/OpenOffice_languagepack/portable/install
OO_PROGRAMS= scalc sdraw simpress soffice swriter unopkg
-OO_PREFIX= ${DESTDIR}${PREFIX}/lib/${OO_RELEASE}
+OO_PREFIX= ${PREFIX}/lib/${OO_RELEASE}
post-extract:
cd ${WRKSRC}/bridges/source/cpp_uno && \
@@ -160,7 +159,7 @@
>> ${WRKDIR}/${OO_UNXNAME}-printeradmin
do-install:
- cd ${OO_PREFIX} && \
+ cd ${DESTDIR}${OO_PREFIX} && \
for f in ${OO_PKGPATH:Q}/${OO_BASELANG}/*/*.sw; do \
tar xpf $$f; \
done; \
@@ -169,17 +168,17 @@
tar xpf $$f; \
done; \
done
- for d in ${OO_PREFIX}/${OO_UNXNAME}/share/xdg/*; do \
+ for d in ${DESTDIR}${OO_PREFIX}/${OO_UNXNAME}/share/xdg/*; do \
ln -s $$d ${DESTDIR}${PREFIX}/share/applications; \
done
- cd ${OO_PREFIX}/${OO_UNXNAME}/basis-link/program && \
+ cd ${DESTDIR}${OO_PREFIX}/${OO_UNXNAME}/basis-link/program && \
chmod ${SHAREMODE} hid.lst testtoolrc
- for f in ${OO_PROGRAMS}; do \
- ln -sf ${OO_PREFIX}/${OO_UNXNAME}/program/$$f \
- ${DESTDIR}${PREFIX}/bin/$$f; \
+ for f in ${OO_PROGRAMS}; do \
+ ln -sf ${DESTDIR}${OO_PREFIX}/${OO_UNXNAME}/program/$$f \
+ ${DESTDIR}${PREFIX}/bin/$$f; \
done
cd ${WRKDIR}/${OO_TAG}/solver/300/${OPENOFFICE_OUTPATH}.pro/bin && \
- ${INSTALL_DATA} ${OO_EXTENSIONS} ${OO_PREFIX}/extensions
+ ${INSTALL_DATA} ${OO_EXTENSIONS} ${DESTDIR}${OO_PREFIX}/extensions
${INSTALL_SCRIPT} ${WRKDIR}/${OO_UNXNAME} ${DESTDIR}${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKDIR}/${OO_UNXNAME}-printeradmin \
${DESTDIR}${PREFIX}/bin
diff -r 1bea511e5aff -r 9ff9ac2dc1ca misc/openoffice3/options.mk
--- a/misc/openoffice3/options.mk Wed Nov 19 01:26:52 2008 +0000
+++ b/misc/openoffice3/options.mk Wed Nov 19 01:54:25 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.11 2008/10/30 11:30:34 hira Exp $
+# $NetBSD: options.mk,v 1.12 2008/11/19 01:54:25 hira Exp $
#
PKG_OPTIONS_VAR= PKG_OPTIONS.openoffice3
@@ -17,7 +17,7 @@
.for l in ${OO_SUPPORTED_LANGUAGES}
PKG_SUPPORTED_OPTIONS+= lang-${l}
.endfor
-PKG_SUGGESTED_OPTIONS= firefox gtk2 lang-en-US
+PKG_SUGGESTED_OPTIONS= firefox3 gtk2 lang-en-US
PKG_OPTIONS_LEGACY_OPTS+= gnome-vfs:gnome
.include "../../mk/bsd.options.mk"
Home |
Main Index |
Thread Index |
Old Index