From owner-svn-ports-all@freebsd.org Fri Sep 9 13:08:15 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 68722BD2E9E; Fri, 9 Sep 2016 13:08:15 +0000 (UTC) (envelope-from tijl@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2156EC6E; Fri, 9 Sep 2016 13:08:15 +0000 (UTC) (envelope-from tijl@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u89D8EDR087378; Fri, 9 Sep 2016 13:08:14 GMT (envelope-from tijl@FreeBSD.org) Received: (from tijl@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u89D8ENG087377; Fri, 9 Sep 2016 13:08:14 GMT (envelope-from tijl@FreeBSD.org) Message-Id: <201609091308.u89D8ENG087377@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tijl set sender to tijl@FreeBSD.org using -f From: Tijl Coosemans Date: Fri, 9 Sep 2016 13:08:14 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r421615 - head/www/seamonkey-i18n X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Sep 2016 13:08:15 -0000 Author: tijl Date: Fri Sep 9 13:08:14 2016 New Revision: 421615 URL: https://svnweb.freebsd.org/changeset/ports/421615 Log: - Remove build dependency on seamonkey because NO_BUILD. - Use regular USES=zip. - Create only the linkfarm directories that are used and add them to plist with @dir instead of @exec. - Don't create symlinks in the stage directory. This is a leftover from before staging. - Don't remove ${XPI_LIBDIR} with @unexec. These are directories that cannot be removed with rm and they are already implicitly in plist. Modified: head/www/seamonkey-i18n/Makefile Modified: head/www/seamonkey-i18n/Makefile ============================================================================== --- head/www/seamonkey-i18n/Makefile Fri Sep 9 13:05:53 2016 (r421614) +++ head/www/seamonkey-i18n/Makefile Fri Sep 9 13:08:14 2016 (r421615) @@ -3,6 +3,7 @@ PORTNAME= seamonkey-i18n PORTVERSION= 2.39 +PORTREVISION= 1 CATEGORIES= www mail news editors irc MASTER_SITES= MOZILLA/${PORTNAME:S|-i18n||}/releases/${DISTVERSION}/langpack \ MOZILLA/${PORTNAME:S|-i18n||}/candidates/${DISTVERSION}-candidates/build1/langpack @@ -13,9 +14,7 @@ DIST_SUBDIR= xpi/${DISTNAME} MAINTAINER= gecko@FreeBSD.org COMMENT= Localized interface for SeaMonkey -EXTRACT_DEPENDS= zip:archivers/zip - -USES= zip:infozip gecko:seamonkey,build +USES= zip gecko:seamonkey USE_XPI= seamonkey linux-seamonkey NO_ARCH= yes @@ -59,22 +58,18 @@ do-extract: ${FIND} -H -s * ! -type d | \ ${SED} -e "s|^|lib/xpi/langpack-$$lang@seamonkey.mozilla.org/|" >> ${PLISTF}; \ done - ${ECHO} "@dir %%XPI_LIBDIR%%/symlinks/firefox" >> ${PLISTF} ${CAT} ${PLISTF} | ${SORT} >> ${PLIST} do-install: - @${MKDIR} ${STAGEDIR}${XPI_LIBDIR} ${STAGEDIR}${XPI_SLDIRS_ALL} + @${MKDIR} ${STAGEDIR}${XPI_LIBDIR} ${XPI_LINKFARMS:S,^,${STAGEDIR},} cd ${WRKSRC}; ${PAX} -rw . ${STAGEDIR}${XPI_LIBDIR} ${CHMOD} -R a+rX,go-w ${STAGEDIR}${XPI_LIBDIR}/${WDIR}/ - @for e in ${STAGEDIR}${XPI_LIBDIR}/${WDIR}; do \ - for _dir in ${XPI_LINKFARMS} ; do \ - ${LN} -sf $${_e##*/} ${STAGEDIR}$$_dir/ ${_Q} ; \ - done \ + @for sldir in ${XPI_LINKFARMS}; do \ + ${ECHO_CMD} "@dir $${sldir}" ${_A}; \ done - @${ECHO_CMD} '@exec ${INSTALL} -d ${XPI_SLDIRS_ALL:S,^${PREFIX},%D,}' ${_A} @${ECHO_CMD} '@exec for _dir in ${XPI_LINKFARMS} ; { \ ${LN} -sf ${XPI_LIBDIR}/${WDIR} $$_dir/ ${_Q}; }' ${_A} - @${ECHO_CMD} '@unexec for _dir in ${XPI_LINKFARMS} ${XPI_LIBDIR}; { ${RM} -f $$_dir/${WDIR} ; }' ${_A} + @${ECHO_CMD} '@unexec for _dir in ${XPI_LINKFARMS}; { ${RM} -f $$_dir/${WDIR} ; }' ${_A} post-patch: ${FIND} ${WRKSRC} -name install.rdf -print0 | \