mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-08 06:48:28 +00:00
40 lines
991 B
Makefile
40 lines
991 B
Makefile
# Created by: Thierry Thomas <thierry@pompo.net>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= looks
|
|
DISTVERSION= 2_6_0
|
|
CATEGORIES= devel java
|
|
MASTER_SITES= http://www.jgoodies.com/download/libraries/${PORTNAME}/ \
|
|
LOCAL/makc
|
|
DISTNAME= jgoodies-${PORTNAME}-${DISTVERSION}
|
|
|
|
MAINTAINER= makc@FreeBSD.org
|
|
COMMENT= Improved appearance for Java Swing applications
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
|
|
USES= zip
|
|
USE_JAVA= yes
|
|
JAVA_VERSION= 1.6+
|
|
NO_BUILD= yes
|
|
|
|
WRKSRC= ${WRKDIR}/jgoodies-${PORTNAME}-${PORTVERSION}
|
|
|
|
JARFILE= jgoodies-${PORTNAME}-${PORTVERSION}.jar
|
|
|
|
PLIST_FILES= %%JAVAJARDIR%%/${JARFILE} \
|
|
%%JAVAJARDIR%%/looks.jar
|
|
DOCFILES= README.html RELEASE-NOTES.txt
|
|
PORTDOCS= *
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
do-install:
|
|
${INSTALL_DATA} ${WRKSRC}/${JARFILE} ${STAGEDIR}${JAVAJARDIR}
|
|
${LN} -sf ${JARFILE} ${STAGEDIR}${JAVAJARDIR}/looks.jar
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${DOCFILES:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
|
(cd ${WRKSRC}/docs/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
|
|
|
|
.include <bsd.port.mk>
|