diff options
| author | Vanilla I. Shu <vanilla@FreeBSD.org> | 2014-06-14 15:43:02 +0000 |
|---|---|---|
| committer | Vanilla I. Shu <vanilla@FreeBSD.org> | 2014-06-14 15:43:02 +0000 |
| commit | fbe2c333d2fb225ccd308e6892c9d4a324cbb69e (patch) | |
| tree | b262f767761d24eaf86e4ab34b7b4975ef816cec /devel/jline | |
| parent | 802a06ea127c16d2159b12a95a3eed44c84c014d (diff) | |
Notes
Diffstat (limited to 'devel/jline')
| -rw-r--r-- | devel/jline/Makefile | 31 | ||||
| -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 |
