Date: Thu, 17 Oct 2002 05:38:43 -0400 (EDT) From: Trevor Johnson <trevor@jpj.net> To: marcus@FreeBSD.org Cc: gnome@FreeBSD.org Subject: ports/www/mozilla-devel: patch to generate packing list Message-ID: <20021017053604.I23203-100000@blues.jpj.net>
next in thread | raw e-mail | index | archive | help
After applying this patch, files/tar-exclude and pkg-plist can be removed. -- Trevor Johnson Index: Makefile =================================================================== RCS file: /home/ncvs/ports/www/mozilla-devel/Makefile,v retrieving revision 1.115 diff -u -r1.115 Makefile --- Makefile 4 Sep 2002 05:07:23 -0000 1.115 +++ Makefile 17 Oct 2002 02:36:46 -0000 @@ -31,7 +31,13 @@ #WITHOUT_CHATZILLA= "Contains a buffer overflow reported at http://online.securityfocus.com/archive/1/270249" -EXTRACT_AFTER_ARGS= | tar -xf - -X ${FILESDIR}/tar-exclude +EXTRACT_AFTER_ARGS= | ${TAR} -xf - --exclude */CVS/* \ + --exclude */macbuild/*\ + --exclude */package/* \ + --exclude .cvsignore \ + --exclude makefile.win \ + --exclude MANIFEST + USE_X_PREFIX= yes USE_PERL5= yes USE_GMAKE= yes @@ -64,30 +70,23 @@ --with-system-png=${LOCALBASE} \ --with-pthreads +PLIST= ${WRKDIR}/pkg-plist # LDAP is only used by mail and news so disable both together .if defined(WITHOUT_MAILNEWS) CONFIGURE_ARGS+= --disable-ldap --disable-mailnews -PLIST_SUB+= MOZILLAMAILNEWS="@comment " -PLIST_SUB+= MOZILLALDAP="@comment " .else # mail and news desired, but not LDAP .if defined(WITHOUT_LDAP) CONFIGURE_ARGS+= --disable-ldap --enable-mailnews -PLIST_SUB+= MOZILLAMAILNEWS="" -PLIST_SUB+= MOZILLALDAP="@comment " .else CONFIGURE_ARGS+= --enable-ldap --enable-mailnews -PLIST_SUB+= MOZILLAMAILNEWS="" -PLIST_SUB+= MOZILLALDAP="" -.endif +.endif .endif .if !defined(WITHOUT_CHATZILLA) CONFIGURE_ARGS+= --enable-extensions=default,irc,xmlterm -PLIST_SUB+= CHATZILLA="" .else CONFIGURE_ARGS+= --enable-extensions=default,xmlterm -PLIST_SUB+= CHATZILLA="@comment " .endif CONFIGURE_ENV= MOZ_INTERNAL_LIBART_LGPL=1 @@ -118,6 +117,15 @@ ${TOUCH} ./chrome/user-skins.rdf ./chrome/user-locales.rdf) ${FIND} ${WRKSRC}/dist/bin -type d | /usr/bin/sort -r | \ ${XARGS} ${RMDIR} 2> /dev/null || ${TRUE} + +pre-install: + ${ECHO_CMD} bin/mozilla > ${PLIST} + ${ECHO_CMD} lib/mozilla-devel/plugins/libjavaplugin_oji.so >> ${PLIST} + cd ${WRKSRC}/dist/bin && ${FIND} -s * -type f -o -type l | \ + ${SED} -e 's:^:lib/mozilla-devel/:' >> ${PLIST} \ + && ${FIND} -d * -type d | \ + ${SED} -e 's:^:@dirrm lib/mozilla-devel/:' >> ${PLIST} + ${ECHO_CMD} @dirrm lib/mozilla-devel >> ${PLIST} do-install: ${MKDIR} ${PREFIX}/lib/mozilla-devel Index: files/tar-exclude =================================================================== RCS file: /home/ncvs/ports/www/mozilla-devel/files/tar-exclude,v retrieving revision 1.1 diff -u -r1.1 tar-exclude --- files/tar-exclude 15 Feb 2002 18:44:15 -0000 1.1 +++ files/tar-exclude 17 Oct 2002 02:14:24 -0000 @@ -1,6 +0,0 @@ -*/CVS/* -*/macbuild/* -*/package/* -.cvsignore -makefile.win -MANIFEST To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-gnome" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021017053604.I23203-100000>