mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-13 03:03:15 +00:00
Clean up the logic for setting FREEBSD_ENV_SET.
Make a guess at the proper value of PACKAGE_MIDDLE for powerpc64 (needed for solver and language packs). A fixup for language packs on powerpc64 that was missed in the previous commit.
This commit is contained in:
parent
5ded5f9bf7
commit
1d63bf6a23
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=432313
@ -183,12 +183,12 @@ CPPFLAGS+= -I${LOCALBASE}/include
|
||||
.if ${ARCH} == amd64
|
||||
FREEBSD_ENV_SET= FreeBSDAMDEnv.Set.sh
|
||||
PACKAGE_MIDDLE= ${PORTVERSION}_${OPSYS}_x86-64
|
||||
.else
|
||||
.elif ${ARCH} == i386
|
||||
FREEBSD_ENV_SET= FreeBSDX86Env.Set.sh
|
||||
PACKAGE_MIDDLE= ${PORTVERSION}_${OPSYS}_x86
|
||||
.endif
|
||||
.if ${ARCH} == powerpc64
|
||||
.elif ${ARCH} == powerpc64
|
||||
FREEBSD_ENV_SET= FreeBSDPPC64Env.Set.sh
|
||||
PACKAGE_MIDDLE= ${PORTVERSION}_${OPSYS}_ppc64
|
||||
.endif
|
||||
PACKAGE_PREFIX= Apache_OpenOffice
|
||||
|
||||
|
@ -21,11 +21,11 @@ languagepack:
|
||||
@${RM} -fr ${WRKDIR}/langpack_tmp
|
||||
@${MKDIR} ${WRKDIR}/langpack_tmp
|
||||
.if defined (LOCALIZED_LANG)
|
||||
@cd ${WRKSRC}/instsetoo_native/unxfbsd?.pro/Apache_OpenOffice_languagepack/archive/install/${LOCALIZED_LANG} ; ls Apache_OpenOffice*tar.* > ${WRKDIR}/${LOCALIZED_LANG}_LANGPACK
|
||||
@cd ${WRKSRC}/instsetoo_native/unxfbsd*.pro/Apache_OpenOffice_languagepack/archive/install/${LOCALIZED_LANG} ; ls Apache_OpenOffice*tar.* > ${WRKDIR}/${LOCALIZED_LANG}_LANGPACK
|
||||
@cd ${WRKDIR}/langpack_tmp ; \
|
||||
for i in `${CAT} ${WRKDIR}/${LOCALIZED_LANG}_LANGPACK`; do \
|
||||
${ECHO_CMD} "extracting $$i" ; \
|
||||
cd ${WRKDIR}/langpack_tmp ; ${TAR} xfz ${WRKSRC}/instsetoo_native/unxfbsd?.pro/Apache_OpenOffice_languagepack/archive/install/${LOCALIZED_LANG}/$$i ; \
|
||||
cd ${WRKDIR}/langpack_tmp ; ${TAR} xfz ${WRKSRC}/instsetoo_native/unxfbsd*.pro/Apache_OpenOffice_languagepack/archive/install/${LOCALIZED_LANG}/$$i ; \
|
||||
done
|
||||
@cd ${WRKDIR}/langpack_tmp/Apache_OpenOffice*/ ; \
|
||||
${MKDIR} ../${INSTALLATION_BASEDIR} ; \
|
||||
|
Loading…
Reference in New Issue
Block a user