aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/jalbum/Makefile
blob: 4f7a206e32a540781103c8d43111e497d7db7fdb (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
32
33
34
35
36
37
# New ports collection makefile for:    jalbum
# Date created:             20 March 2005
# Whom:                 Tim Bishop <tim@bishnet.net>
#
# $FreeBSD$
#

PORTNAME=   jalbum
PORTVERSION=    7.3.1
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.4+
# breaks with the linux jvm
JAVA_OS=    native
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>