summaryrefslogtreecommitdiff
path: root/editors/openoffice/Makefile
diff options
context:
space:
mode:
authorMartin Blapp <mbr@FreeBSD.org>2002-08-14 12:55:12 +0000
committerMartin Blapp <mbr@FreeBSD.org>2002-08-14 12:55:12 +0000
commitd045b7aeec6739557db31d61c7cab56ff46fc92a (patch)
tree0f65acf74d97beb0265931c19027efdd3e7a0fc0 /editors/openoffice/Makefile
parentUpdate to version 9.3c. (diff)
Add package-rename target to automate the OpenOffice.org mirror
package generation. Only useful for Ooo mirrors.
Notes
Notes: svn path=/head/; revision=64495
Diffstat (limited to 'editors/openoffice/Makefile')
-rw-r--r--editors/openoffice/Makefile10
1 files changed, 10 insertions, 0 deletions
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>