aboutsummaryrefslogtreecommitdiffstats
path: root/www/swiggle/Makefile
blob: 3587a2f0d389b196258ad8a84fd2709bfc843652 (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
# New ports collection Makefile for:    swiggle
# Date created:             19 Feb 2003
# Whom:                 Josef El-Rayes <j.el-rayes@daemon.li>
#
# $FreeBSD$

PORTNAME=   swiggle
PORTVERSION=    0.3.3
CATEGORIES= www
MASTER_SITES=   http://homepage.univie.ac.at/l.ertl/swiggle/files/ \
        http://www.daemon.li/distfiles/

MAINTAINER= josef@FreeBSD.org
COMMENT=    Swiggle is a commandline web image gallery generator

LIB_DEPENDS=    jpeg.9:${PORTSDIR}/graphics/jpeg:install \
        exif.10:${PORTSDIR}/graphics/libexif:install

USE_REINPLACE=  yes

post-patch:
    ${REINPLACE_CMD} -e 's,/usr/local,${LOCALBASE},g' ${WRKSRC}/Makefile

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/swiggle ${PREFIX}/bin

post-install:
.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif

.include <bsd.port.mk>