1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00
freebsd-ports/java/servingxml/Makefile
Rodrigo Osorio 06df180a9e */*: Update WWW to use HTTPS for sourceforge.net projects
Homepage link is permanent redirected to its HTTPS counterpart
Issue reported by repology : https://repology.org/repository/freebsd/problems

Approved by:	portmgr (blanket)
PR:		274888
2023-11-06 11:03:47 +01:00

29 lines
742 B
Makefile

PORTNAME= servingxml
PORTVERSION= 1.1.2
CATEGORIES= java devel
MASTER_SITES= SF
MAINTAINER= jpbeconne@free.fr
COMMENT= Framework for flat/XML data transformations
WWW= https://servingxml.sourceforge.net/
BUILD_DEPENDS= ${ANT_CMD}:devel/apache-ant
USES= zip
USE_JAVA= yes
ANT_CMD?= ${LOCALBASE}/bin/ant
ANT= ${SETENV} JAVA_HOME=${JAVA_HOME} ${ANT_CMD}
ANT_TARGETS= dist
JAVA_BUILD= yes
do-build:
@cd ${WRKSRC} && ${ANT} ${ANT_TARGETS}
do-install:
${MKDIR} ${STAGEDIR}${JAVASHAREDIR}/${PORTNAME}
(cd ${WRKSRC}/target/${PORTNAME} && ${COPYTREE_SHARE} . ${STAGEDIR}${JAVASHAREDIR}/${PORTNAME})
${CHMOD} 555 ${STAGEDIR}${JAVASHAREDIR}/${PORTNAME}
${CHMOD} 555 ${STAGEDIR}${JAVASHAREDIR}/${PORTNAME}/${PORTNAME}
.include <bsd.port.mk>