blob: e03be24f345915593988633b6a58f3b548d356b4 (
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
40
41
42
43
44
|
# ex:ts=8
# Ports collection makefile for: multivideo
# Date created: Oct 18, 2002
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= multivideo
PORTVERSION= 0.1.0
PORTREVISION= 5
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
LIB_DEPENDS= wx_gtk2-2.4.0:${PORTSDIR}/x11-toolkits/wxgtk2
WRKSRC= ${WRKDIR}/${PORTNAME}
USE_BZIP2= yes
USE_REINPLACE= yes
USE_GMAKE= yes
MAKE_ENV= CXX="${CXX}" CXXFLAGS="${CXXFLAGS}"
ALL_TARGET= default
PLIST_FILES= bin/multivideo
WX_CONFIG= ${X11BASE}/bin/wxgtk2-2.4-config
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>
|