aboutsummaryrefslogtreecommitdiffstats
path: root/www/swiggle/Makefile
blob: 1cce9f73f3ef353869d01853bbf5483362ab17aa (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
# 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.4
PORTREVISION=   4
CATEGORIES= www
MASTER_SITES=   http://homepage.univie.ac.at/l.ertl/swiggle/files/ \
        http://bsd-geek.de/FreeBSD/distfiles/

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

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

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>