freebsd-ports/devel/thistest/Makefile
Edwin Groothuis 090059a210 Bump portrevision due to upgrade of devel/gettext.
The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).

PR:             ports/124340
Submitted by:   edwin@
Approved by:    portmgr (pav)
2008-06-06 14:17:21 +00:00

50 lines
1.2 KiB
Makefile

# New ports collection makefile for: thistest
# Date created: 2007-12-24
# Whom: alepulver
#
# $FreeBSD$
#
PORTNAME= thistest
PORTVERSION= 1.2.1
PORTREVISION= 2
CATEGORIES= devel java
MASTER_SITES= #
DISTNAME= thisTest
EXTRACT_SUFX= .jar
MAINTAINER= alepulver@FreeBSD.org
COMMENT= A Java unit testing framework
USE_JAVA= yes
JAVA_VERSION= 1.5+
USE_ANT= yes
NO_WRKSUBDIR= yes
RESTRICTED= Redistribution of pre-compiled binaries is not permitted
JARFILE= ${DISTNAME}${EXTRACT_SUFX}
.include <bsd.port.pre.mk>
.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
IGNORE= needs you to download ${DISTNAME}${EXTRACT_SUFX} manually from "http://www.flosoft-systems.com" and place it under ${DISTDIR}
.endif
post-build:
@(${ECHO_CMD} '#!${SH}'; \
${ECHO_CMD} 'exec ${JAVA} -jar ${JAVAJARDIR}/${JARFILE} "$$@"') \
> ${WRKSRC}/${PORTNAME}
do-extract:
@${MKDIR} ${WRKDIR}
@cd ${WRKDIR} && jar fx ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}
@${CP} ${FILESDIR}/build.xml ${WRKDIR}
do-install:
${INSTALL_DATA} ${WRKSRC}/${JARFILE} ${JAVAJARDIR}
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
.if !defined(NOPORTDOCS)
cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${DOCSDIR}
.endif
.include <bsd.port.post.mk>