mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-11 07:22:22 +00:00
Support stage
This commit is contained in:
parent
cdb9cf76b4
commit
d538535e66
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=340586
@ -6,11 +6,13 @@ PORTVERSION= 1.4.0
|
||||
CATEGORIES= devel java
|
||||
MASTER_SITES= http://www.muntjak.de/hans/java/tinylaf/
|
||||
DISTNAME= ${PORTNAME}-${PORTVERSION:S/./_/g}
|
||||
EXTRACT_SUFX= .zip
|
||||
|
||||
MAINTAINER= ayu@commun.jp
|
||||
COMMENT= A pluggable Look and Feel for Java
|
||||
COMMENT= Pluggable Look and Feel for Java
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
USE_ZIP= yes
|
||||
USE_JAVA= yes
|
||||
JAVA_VERSION= 1.6+
|
||||
NO_BUILD= yes
|
||||
@ -19,15 +21,11 @@ JARFILE= ${PORTNAME}.jar tinycp.jar
|
||||
PORTDOCS= readme.html gpl.txt lgpl.txt
|
||||
PLIST_FILES= ${JARFILE:S|^|%%JAVAJARDIR%%/|}
|
||||
|
||||
NO_STAGE= yes
|
||||
do-install:
|
||||
${INSTALL_DATA} ${JARFILE:S|^|${WRKSRC}/|} ${JAVAJARDIR}
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
${INSTALL_DATA} ${JARFILE:S|^|${WRKSRC}/|} ${STAGEDIR}${JAVAJARDIR}
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
.for f in readme.html license/gpl.txt license/lgpl.txt
|
||||
@${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
|
||||
.endfor
|
||||
@${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user