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

PORTNAME=   jalbum
PORTVERSION=    5.2
CATEGORIES= graphics java
MASTER_SITES=   ftp://ftp.i-scream.org/pub/jalbum.net/download/ \
        http://www.i-scream.org/pub/jalbum.net/download/
DISTNAME=   JAlbum-${PORTVERSION}

MAINTAINER= tim@bishnet.net
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.3+
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>