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

PORTNAME=   jalbum
PORTVERSION=    10.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.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>