FreeBSD Bugzilla – Attachment 143778 Details for
Bug 191036
[patch] Added stage support to devel/antlrworks
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
Added stage support to antlrworks
antlrworks-staging.patch.txt (text/plain), 1.71 KB, created by
joe
on 2014-06-14 20:18:59 UTC
(
hide
)
Description:
Added stage support to antlrworks
Filename:
MIME Type:
Creator:
joe
Created:
2014-06-14 20:18:59 UTC
Size:
1.71 KB
patch
obsolete
>diff --git a/devel/antlrworks/Makefile b/devel/antlrworks/Makefile >index f16ca9d..3d1409c 100644 >--- a/devel/antlrworks/Makefile >+++ b/devel/antlrworks/Makefile >@@ -28,20 +28,18 @@ PLIST_FILES= bin/antlrworks \ > ${JAVAJARDIR:C,${PREFIX}/?,,}/${PORTNAME}.jar \ > share/pixmaps/antlrworks.png > >-NO_STAGE= yes >+SUB_FILES= pkg-message >+SUB_LIST= JAVAJARDIR=${JAVAJARDIR} PORTNAME=${PORTNAME} >+ > do-install: > ${SED} -e 's|%%JAVAJARDIR%%|${JAVAJARDIR}|' \ > -e 's|%%LOCALBASE%%|${LOCALBASE}|' \ > -e 's|%%PORTNAME%%|${PORTNAME}|' \ > -e 's|%%JAVA_VERSION%%|${JAVA_VERSION}|' ${FILESDIR}/antlrworks.sh > ${WRKDIR}/antlrworks.sh > >- @${MKDIR} ${JAVAJARDIR} >- @${ECHO_MSG} -n ">> Installing JAR as ${JAVAJARDIR}/${PORTNAME}.jar..." >- @${INSTALL_DATA} ${DISTDIR}/${DISTFILES} ${JAVAJARDIR}/${PORTNAME}.jar >- @${ECHO_MSG} " [ DONE ]" >- @${ECHO_MSG} -n ">> Installing antlrworks script as ${PREFIX}/bin/antlrworks..." >- @${INSTALL_SCRIPT} ${WRKDIR}/antlrworks.sh ${PREFIX}/bin/antlrworks >- @${ECHO_MSG} " [ DONE ]" >- @${INSTALL_DATA} ${WRKDIR}/icons/app_64x64.png ${PREFIX}/share/pixmaps/antlrworks.png >+ @${MKDIR} ${STAGEDIR}${JAVAJARDIR} >+ @${INSTALL_DATA} ${DISTDIR}/${DISTFILES} ${STAGEDIR}${JAVAJARDIR}/${PORTNAME}.jar >+ @${INSTALL_SCRIPT} ${WRKDIR}/antlrworks.sh ${STAGEDIR}${PREFIX}/bin/antlrworks >+ @${INSTALL_DATA} ${WRKDIR}/icons/app_64x64.png ${STAGEDIR}${PREFIX}/share/pixmaps/antlrworks.png > > .include <bsd.port.mk> >diff --git a/devel/antlrworks/files/pkg-message.in b/devel/antlrworks/files/pkg-message.in >new file mode 100644 >index 0000000..b2de17c >--- /dev/null >+++ b/devel/antlrworks/files/pkg-message.in >@@ -0,0 +1,2 @@ >+>> Installing JAR as %%JAVAJARDIR%%/%%PORTNAME%%.jar... >+>> Installing antlrworks script as %%PREFIX%%/bin/antlrworks...
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 191036
: 143778