0f9e612799
- update WWW PR: 163594 Submitted by: Rob Farmer <rfarmer at predatorlabs dot net> Approved by: maintainer, novel (mentor, implicit)
39 lines
931 B
Makefile
39 lines
931 B
Makefile
# New ports collection makefile for: flexdock
|
|
# Date created: 25 Nov 2009
|
|
# Whom: 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
|
|
|
|
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>
|