aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/opendis/Makefile
blob: 6852919200e764b4a9296bd8bd8c29d0ce18bdf1 (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
# 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=   ${MASTER_SITE_SOURCEFORGE} \
        http://ods.sourceforge.net/dl/
MASTER_SITE_SUBDIR= ods

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

USE_REINPLACE=  yes
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>