Release Notes: https://commons.apache.org/proper/commons-dbutils/changes-report.html Improve port: - replace PORTVERSION with DISTVERSION - switched jar installation to use ${DISTVERSION} for flexibility - replaced deprecated %%JAVAJARDIR%% with ${JAVAJARDIR} in PLIST_FILES - pet portclippy - take maintainership PR: 286484
36 lines
781 B
Makefile
36 lines
781 B
Makefile
PORTNAME= commons-dbutils
|
|
DISTVERSION= 1.8.1
|
|
CATEGORIES= databases java
|
|
MASTER_SITES= APACHE_COMMONS_BINARIES
|
|
PKGNAMEPREFIX= apache-
|
|
DISTNAME= ${PORTNAME}-${DISTVERSION}-bin
|
|
|
|
MAINTAINER= atanubiswas484@gmail.com
|
|
COMMENT= JDBC helper library
|
|
WWW= https://commons.apache.org/proper/commons-dbutils/
|
|
|
|
LICENSE= APACHE20
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
|
|
|
|
USES= java
|
|
|
|
NO_ARCH= yes
|
|
NO_BUILD= yes
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION}
|
|
PLIST_FILES= ${JAVAJARDIR}/${PORTNAME}.jar
|
|
|
|
PORTDOCS= *
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
do-install:
|
|
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}-${DISTVERSION}.jar \
|
|
${STAGEDIR}${JAVAJARDIR}/${PORTNAME}.jar
|
|
|
|
do-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
@cd ${WRKSRC}/apidocs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|