aboutsummaryrefslogtreecommitdiffstats
path: root/devel/jline
diff options
context:
space:
mode:
Diffstat (limited to 'devel/jline')
-rw-r--r--devel/jline/Makefile31
-rw-r--r--devel/jline/files/pkg-message.in (renamed from devel/jline/pkg-message)0
2 files changed, 13 insertions, 18 deletions
diff --git a/devel/jline/Makefile b/devel/jline/Makefile
index b783ff539f22..f6c2fa6f1b8c 100644
--- a/devel/jline/Makefile
+++ b/devel/jline/Makefile
@@ -1,13 +1,13 @@
# Created by: Martin Kammerhofer <mkamm@gmx.net>
# $FreeBSD$
-PORTNAME= jline
-PORTVERSION= 0.9.94
-CATEGORIES= devel java
-MASTER_SITES= SF
+PORTNAME= jline
+PORTVERSION= 0.9.94
+CATEGORIES= devel java
+MASTER_SITES= SF
MAINTAINER= mkamm@gmx.net
-COMMENT= JLine is a Java library for handling console input
+COMMENT= Java library for handling console input
LICENSE= BSD
@@ -17,8 +17,8 @@ USE_JAVA= yes
OPTIONS_DEFINE= JLINEPATCH
JLINEPATCH_DESC= Allow ConsoleRunner customized completion
JLINEJAR= ${WRKSRC}/jline-${PORTVERSION}.jar
+SUB_FILES= pkg-message
-NO_STAGE= yes
.include <bsd.port.options.mk>
# Update jar archive with patched jline.ConsoleRunner class.
@@ -31,21 +31,16 @@ do-build:
.endif
do-install:
- ${INSTALL_DATA} ${JLINEJAR} ${JAVAJARDIR}
- ${LN} -nfs ${JAVAJARDIR}/jline-${PORTVERSION}.jar \
- ${JAVAJARDIR}/jline.jar
+ ${INSTALL_DATA} ${JLINEJAR} ${STAGEDIR}${JAVAJARDIR}
+ ${LN} -nfs jline-${PORTVERSION}.jar \
+ ${STAGEDIR}${JAVAJARDIR}/jline.jar
.if ${PORT_OPTIONS:MDOCS}
- ${MKDIR} ${DOCSDIR}
- ${CP} -R ${WRKSRC}/apidocs ${WRKSRC}/examples ${DOCSDIR}
- ${INSTALL_DATA} ${FILESDIR}/JLineCompleter.py ${DOCSDIR}/examples
- ${INSTALL_DATA} ${FILESDIR}/jython.sh ${DOCSDIR}/examples
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${CP} -R ${WRKSRC}/apidocs ${WRKSRC}/examples ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${FILESDIR}/JLineCompleter.py ${STAGEDIR}${DOCSDIR}/examples
+ ${INSTALL_DATA} ${FILESDIR}/jython.sh ${STAGEDIR}${DOCSDIR}/examples
.endif
-post-install:
- @${SED} -e 's|%%JAVAJARDIR%%|${JAVAJARDIR}|g' -- \
- ${.CURDIR}/pkg-message >${PKGMESSAGE}
- @${CAT} ${PKGMESSAGE}
-
# Next rule is for maintainer use only: Automatically (re)create the pkg-plist.
plist:
@test -e ${CONFIGURE_COOKIE} || { \
diff --git a/devel/jline/pkg-message b/devel/jline/files/pkg-message.in
index f18bb7aa2243..f18bb7aa2243 100644
--- a/devel/jline/pkg-message
+++ b/devel/jline/files/pkg-message.in