aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/multivideo/Makefile
blob: 520b3bf3e5334966d71d0530e58da058269f2973 (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
37
38
39
# ex:ts=8
# Ports collection makefile for:    multivideo
# Date created:         Oct 18, 2002
# Whom:             ijliao
#
# $FreeBSD$
#

PORTNAME=   multivideo
PORTVERSION=    0.1.0
PORTREVISION=   10
CATEGORIES= graphics
MASTER_SITES=   http://www.lis.inpg.fr/pages_perso/bonnaud/multivideo/download/
DISTNAME=   ${PORTNAME}-${PORTVERSION}-src

MAINTAINER= ports@FreeBSD.org
COMMENT=    An image sequence viewer

WRKSRC=     ${WRKDIR}/${PORTNAME}

USE_BZIP2=  yes
USE_GMAKE=  yes
USE_WX=     2.4
ALL_TARGET= default

PLIST_FILES=    bin/multivideo

post-patch:
    @${REINPLACE_CMD} -e 's|g++|\$$\(CXX)|g ; \
         s|-O2 -g -Wall -W|\$$\(CXXFLAGS\)|g ; \
         s|[(]CC[)]|\(CXX\)|g ; \
         s|gcc|\$$\(CXX\)|g ; \
         s|wx-config|${WX_CONFIG}|g' \
            ${WRKSRC}/Makefile

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/multivideo ${PREFIX}/bin

.include <bsd.port.mk>