diff options
author | Martin Blapp <mbr@FreeBSD.org> | 2002-08-14 12:55:12 +0000 |
---|---|---|
committer | Martin Blapp <mbr@FreeBSD.org> | 2002-08-14 12:55:12 +0000 |
commit | d045b7aeec6739557db31d61c7cab56ff46fc92a (patch) | |
tree | 0f65acf74d97beb0265931c19027efdd3e7a0fc0 /editors | |
parent | Update to version 9.3c. (diff) |
Add package-rename target to automate the OpenOffice.org mirror
package generation. Only useful for Ooo mirrors.
Diffstat (limited to 'editors')
-rw-r--r-- | editors/openoffice-1.0/Makefile | 10 | ||||
-rw-r--r-- | editors/openoffice.org-1.0/Makefile | 10 | ||||
-rw-r--r-- | editors/openoffice/Makefile | 10 |
3 files changed, 30 insertions, 0 deletions
diff --git a/editors/openoffice-1.0/Makefile b/editors/openoffice-1.0/Makefile index 6f2571d0b5b0..d899929ae830 100644 --- a/editors/openoffice-1.0/Makefile +++ b/editors/openoffice-1.0/Makefile @@ -397,4 +397,14 @@ post-install: @cd ${PREFIX} && ${FIND} -s ${INSTALLATION_BASEDIR} -type d > ${WRKDIR}/dir.tmp @${SORT} -r ${WRKDIR}/dir.tmp | ${XARGS} -n 1 ${ECHO_CMD} @dirrm >> ${TMPPLIST} +package-rename: + @${ECHO_MSG} "===> Rename package for OO.org mirror upload"; +.if defined(LANG_SUFFIX) + @${MV} ${WRKDIR}/../${PKGNAMEPREFIX}openoffice-${LANG_SUFFIX}-${PORTVERSION}_${PORTREVISION}.tbz2 \ + ${WRKDIR}/../OOo_${PORTVERSION}_${OPSYS}Intel_install_${LANG_PKGNAME}-${LANG_SUFFIX}.tbz2 +.else + @${MV} ${WRKDIR}/../${PKGNAMEPREFIX}openoffice-${PORTVERSION}_${PORTREVISION}.tbz2 \ + ${WRKDIR}/../OOo_${PORTVERSION}_${OPSYS}Intel_install_${LANG_PKGNAME}.tbz2 +.endif + .include <bsd.port.post.mk> diff --git a/editors/openoffice.org-1.0/Makefile b/editors/openoffice.org-1.0/Makefile index 6f2571d0b5b0..d899929ae830 100644 --- a/editors/openoffice.org-1.0/Makefile +++ b/editors/openoffice.org-1.0/Makefile @@ -397,4 +397,14 @@ post-install: @cd ${PREFIX} && ${FIND} -s ${INSTALLATION_BASEDIR} -type d > ${WRKDIR}/dir.tmp @${SORT} -r ${WRKDIR}/dir.tmp | ${XARGS} -n 1 ${ECHO_CMD} @dirrm >> ${TMPPLIST} +package-rename: + @${ECHO_MSG} "===> Rename package for OO.org mirror upload"; +.if defined(LANG_SUFFIX) + @${MV} ${WRKDIR}/../${PKGNAMEPREFIX}openoffice-${LANG_SUFFIX}-${PORTVERSION}_${PORTREVISION}.tbz2 \ + ${WRKDIR}/../OOo_${PORTVERSION}_${OPSYS}Intel_install_${LANG_PKGNAME}-${LANG_SUFFIX}.tbz2 +.else + @${MV} ${WRKDIR}/../${PKGNAMEPREFIX}openoffice-${PORTVERSION}_${PORTREVISION}.tbz2 \ + ${WRKDIR}/../OOo_${PORTVERSION}_${OPSYS}Intel_install_${LANG_PKGNAME}.tbz2 +.endif + .include <bsd.port.post.mk> diff --git a/editors/openoffice/Makefile b/editors/openoffice/Makefile index 6f2571d0b5b0..d899929ae830 100644 --- a/editors/openoffice/Makefile +++ b/editors/openoffice/Makefile @@ -397,4 +397,14 @@ post-install: @cd ${PREFIX} && ${FIND} -s ${INSTALLATION_BASEDIR} -type d > ${WRKDIR}/dir.tmp @${SORT} -r ${WRKDIR}/dir.tmp | ${XARGS} -n 1 ${ECHO_CMD} @dirrm >> ${TMPPLIST} +package-rename: + @${ECHO_MSG} "===> Rename package for OO.org mirror upload"; +.if defined(LANG_SUFFIX) + @${MV} ${WRKDIR}/../${PKGNAMEPREFIX}openoffice-${LANG_SUFFIX}-${PORTVERSION}_${PORTREVISION}.tbz2 \ + ${WRKDIR}/../OOo_${PORTVERSION}_${OPSYS}Intel_install_${LANG_PKGNAME}-${LANG_SUFFIX}.tbz2 +.else + @${MV} ${WRKDIR}/../${PKGNAMEPREFIX}openoffice-${PORTVERSION}_${PORTREVISION}.tbz2 \ + ${WRKDIR}/../OOo_${PORTVERSION}_${OPSYS}Intel_install_${LANG_PKGNAME}.tbz2 +.endif + .include <bsd.port.post.mk> |