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

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

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

LIB_DEPENDS=    wx_gtk-2.4.0:${PORTSDIR}/x11-toolkits/wxgtk

WRKSRC=     ${WRKDIR}/${PORTNAME}

USE_BZIP2=  yes
USE_REINPLACE=  yes
USE_GMAKE=  yes
MAKE_ENV=   CXX="${CXX}" CXXFLAGS="${CXXFLAGS}"
ALL_TARGET= default

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

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

.include <bsd.port.mk>