Respect WRKDIRPREFIX.

Noticed by:	dougb
Approved by:	nork (mentor/implicitly)
This commit is contained in:
Alex Dupre 2004-02-16 00:37:14 +00:00
parent 1f86ebe2c9
commit 06172e3bb0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=101002
2 changed files with 3 additions and 3 deletions

View file

@ -9,7 +9,7 @@ PKGNAMESUFFIX= -thunderbird
COMMENT= A GnuPG extension for the Thunderbird mail client
EXTRACT_DEPENDS=${LOCAL_SRCDIR}/work/mozilla/Makefile:${LOCAL_SRCDIR}:configure
EXTRACT_DEPENDS=${WRKDIRPREFIX}${LOCAL_SRCDIR}/work/mozilla/Makefile:${LOCAL_SRCDIR}:configure
RUN_DEPENDS= thunderbird:${LOCAL_SRCDIR}
MASTERDIR= ${.CURDIR}/../enigmail

View file

@ -19,7 +19,7 @@ DISTFILES= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} \
MAINTAINER= ale@FreeBSD.org
COMMENT?= A GnuPG extension for the Mozilla mail client
EXTRACT_DEPENDS?= ${LOCAL_SRCDIR}/work/mozilla/Makefile:${LOCAL_SRCDIR}:configure
EXTRACT_DEPENDS?= ${WRKDIRPREFIX}${LOCAL_SRCDIR}/work/mozilla/Makefile:${LOCAL_SRCDIR}:configure
RUN_DEPENDS?= mozilla:${LOCAL_SRCDIR}
USE_X_PREFIX= yes
@ -38,7 +38,7 @@ PLIST_SUB= LOCAL_SUBDIR=${LOCAL_SUBDIR}
do-extract:
@${RM} -rf ${WRKDIR}
@${MKDIR} ${WRKDIR}
@${CP} -R ${LOCAL_SRCDIR}/work/mozilla ${WRKSRC}
@${CP} -R ${WRKDIRPREFIX}${LOCAL_SRCDIR}/work/mozilla ${WRKSRC}
@for file in ${EXTRACT_ONLY}; do \
cd ${WRKSRC}/extensions && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${_DISTDIR}/$$file ${EXTRACT_AFTER_ARGS}; \
done