Lines 7-12
Link Here
|
7 |
|
7 |
|
8 |
PORTNAME= avifile |
8 |
PORTNAME= avifile |
9 |
PORTVERSION= 0.60.20010429 |
9 |
PORTVERSION= 0.60.20010429 |
|
|
10 |
PORTREVISION= 1 |
10 |
CATEGORIES= graphics |
11 |
CATEGORIES= graphics |
11 |
MASTER_SITES= http://ernie.eit.uni-kl.de/avifile/ \ |
12 |
MASTER_SITES= http://ernie.eit.uni-kl.de/avifile/ \ |
12 |
http://divx.euro.ru/ \ |
13 |
http://divx.euro.ru/ \ |
Lines 34-42
Link Here
|
34 |
CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include -L${LOCALBASE}/lib" |
35 |
CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include -L${LOCALBASE}/lib" |
35 |
CONFIGURE_ARGS= --with-win32-path=${LOCALBASE}/lib/win32 \ |
36 |
CONFIGURE_ARGS= --with-win32-path=${LOCALBASE}/lib/win32 \ |
36 |
--enable-release --with-gnu-ld |
37 |
--enable-release --with-gnu-ld |
37 |
.if defined(WITH_MGA) |
|
|
38 |
CONFIGURE_ARGS+=--enable-mga |
39 |
.endif |
40 |
|
38 |
|
41 |
PLIST_SUB= LIB_VERSION="${LIB_VERSION}" |
39 |
PLIST_SUB= LIB_VERSION="${LIB_VERSION}" |
42 |
|
40 |
|
Lines 59-68
Link Here
|
59 |
.include <bsd.port.pre.mk> |
57 |
.include <bsd.port.pre.mk> |
60 |
|
58 |
|
61 |
pre-extract: |
59 |
pre-extract: |
62 |
.if !defined(WITH_MGA) |
60 |
@if [ -f ${LOCALBASE}/lib/libpth.so ]; then \ |
63 |
@${ECHO_MSG} "You can enable special MGA support by building with -DWITH_MGA." |
61 |
${ECHO_MSG} "Error: This packet does not compile when the \ |
64 |
.endif |
62 |
packet 'pth' is installed.";\ |
65 |
|
63 |
${FALSE};\ |
|
|
64 |
fi |
66 |
do-configure: |
65 |
do-configure: |
67 |
(cd ${WRKSRC} && aclocal && ./autogen.sh &&\ |
66 |
(cd ${WRKSRC} && aclocal && ./autogen.sh &&\ |
68 |
${CONFIGURE_ENV} ./configure ${CONFIGURE_ARGS}) |
67 |
${CONFIGURE_ENV} ./configure ${CONFIGURE_ARGS}) |