diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2005-08-02 12:42:25 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2005-08-02 12:42:25 +0800 |
commit | c07e8ddf0fda3d5436ee8a6908985f62788fe3e5 (patch) | |
tree | 75bdac40fd012f452d8ff99cbc936f5fa6661bba /www/mozilla-devel/Makefile | |
parent | 9adeb175f8a0a95959adbbfb3cd8051714e7f5da (diff) | |
download | marcuscom-ports-c07e8ddf0fda3d5436ee8a6908985f62788fe3e5.tar marcuscom-ports-c07e8ddf0fda3d5436ee8a6908985f62788fe3e5.tar.gz marcuscom-ports-c07e8ddf0fda3d5436ee8a6908985f62788fe3e5.tar.bz2 marcuscom-ports-c07e8ddf0fda3d5436ee8a6908985f62788fe3e5.tar.lz marcuscom-ports-c07e8ddf0fda3d5436ee8a6908985f62788fe3e5.tar.xz marcuscom-ports-c07e8ddf0fda3d5436ee8a6908985f62788fe3e5.tar.zst marcuscom-ports-c07e8ddf0fda3d5436ee8a6908985f62788fe3e5.zip |
Fix the installation of IDL files.
Obtained from: FreeBSD ports tree
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@4370 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'www/mozilla-devel/Makefile')
-rw-r--r-- | www/mozilla-devel/Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/www/mozilla-devel/Makefile b/www/mozilla-devel/Makefile index 0419b17e8..2514f1cc3 100644 --- a/www/mozilla-devel/Makefile +++ b/www/mozilla-devel/Makefile @@ -3,7 +3,7 @@ # Whom: eivind/dima/jseger # # $FreeBSD$ -# $MCom: ports/www/mozilla-devel/Makefile,v 1.1 2005/07/13 08:53:03 ahze Exp $ +# $MCom: ports/www/mozilla-devel/Makefile,v 1.2 2005/07/30 03:59:11 marcus Exp $ # PORTNAME?= mozilla @@ -26,6 +26,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/*\ @@ -306,7 +307,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 | \ @@ -353,7 +354,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: |