aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/dc3play/Makefile
blob: 45d787e2d84dcf5bc4b7979a7c543de017a59448 (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
35
36
# New ports collection makefile for:    dc3play
# Date created:     15 Jul 1997
# Whom:         Jun-ichiro itojun Itoh <itojun@itojun.org>
#
# $FreeBSD$
#

PORTNAME=   dc3play
PORTVERSION=    19991202
PORTREVISION=   1
CATEGORIES= graphics
MASTER_SITES=   ftp://ftp.itojun.org/pub/digi-cam/DC-3/unix/ \
        ftp://ftp.digipri.co.jp/pub/free-software/Ricoh/DC-3/unix/

MAINTAINER= ports@FreeBSD.org

RESTRICTED= "Beta test period, redistribution prohibited"

WRKSRC=     ${WRKDIR}/${PORTNAME}/build

USE_REINPLACE=  yes
GNU_CONFIGURE=  yes
CONFIGURE_ENV=  OPTFLAG=""

post-patch:
    @${REINPLACE_CMD} -e "s|<sys/dir.h>|<dirent.h>|g" ${WRKSRC}/../src/*.c

post-install:
.if !defined(NOPORTDOCS)
    @${MKDIR} ${PREFIX}/share/doc/dc3play
.for file in PROTOCOL README.english README.japanese
    ${INSTALL_DATA} ${WRKSRC}/../${file} ${PREFIX}/share/doc/dc3play
.endfor
.endif

.include <bsd.port.mk>