aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/opendis/Makefile
blob: 34bf20cddf61402a584790e92a87c6dd7e0bed8b (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:    opendis
# Date created:     22 May 2001
# Whom:         Anders Nordby <anders@fix.no>
#
# $FreeBSD$
#

PORTNAME=   opendis
PORTVERSION=    0.0.3
PORTREVISION=   1
CATEGORIES= graphics
MASTER_SITES=   SF/ods/ods/${PORTVERSION} \
        http://ods.sourceforge.net/dl/


MAINTAINER= ports@FreeBSD.org
COMMENT=    Access Flashpoint Digita-based cameras, download images and more

GNU_CONFIGURE=  yes

post-patch:
    @${REINPLACE_CMD} -e 's|-pedantic -W|-pedantic|g' ${WRKSRC}/configure
    @${REINPLACE_CMD} -e 's| -g| @CFLAGS@|g' ${WRKSRC}/src/Makefile.in

post-install:
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
.for file in NEWS AUTHORS doc/ERRATA doc/PHILOSOPHY doc/THUMB
    ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>