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

PORTNAME=   divxcalc
PORTVERSION=    0.2
CATEGORIES= graphics
MASTER_SITES=   http://tuxpower.f2g.net/divxcalc/

MAINTAINER= ports@FreeBSD.org

BUILD_DEPENDS=  ${LOCALBASE}/share/automake14/automake/install-sh:${PORTSDIR}/devel/automake14

USE_REINPLACE=  yes
USE_GTK=    yes
USE_GMAKE=  yes
GNU_CONFIGURE=  yes
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib"

post-patch:
    @${REINPLACE_CMD} -e "s,Bison ,Bison,g" ${WRKSRC}/configure

pre-configure:
.for file in config.guess config.sub install-sh missing mkinstalldirs
    @${LN} -sf ${LOCALBASE}/share/automake14/automake/${file} ${WRKSRC}
.endfor

.include <bsd.port.mk>