freebsd-ports/databases/jdbm2/Makefile
2011-03-08 08:30:52 +00:00

42 lines
851 B
Makefile

# Ports collection makefile for: jdbm2
# Date created: 25 Feb 2011
# Whom: Alex Dupre <ale@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= jdbm
PORTVERSION= 2.0
CATEGORIES= databases java
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
MAINTAINER= ale@FreeBSD.org
COMMENT= A fast, simple and transactional Java persistence engine
USE_ZIP= yes
USE_JAVA= yes
JAVA_VERSION= 1.5+
NO_BUILD= yes
PROJECTHOST= jdbm2
LATEST_LINK= jdbm2
PORTDOCS= *
PORTEXAMPLES= *
PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}.jar
do-install:
@${INSTALL_DATA} ${WRKSRC}/lib/${DISTNAME}.jar \
${JAVAJARDIR}/${PORTNAME}.jar
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
@(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} \* ${DOCSDIR})
.endif
.if !defined(NOPORTEXAMPLES)
@${MKDIR} ${EXAMPLESDIR}
@(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} \* ${EXAMPLESDIR})
.endif
.include <bsd.port.mk>