1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00
freebsd-ports/databases/jdbm2/Makefile
Mathieu Arnold 21a283f3be Remove UNIQUENAME and LATEST_LINK.
UNIQUENAME was never unique, it was only used by USE_LDCONFIG and now,
we won't have conflicts there.

Use PKGBASE instead of LATEST_LINK in PKGLATESTFILE, the *only* consumer
is pkg-devel, and it works just fine without LATEST_LINK as pkg-devel
has the correct PKGNAME anyway.

Now that UNIQUENAME is gone, OPTIONSFILE is too. (it's been called
OPTIONS_FILE now.)

Reviewed by:	antoine, bapt
Exp-run by:	antoine
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D3336
2015-08-17 14:20:40 +00:00

37 lines
781 B
Makefile

# Created by: Alex Dupre <ale@FreeBSD.org>
# $FreeBSD$
PORTNAME= jdbm
PORTVERSION= 2.4
CATEGORIES= databases java
MASTER_SITES= GOOGLE_CODE
MAINTAINER= ale@FreeBSD.org
COMMENT= Fast, simple, and transactional Java persistence engine
LICENSE= APACHE20
OPTIONS_DEFINE= DOCS EXAMPLES
USES= zip
USE_JAVA= yes
JAVA_VERSION= 1.6+
NO_BUILD= yes
PROJECTHOST= jdbm2
PORTDOCS= *
PORTEXAMPLES= *
PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}.jar
do-install:
@${INSTALL_DATA} ${WRKSRC}/lib/${DISTNAME}.jar \
${STAGEDIR}${JAVAJARDIR}/${PORTNAME}.jar
@${MKDIR} ${STAGEDIR}${DOCSDIR}
@(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} \* ${STAGEDIR}${DOCSDIR})
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
@(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} \* ${STAGEDIR}${EXAMPLESDIR})
.include <bsd.port.mk>