mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-22 08:58:47 +00:00
- Use SUB_FILES/LIST in lieu of sed
- No PORTREVISION bump needed PR: ports/143104 Submitted by: Sevan Janiyan <venture37 geeklan.co.uk>
This commit is contained in:
parent
203ff805e9
commit
9c7a01ed9a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=248558
@ -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>".
|
||||
|
||||
|
@ -1,3 +1,3 @@
|
||||
#!/bin/sh
|
||||
export ICAROOT=DESTINATION
|
||||
export ICAROOT=%%CDIR%%
|
||||
exec $ICAROOT/wfcmgr
|
@ -1,3 +1,3 @@
|
||||
#!/bin/sh
|
||||
export ICAROOT=DESTINATION
|
||||
export ICAROOT=%%CDIR%%
|
||||
exec $ICAROOT/wfica "$@"
|
@ -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>".
|
||||
|
||||
|
@ -1,3 +1,3 @@
|
||||
#!/bin/sh
|
||||
export ICAROOT=DESTINATION
|
||||
export ICAROOT=%%CDIR%%
|
||||
exec $ICAROOT/wfcmgr
|
@ -1,3 +1,3 @@
|
||||
#!/bin/sh
|
||||
export ICAROOT=DESTINATION
|
||||
export ICAROOT=%%CDIR%%
|
||||
exec $ICAROOT/wfica "$@"
|
@ -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>".
|
||||
|
||||
|
@ -1,3 +1,3 @@
|
||||
#!/bin/sh
|
||||
export ICAROOT=DESTINATION
|
||||
export ICAROOT=%%CDIR%%
|
||||
exec $ICAROOT/wfcmgr
|
@ -1,3 +1,3 @@
|
||||
#!/bin/sh
|
||||
export ICAROOT=DESTINATION
|
||||
export ICAROOT=%%CDIR%%
|
||||
exec $ICAROOT/wfica "$@"
|
Loading…
Reference in New Issue
Block a user