Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Sep 2016 13:03:48 +0000 (UTC)
From:      Tijl Coosemans <tijl@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r421612 - head/mail/thunderbird-i18n
Message-ID:  <201609091303.u89D3m7u086797@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tijl
Date: Fri Sep  9 13:03:48 2016
New Revision: 421612
URL: https://svnweb.freebsd.org/changeset/ports/421612

Log:
  - Remove build dependency on thunderbird because NO_BUILD.
  - 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/mail/thunderbird-i18n/Makefile

Modified: head/mail/thunderbird-i18n/Makefile
==============================================================================
--- head/mail/thunderbird-i18n/Makefile	Fri Sep  9 12:02:45 2016	(r421611)
+++ head/mail/thunderbird-i18n/Makefile	Fri Sep  9 13:03:48 2016	(r421612)
@@ -3,6 +3,7 @@
 
 PORTNAME=	thunderbird-i18n
 PORTVERSION=	45.3.0
+PORTREVISION=	1
 CATEGORIES=	mail news net-im
 MASTER_SITES=	MOZILLA/${PORTNAME:S|-i18n||}/releases/${DISTVERSION}/linux-i686/xpi \
 		MOZILLA/${PORTNAME:S|-i18n||}/candidates/${DISTVERSION}-candidates/build1/linux-i686/xpi
@@ -13,7 +14,7 @@ DIST_SUBDIR=	xpi/${DISTNAME}
 MAINTAINER=	gecko@FreeBSD.org
 COMMENT=	Localized interface for Thunderbird
 
-USES=		gecko:thunderbird,build zip
+USES=		gecko:thunderbird zip
 USE_XPI=	thunderbird
 
 NO_BUILD=	yes
@@ -58,18 +59,15 @@ do-extract:
 
 
 do-install:
-	@${MKDIR} ${STAGEDIR}${XPI_LIBDIR} ${XPI_SLDIRS_ALL:S,^,${STAGEDIR},}
+	@${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 | \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201609091303.u89D3m7u086797>