From 547e6f8a3d7f68b31c392345c88f4e772521e8f5 Mon Sep 17 00:00:00 2001 From: Adam Weinberger Date: Sun, 18 Jan 2004 07:27:03 +0000 Subject: Remove mozilla-headers. This integrates the headers from mozilla-headers and mozilla-headers-devel into mozilla and mozilla-devel. --- www/mozilla/Makefile | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'www/mozilla') diff --git a/www/mozilla/Makefile b/www/mozilla/Makefile index 7862580a2c89..255b8a97546b 100644 --- a/www/mozilla/Makefile +++ b/www/mozilla/Makefile @@ -7,7 +7,7 @@ PORTNAME?= mozilla PORTVERSION= 1.6 -PORTREVISION?= 0 +PORTREVISION?= 1 PORTEPOCH?= 2 CATEGORIES?= www MASTER_SITES= ${MASTER_SITE_MOZILLA} \ @@ -258,6 +258,11 @@ pre-install: for pcfile in ${PKGCONFIG_FILES}; do \ ${ECHO_CMD} libdata/pkgconfig/$${pcfile}${MOZ_SUFX}${PKGNAMESUFFIX}.pc >> ${PLIST} ; \ done + cd ${WRKSRC}/dist/include && ${FIND} -s * -type f -o -type l | \ + ${SED} -e 's:^:include/mozilla/:' >> ${PLIST} \ + && ${FIND} -d * -type d | \ + ${SED} -e 's:^:@dirrm include/mozilla/:' >> ${PLIST} + ${ECHO_CMD} @dirrm include/mozilla >> ${PLIST} do-install: ${MKDIR} ${PREFIX}/lib/${MOZILLA} @@ -284,6 +289,11 @@ do-install: ${INSTALL_DATA} ${WRKSRC}/build/unix/$${pcfile}.pc \ ${PREFIX}/libdata/pkgconfig/$${pcfile}${MOZ_SUFX}${PKGNAMESUFFIX}.pc ; \ done + -${RM} -fr ${PREFIX}/include/mozilla + ${MKDIR} ${PREFIX}/include/mozilla + ${CHMOD} 755 ${PREFIX}/include/mozilla + cd ${WRKSRC}/dist/include && ${FIND} . | \ + cpio -pdm -L -R ${LIBOWN}:${LIBGRP} ${PREFIX}/include/mozilla post-install: @${CHMOD} -R u-w ${PREFIX}/lib/${MOZILLA}/components -- cgit v1.2.3