freebsd-ports/devel/flexdock/Makefile

36 lines
849 B
Makefile

# Created by: Otacilio de Araujo Ramos Neto <otacilio.neto@bsd.com.br>
# $FreeBSD$
PORTNAME= flexdock
PORTVERSION= 1.1
CATEGORIES= devel java
MASTER_SITES= http://java.net/downloads/${PORTNAME}/
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
MAINTAINER= otacilio.neto@bsd.com.br
COMMENT= Swing windowing and docking framework
USE_ZIP= yes
USE_ANT= yes
USE_JAVA= yes
NO_WRKSUBDIR= yes
ALL_TARGET= dist
PLIST_FILES= ${JAVAJARDIR:C^${PREFIX}/^^}/${PORTNAME}.jar
PORTDOCS= "User Guide.pdf" api
NO_STAGE= yes
do-install:
${INSTALL_DATA} ${WRKSRC}/build/${PORTNAME}-${PORTVERSION}.jar ${JAVAJARDIR}/${PORTNAME}.jar
post-install:
.if !defined(NOPORTDOCS)
@${ECHO_MSG} -n ">> Installing documentation files..."
@${MKDIR} ${DOCSDIR}
@(cd ${WRKSRC}/build/docs && ${COPYTREE_SHARE} \* ${DOCSDIR})
@${ECHO_MSG} " [ DONE ]"
.endif
.include <bsd.port.mk>