1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-10 07:04:03 +00:00
freebsd-ports/java/hamcrest/Makefile
2021-05-19 20:56:15 +01:00

30 lines
922 B
Makefile

# Created by: Danilo Egea Gondolfo <danilo@FreeBSD.org
PORTNAME= hamcrest
PORTVERSION= 1.3
CATEGORIES= java devel
MASTER_SITES= http://repo1.maven.org/maven2/org/${PORTNAME}/${PORTNAME}-all/${PORTVERSION}/
DISTFILES= ${PORTNAME}-all-${PORTVERSION}.jar ${PORTNAME}-all-${PORTVERSION}-sources.jar
EXTRACT_ONLY=
MAINTAINER= ports@FreeBSD.org
COMMENT= Library of matchers for building test expressions
USE_JAVA= yes
NO_BUILD= yes
DATADIR= ${JAVASHAREDIR}/${PORTNAME}
PLIST_FILES= %%JAVAJARDIR%%/hamcrest.jar \
%%JAVAJARDIR%%/hamcrest1.3.jar \
%%DATADIR%%/src.jar
do-install:
${INSTALL_DATA} ${DISTDIR}/${PORTNAME}-all-${PORTVERSION}.jar \
${STAGEDIR}${JAVAJARDIR}/${PORTNAME}.jar
${LN} -sf ${PORTNAME}.jar ${STAGEDIR}${JAVAJARDIR}/${PORTNAME}1.3.jar
@${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${DISTDIR}/${PORTNAME}-all-${PORTVERSION}-sources.jar \
${STAGEDIR}${DATADIR}/src.jar
.include <bsd.port.mk>