1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-11 07:22:22 +00:00
freebsd-ports/devel/cfr/Makefile
Mathieu Arnold cf118ccf87
One more small cleanup, forgotten yesterday.
Reported by:	lwhsu
2021-04-07 10:09:01 +02:00

35 lines
781 B
Makefile

PORTNAME= cfr
DISTVERSION= 0.151
CATEGORIES= devel java
MASTER_SITES= http://www.benf.org/other/cfr/ \
https://www.benf.org/other/cfr/ \
https://github.com/leibnitz27/cfr/releases/download/${DISTVERSION}/
EXTRACT_SUFX= .jar
EXTRACT_ONLY=
MAINTAINER= 0mp@FreeBSD.org
COMMENT= Class File Reader (CFR) Java decompiler
# http://www.benf.org/other/cfr/license.html
LICENSE= MIT
USE_JAVA= yes
JAVA_RUN= jre
NO_ARCH= yes
NO_BUILD= yes
PLIST_FILES= ${JAVAJARDIR}/cfr.jar
_JARFILE= ${PORTNAME}.jar
do-install:
${INSTALL_DATA} ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} \
${STAGEDIR}${JAVAJARDIR}/${_JARFILE}
do-test:
# Find out if the decompiler works.
${JAVA} -jar ${STAGEDIR}${JAVAJARDIR}/${_JARFILE} \
${STAGEDIR}${JAVAJARDIR}/${_JARFILE} >/dev/null
.include <bsd.port.mk>