summaryrefslogtreecommitdiff
path: root/graphics/jalbum/Makefile
blob: d62675cc5e1ed522c3d181c2c2c9467bd281b062 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Created by: Tim Bishop <tim@bishnet.net>
# $FreeBSD$

PORTNAME=	jalbum
PORTVERSION=	10.10.7
CATEGORIES=	graphics java
MASTER_SITES=	http://jalbum.net/download/
DISTNAME=	jAlbum${PORTVERSION}

MAINTAINER=	tdb@FreeBSD.org
COMMENT=	Web photo album generator

RUN_DEPENDS=	java:${PORTSDIR}/java/javavmwrapper

WRKSRC=		${WRKDIR}/jAlbum

USE_ZIP=	yes
NO_BUILD=	yes

USE_JAVA=	yes
JAVA_VERSION=	1.5+
DATADIR=	${JAVASHAREDIR}/${PORTNAME}

SUB_FILES=	jalbum.sh

do-install:
	${MKDIR} ${DATADIR}
	cd ${WRKSRC} && ${TAR} -cf - * | ${TAR} -xf - -C ${DATADIR}
	${INSTALL_SCRIPT} ${WRKDIR}/jalbum.sh ${PREFIX}/bin/jalbum

.include <bsd.port.mk>