aboutsummaryrefslogtreecommitdiffstats
path: root/www/seamonkey/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/seamonkey/Makefile')
-rw-r--r--www/seamonkey/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/www/seamonkey/Makefile b/www/seamonkey/Makefile
index 8c77129ea870..8aa77dc116b8 100644
--- a/www/seamonkey/Makefile
+++ b/www/seamonkey/Makefile
@@ -25,6 +25,7 @@ LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
WRKSRC= ${WRKDIR}/${PORTNAME}
MOZILLA?= mozilla-devel
MOZ_SUFX?= -devel
+MOZ_VER?= ${PORTVERSION:S/.b1/b1/}
LATEST_LINK= ${MOZILLA}
EXTRACT_AFTER_ARGS= | ${TAR} -xf - --exclude */CVS/* \
--exclude */macbuild/*\
@@ -305,7 +306,7 @@ pre-install:
${ECHO_CMD} @dirrm include/${MOZILLA} >> ${PLIST}
${ECHO_CMD} "@exec ${LOCALBASE}/bin/update-desktop-database > /dev/null || ${TRUE}" >> ${PLIST}
${ECHO_CMD} "@unexec ${LOCALBASE}/bin/update-desktop-database > /dev/null || ${TRUE}" >> ${PLIST}
- cd ${FAKEDIR}/share/idl/${MOZILLA}-${PORTVERSION} \
+ cd ${FAKEDIR}/share/idl/${MOZILLA}-${MOZ_VER} \
&& ${FIND} -s * -type f -o -type l | \
${SED} -e 's:^:share/idl/${MOZILLA}/:' >> ${PLIST} \
&& ${FIND} -d * -type d | \
@@ -352,7 +353,7 @@ do-install:
${INSTALL_DATA} ${WRKDIR}/mozilla-devel.desktop \
${PREFIX}/share/applications
${MKDIR} ${PREFIX}/share/idl/${MOZILLA}
- cd ${FAKEDIR}/share/idl/${MOZILLA}-${PORTVERSION} && ${FIND} . | \
+ cd ${FAKEDIR}/share/idl/${MOZILLA}-${MOZ_VER} && ${FIND} . | \
${CPIO} -pdm -L -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/idl/${MOZILLA}
post-install: