aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/opendis/Makefile
blob: 8ce4da68185067809508bc79515d7790702668da (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
# Created by: 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

NO_STAGE=   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>