summaryrefslogtreecommitdiff
path: root/japanese/citrix_xenapp/Makefile
diff options
context:
space:
mode:
authorThomas Abthorpe <tabthorpe@FreeBSD.org>2010-01-25 15:12:57 +0000
committerThomas Abthorpe <tabthorpe@FreeBSD.org>2010-01-25 15:12:57 +0000
commit9c7a01ed9a7b2746dbfcb24d0ce04f763da30b1d (patch)
treec3ef6a7eb9a72b4a97f814afe28c17d234b051c9 /japanese/citrix_xenapp/Makefile
parent- Use SUB_FILES/LIST in lieu of sed (diff)
- Use SUB_FILES/LIST in lieu of sed
- No PORTREVISION bump needed PR: ports/143104 Submitted by: Sevan Janiyan <venture37 geeklan.co.uk>
Notes
Notes: svn path=/head/; revision=248558
Diffstat (limited to 'japanese/citrix_xenapp/Makefile')
-rw-r--r--japanese/citrix_xenapp/Makefile11
1 files changed, 5 insertions, 6 deletions
diff --git a/japanese/citrix_xenapp/Makefile b/japanese/citrix_xenapp/Makefile
index ee7970309456..d98547db3f14 100644
--- a/japanese/citrix_xenapp/Makefile
+++ b/japanese/citrix_xenapp/Makefile
@@ -34,6 +34,9 @@ PLIST_SUB+= HAVE_ICA_CERTS="" ICA_CERTS="${ICA_CERTS}" CERTDIR="${CERTDIR}"
PLIST_SUB+= HAVE_ICA_CERTS="@comment "
.endif
+SUB_FILES= wfcmgr wfica
+SUB_LIST= CDIR=${CDIR}
+
.include <bsd.port.pre.mk>
.if defined(BATCH) || defined(PACKAGE_BUILDING)
@@ -78,13 +81,9 @@ do-install:
${ECHO} "-----------------------------------------------------------" ; \
${FALSE} ; \
fi
- ${SED} s%DESTINATION%${CDIR}% < ${FILESDIR}/wfcmgr \
- > ${WRKSRC}/wfcmgr.x
- ${SED} s%DESTINATION%${CDIR}% < ${FILESDIR}/wfica \
- > ${WRKSRC}/wfica.x
cd ${WRKSRC} && ${SH} -c './setupwfc'
- ${INSTALL_SCRIPT} ${WRKSRC}/wfcmgr.x ${PREFIX}/bin/wfcmgr
- ${INSTALL_SCRIPT} ${WRKSRC}/wfica.x ${PREFIX}/bin/wfica
+ ${INSTALL_SCRIPT} ${WRKDIR}/wfcmgr ${PREFIX}/bin/wfcmgr
+ ${INSTALL_SCRIPT} ${WRKDIR}/wfica ${PREFIX}/bin/wfica
${MKDIR} ${LINUXBASE}/dev
# XXX: This is missing a "${BRANDELF} -t Linux <executables>".