mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-29 01:13:08 +00:00
Dump perl(1) for ${REINPLACE_CMD}.
This commit is contained in:
parent
16ba1df45c
commit
94e344ad3e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=144926
@ -16,20 +16,20 @@ COMMENT= Java-based Scheme implementation
|
||||
|
||||
BUILD_DEPENDS= gsed:${PORTSDIR}/textproc/gsed
|
||||
|
||||
USE_JAVA= 1.2+
|
||||
USE_PERL5_BUILD= yes
|
||||
NEED_JAVAC= yes
|
||||
CONFIGURE_ARGS= --enable-kawa-frontend --program-prefix=''
|
||||
USE_JAVA= 1.2+
|
||||
USE_REINPLACE= yes
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= --enable-kawa-frontend --program-prefix=''
|
||||
|
||||
MAN1= kawa.1
|
||||
INFO= kawa kawa-tour
|
||||
|
||||
pre-patch:
|
||||
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${PERL} -pi \
|
||||
-e 's|sed |gsed |g;' \
|
||||
-e 's|JAR = jar|JAR = ${JAR}|g;'
|
||||
${PERL} -pi -e 's|{JAVAC-javac}|{JAVAC-${JAVAC}}|g;' \
|
||||
-e 's|{JAVA-java}|{JAVA-${JAVA}}|g;' ${WRKSRC}/configure
|
||||
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} \
|
||||
-e 's|sed |gsed |g;' \
|
||||
-e 's|JAR = jar|JAR = ${JAR}|g;'
|
||||
@${REINPLACE_CMD} -e 's|{JAVAC-javac}|{JAVAC-${JAVAC}}|g;' \
|
||||
-e 's|{JAVA-java}|{JAVA-${JAVA}}|g;' ${WRKSRC}/configure
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user