1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-02 06:03:50 +00:00
freebsd-ports/www/selenium/Makefile
Bernhard Froehlich 15720ca5fc
www/selenium: Add CPE information
Approved by:    portmgr (blanket)
2021-09-21 12:58:12 +00:00

45 lines
892 B
Makefile

PORTNAME= selenium
PORTVERSION= 3.141.59
CATEGORIES= www devel java
MASTER_SITES= http://selenium-release.storage.googleapis.com/3.141/
DISTNAME= selenium-server-standalone-${PORTVERSION}
EXTRACT_SUFX= .jar
EXTRACT_ONLY=
MAINTAINER= daniel@blodan.se
COMMENT= Selenium Standalone Server, allows browser testing
LICENSE= APACHE20
USES= cpe
CPE_VENDOR= jenkins
NO_ARCH= yes
USE_JAVA= yes
JAVA_VERSION= 1.8+
JAVA_RUN= yes
NO_BUILD= yes
USE_RC_SUBR= selenium
SELENIUM_HOME= ${PREFIX}/selenium
USERS= selenium
GROUPS= selenium
SUB_LIST+= JAVA_HOME=${JAVA_HOME} \
SELENIUM_VERSION=${PORTVERSION}
PLIST_FILES= \@dir\(${USERS},${GROUPS},\)\ selenium \
${DATADIR}/${DISTNAME}${EXTRACT_SUFX}
do-install:
${MKDIR} ${STAGEDIR}${DATADIR} ${STAGEDIR}${SELENIUM_HOME}
${INSTALL_DATA} ${DISTDIR}${DIST_SUBDIR}/${DISTNAME}${EXTRACT_SUFX} \
${STAGEDIR}${DATADIR}
.include <bsd.port.mk>