View | Details | Raw Unified | Return to bug 204422 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile (-36 / +37 lines)
Lines 1-53 Link Here
1
# $FreeBSD$
1
# $FreeBSD$
2
2
3
PORTNAME=	artifactory
3
PORTNAME=		artifactory
4
PORTVERSION=	4.2.2
4
PORTVERSION=		4.2.2
5
CATEGORIES=	devel java
5
CATEGORIES=		devel java
6
MASTER_SITES=	https://bintray.com/artifact/download/jfrog/artifactory/
6
MASTER_SITES=		https://bintray.com/artifact/download/jfrog/artifactory/
7
DISTNAME=	jfrog-${PORTNAME}-oss-${PORTVERSION}
7
DISTNAME=		jfrog-${PORTNAME}-oss-${PORTVERSION}
8
8
9
MAINTAINER=	dharrigan@gmail.com
9
MAINTAINER=		dharrigan@gmail.com
10
COMMENT=	Universal Artifact Repository Manager
10
COMMENT=		Universal Artifact Repository Manager
11
11
12
LICENSE=	GPLv3 LGPL3 APACHE20
12
LICENSE=		GPLv3 LGPL3 APACHE20
13
LICENSE_COMB=	multi
13
LICENSE_COMB=		multi
14
LICENSE_FILE=	${WRKSRC}/COPYING ${WRKSRC}/COPYING ${WRKSRC}/tomcat/LICENSE
14
LICENSE_FILE_GPLv3=	${WRKSRC}/COPYING
15
LICENSE_FILE_LGPL3=	${WRKSRC}/COPYING.LESSER
16
LICENSE_FILE_APACHE20=	${WRKSRC}/tomcat/LICENSE
15
17
16
RUN_DEPENDS=	bash:${PORTSDIR}/shells/bash
18
RUN_DEPENDS=		bash:${PORTSDIR}/shells/bash
17
19
18
WRKSRC=		${WRKDIR}/${PORTNAME}-oss-${PORTVERSION}
20
WRKSRC=			${WRKDIR}/${PORTNAME}-oss-${PORTVERSION}
19
21
20
NO_ARCH=	yes
22
USE_JAVA=		yes
21
USE_JAVA=	yes
23
USES=			shebangfix zip
22
USES=		shebangfix zip
24
SHEBANG_FILES=		bin/artifactory.sh
23
SHEBANG_FILES=	bin/artifactory.sh
25
NO_BUILD=		yes
24
NO_BUILD=	yes
26
JAVA_VERSION=		1.8+
25
JAVA_VERSION=	1.8+
27
JAVA_VENDOR=		openjdk
26
JAVA_VENDOR=	openjdk
28
NO_ARCH=		yes
27
ONLY_FOR_ARCHS=	i386 amd64
29
USE_RC_SUBR=		${PORTNAME}
28
USE_RC_SUBR=	${PORTNAME}
29
30
30
APP_NAME=	${PORTNAME}
31
APP_NAME=		${PORTNAME}
31
APP_HOME?=	${PORTNAME}
32
APP_HOME?=		${PORTNAME}
32
PID_FILE?=	/var/run/${PORTNAME}.pid
33
PID_FILE?=		/var/run/${PORTNAME}.pid
33
VARDIR=		/var/${PORTNAME}
34
VARDIR=			/var/${PORTNAME}
34
35
35
USERS=		artifactory
36
USERS=			artifactory
36
GROUPS=		artifactory
37
GROUPS=			artifactory
37
38
38
SUB_LIST=	APP_HOME=${PREFIX}/${APP_HOME} \
39
SUB_LIST=		APP_HOME=${PREFIX}/${APP_HOME} \
39
		APP_NAME=${APP_NAME} \
40
			APP_NAME=${APP_NAME} \
40
		PID_FILE=${PID_FILE} \
41
			PID_FILE=${PID_FILE} \
41
		VARDIR=${VARDIR}
42
			VARDIR=${VARDIR}
42
43
43
SUB_FILES=	pkg-message \
44
SUB_FILES=		pkg-message \
44
45
45
PLIST_SUB=	APP_HOME=${APP_HOME} \
46
PLIST_SUB=		APP_HOME=${APP_HOME} \
46
		VARDIR=${VARDIR}
47
			VARDIR=${VARDIR}
47
48
48
do-install:
49
do-install:
49
.for f in artifactory-service.exe artifactory.bat installService.bat \
50
50
	uninstallService.bat
51
.for f in artifactory-service.exe artifactory.bat installService.bat uninstallService.bat
51
	${RM} ${WRKSRC}/bin/${f}
52
	${RM} ${WRKSRC}/bin/${f}
52
.endfor
53
.endfor
53
	${RM} ${WRKSRC}/tomcat/bin/*.bat
54
	${RM} ${WRKSRC}/tomcat/bin/*.bat

Return to bug 204422