aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/avifile/Makefile
blob: 5a41ad1ef4a288f913d16f1fef55cd95c0a3a1db (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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
# New ports collection makefile for:   avifile
# Date created:     16 September 2000
# Whom:         Holger Lamm
#
# $FreeBSD$
#

PORTNAME=   avifile
PORTVERSION=    0.53.5
CATEGORIES= graphics
MASTER_SITES=   http://ernie.eit.uni-kl.de/avifile/ \
        http://divx.euro.ru/ \
        http://www.toon.eu.org/divx/
DISTFILES=  avifile-${PORTVERSION}.tar.gz \

MAINTAINER= holger@eit.uni-kl.de

LIB_DEPENDS=    SDL-1.1.3:${PORTSDIR}/devel/sdl-devel
RUN_DEPENDS=    ${CODEC_DETECTION_FILE}:${CODEC_PORT}

ONLY_FOR_ARCHS= i386
USE_QT2=    yes
USE_XLIB=   yes
USE_GMAKE=  yes
INSTALLS_SHLIB= yes

USE_AUTOCONF=   yes
USE_LIBTOOL=    yes
GNU_CONFIGURE=  yes
CONFIGURE_ENV=  SDL_CONFIG="${SDL_CONFIG}" \
        MOC="${MOC}" \
        CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include -L${LOCALBASE}/lib"
CONFIGURE_ARGS= --with-qt-includes=${X11BASE}/include/qt2 \
        --with-qt-libraries=${X11BASE}/lib \
        --with-win32-path=${LOCALBASE}/lib/win32 \
        --enable-release
PLIST_SUB=  LIB_VERSION="${LIB_VERSION}"

FMT=    /usr/bin/fmt

#CODEC_PORT=    ${PORTSDIR}/graphics/win32-codecs
CODEC_PORT= ${.CURDIR}/../win32-codecs
CODEC_DETECTION_FILE!=  ${MAKE} -f ${CODEC_PORT}/Makefile -V CODEC_DETECTION_FILE

LIB_VERSION=    0
# Adhoc fix. First part.
# qt is there but configure is not finding it
# Therefore, it is avoiding this directories
# At least, on lioux's homesystem with qt 2.2.3
EXTRA_BUILD_DIR=    player samples/benchmark samples/qtrecompress

SDL_CONFIG?=    ${LOCALBASE}/bin/sdl11-config
MOC?=       ${X11BASE}/bin/moc2
DIFF?=      /usr/bin/diff

.include <bsd.port.pre.mk>

# Libtool fix code kindly provided by Mr. Maxim Sobolev <sobomax@FreeBSD.org>
post-configure:
    @${PERL} -pi -e \
        's|^deplibs_check_method=.*|deplibs_check_method=pass_all|' \
            ${WRKSRC}/libtool

post-build:
.for dir in ${EXTRA_BUILD_DIR}
    (cd ${WRKSRC}/${dir} && ${SETENV} ${MAKE_ENV} ${GMAKE})
.endfor

post-install:
    @${FMT} < ${PKGMESSAGE}
    @${INSTALL_DATA} ${WRKSRC}/lib/libaviplay.la ${PREFIX}/lib
    @${LN} -sf libaviplay.so.${LIB_VERSION} ${PREFIX}/lib/libaviplay.so
# Adhoc fix. Second part.
# Install the missed applications.
.if exists(${PREFIX}/bin/aviplay)
    ${DIFF} ${WRKSRC}/player/.libs/aviplay ${PREFIX}/bin > /dev/null || \
            ${INSTALL_PROGRAM} ${WRKSRC}/player/.libs/aviplay \
                ${PREFIX}/bin
.else
    ${INSTALL_PROGRAM} ${WRKSRC}/player/.libs/aviplay ${PREFIX}/bin
.endif
.if exists(${PREFIX}/bin/benchmark)
    ${DIFF} ${WRKSRC}/samples/benchmark/.libs/benchmark \
        ${PREFIX}/bin > /dev/null || \
            ${INSTALL_PROGRAM} \
                ${WRKSRC}/samples/benchmark/.libs/benchmark \
                    ${PREFIX}/bin
.else
    ${INSTALL_PROGRAM} ${WRKSRC}/samples/benchmark/.libs/benchmark \
        ${PREFIX}/bin
.endif
.if exists(${PREFIX}/bin/qtrecompress)
    ${DIFF} ${WRKSRC}/samples/qtrecompress/.libs/qtrecompress \
        ${PREFIX}/bin > /dev/null || \
            ${INSTALL_PROGRAM} ${WRKSRC}/samples/qtrecompress/.libs/qtrecompress ${PREFIX}/bin
.else
    ${INSTALL_PROGRAM} ${WRKSRC}/samples/qtrecompress/.libs/qtrecompress \
        ${PREFIX}/bin
.endif

.include <bsd.port.post.mk>
title='2003-08-23 10:12:08 +0800'>2003-08-232-2/+2 * Update to 0.6.2perky2003-08-213-23/+19 * Add a missing dependency on py-cjkcodecsperky2003-08-201-1/+2 * Add port for GDick 0.6.1, a English<->Korean Dictionary for GTK2/GNOME2perky2003-08-206-0/+69 * Fix build on -STABLEperky2003-08-201-1/+6 * Remove dependency on libpanel.marcus2003-08-122-19/+0 * Update to 0.3perky2003-08-122-2/+2 * - Update to 0.2perky2003-08-113-7/+4 * BROKEN: Does not fetchkris2003-08-071-0/+2 * Fix mis-sorting in r1.85kris2003-08-071-1/+1 * As announced on May 6, remove the broken htexp portkris2003-08-076-104/+0 * As announced on May 6, remove the broken ghostscript55httf portkris2003-08-0711-963/+0 * As announced on May 6, remove the broken ftghostscript5 portkris2003-08-0710-661/+0 * - Pass correct CPPFLAGS and LDFLAGS to configure for libiconv and libintl.perky2003-08-061-4/+4 * Remove korean/netdic. It never worked at all and is marked BROKENperky2003-08-055-40/+0 * Add nabi 0.1, a Shiny New Hangul X Input Method.perky2003-08-055-0/+77 * BROKEN: Broken dependencykris2003-08-051-0/+2 * Update KDE to the latest official release, KDE 3.1.3lofi2003-07-292-0/+2 * Remove acroread-*font ports after removal of acroread.kuriyama2003-07-244-25/+0 * Remove ko-pycodec. It's replaced by converters/py-cjkcodecs now.perky2003-07-205-117/+0 * Unhook acroread-*font before actual deletion of each ports.kuriyama2003-07-081-1/+0 * libtool uber-patchade2003-06-271-26/+0 * Fix issues with the PGPLIB change made some time ago (broken alpha build,will2003-06-252-11/+11 * Activate korean/imhangul_status_applet, GNOME2 panel applet of imhangulcjh2003-06-036-0/+91 * Active korean/imhangul, gtk+ 2.0 Korean input method extension.cjh2003-06-035-0/+36 * Add a port for unzip with localized patches.perky2003-05-215-0/+64 * Update to KDE 3.1.2lioux2003-05-202-6/+6 * BROKEN: Does not compilekris2003-05-073-0/+6 * As announced on 27 March 2003 in <20030328052350.GA18971@rot13.obsecurity.org>,kris2003-05-061-1/+0 * As announced on 27 March 2003 in <20030328052350.GA18971@rot13.obsecurity.org>,kris2003-05-064-53/+0 * Convert to new GNOME infrastructure.marcus2003-05-051-1/+1 * Convert to new GNOME infrastructure.marcus2003-05-051-1/+1 * Add a port for ko-qt31, Localized Qt 3.1 for Korean Usersperky2003-04-255-0/+75 * Remove gnome knobarved2003-04-241-6/+2 * gdk-pixbuf is installed at ${X11BASE}.cjh2003-04-201-1/+1 * Back out my last commit to pkg-plist.arved2003-04-142-6/+0 * Activate mod_url.cjh2003-04-136-0/+53 * Convert to new GNOME infrastructure.marcus2003-04-081-7/+4 * - Nuke obsolete PREV_I18N_VER from Makefile.kdearved2003-04-086-8/+12 * Rejoice, for the long awaited upgrade to kde 3.1.1 is here!alane2003-04-064-2/+20 * o Fix build on 5 [1]perky2003-03-243-4/+25 * Clear moonlight beckons.ade2003-03-0794-47/+47 * Remove pkg-comment where COMMENT is already defined in the Makefileade2003-03-071-1/+0 * Remove pkg-comment from the remaining special cases.ade2003-03-073-1/+2 * Remove pkg-comment from remaining master/slave port sets.ade2003-03-0714-7/+8 * Destroy pkg-comment for some of the stranger uses in the tree,ade2003-03-072-1/+2 * Make BROKEN: doesn't working at all due to update of the site.perky2003-02-281-0/+2 * Release the maintainershipperky2003-02-281-1/+1 * De-pkg-comment for my ports.perky2003-02-256-3/+3 * Remove RESTRICTED tag for crypto stuff.nork2003-02-232-3/+0 * De-pkg-comment.knu2003-02-218-4/+4 * De-pkg-comment.knu2003-02-214-4/+2 * Update to 2.0.5-173.cjh2003-02-192-3/+3 * Update to 1.2.2cjh2003-02-193-6/+4 * build fix for 5-current.cjh2003-02-181-0/+11 * Update 2.0.4-172 (based on xterm-172)cjh2003-02-186-33/+28 * Upgrade to 1.2.1.perky2003-02-185-25/+60 * Convert COMMENT to COMMENTFILE until these ports can be converted.kris2003-02-102-2/+2 * add Acrobat Reader 5 CJK font packsijliao2003-02-066-7/+7 * Upgrade kde-i18n to 3.1. Note that the following modules did not get awill2003-01-294-2/+4 * New port: korean/netdicedwin2003-01-206-0/+38 * After repo copy from graphics category, update all appropriatelioux2002-11-291-1/+1 * Update to 4.8. Back from hell!cjh2002-11-2712-0/+333 * Add ko-man-doc 021120, Korean online manpage documents.perky2002-11-246-0/+1728 * Remove korean/gaim. Recent version of net/gaim(master ports ofcjh2002-11-233-32/+0 * Unbroken this ports and update to Korean Lanaguage Pack for Mozilla 1.1.cjh2002-11-239-463/+96 * Fix build on -current.cjh2002-11-232-0/+40 * - Fix build on -current(missing perl dependency)cjh2002-11-234-14/+93 * Remove ko-w3m. www/w3m-m17n will be complete and better replacement.cjh2002-11-237-203/+0 * - ak12(Korean CMap) updated(checksum updated)cjh2002-11-233-2/+6 * Fix build on -current.cjh2002-11-232-0/+22 * Add compat3x dependency. htexp binary is built on 3.2-RELEASEcjh2002-11-231-1/+2 * Use a compact tarball that have only subfont-c from MASTER_SITE_LOCALperky2002-11-202-10/+9 * Remove all netscape ports with a vulnerability of JRE.sada2002-11-1745-1333/+0 * 1. change my address.cjh2002-11-164-2/+47 * o Rollback PORTCOMMENT modifications while this feature's implementationlioux2002-11-114-4/+2 * Use PORTCOMMENT in the Makefile, and whack the pkg-comment.adamw2002-11-074-2/+4 * Half of these ones missed yesterday while converting to USE_REINPLACE.edwin2002-11-051-0/+1 * PERL -> REINPLACEedwin2002-11-041-1/+2 * PERL -> REINPLACEedwin2002-11-042-2/+5 * Fix categories to match dir containing port. bsd.port.mk (and portlint)alane2002-10-302-2/+4 * Fix build on -current (cope with removal of union wait, and removekris2002-10-262-0/+34 * Remove obsoleted port.kuriyama2002-10-196-76/+0 * The pine port was marked FORBIDDEN for security reasons 2 years ago.kris2002-10-1331-1456/+0 * 1. Removed comments from pkg-plist files per will's request.alane2002-10-114-2/+4 * BROKEN: Does not compilekris2002-10-061-0/+2 * BROKEN: Broken by master port updatekris2002-10-061-0/+2 * BROKEN: Does not patchkris2002-10-061-0/+2 * texas chainsaw kde2 massacrealane2002-09-111-1/+0 * texas chainsaw kde2 massacrealane2002-09-111-17/+0 * Update to 3.0.3. Not much changed here: [1] i18n PKGNAMEs converted towill2002-08-254-8/+4 * kr -> kombr2002-08-252-2/+2 * Change distname of MPlayer distribution to fetchable one.perky2002-08-162-2/+2 * Use MASTERDIRmbr2002-08-032-4/+4 * 1. Changed the lib depends on gettext to a build depends. This will meanalane2002-08-032-4/+4 * Bump PORTREVISION. KDE is fragile enough in its dependencies; we don'talane2002-08-022-0/+2 * Chase shlib rev of devel/gettextade2002-08-023-3/+3 * Update to 2.0.5perky2002-07-242-3/+4 * Fix MASTER_SITE_SUBDIR.will2002-07-102-2/+2 * update to 0.6.4.cjh2002-07-092-3/+3 * update to 0.59.cjh2002-07-092-6/+3 * Add mplayer-fonts 1.0,perky2002-07-077-0/+230 * Update to 3.0.2 -- full log available in ports/x11/kde3/Makefile,v 1.51.will2002-07-054-10/+10 * Updating my email address.perky2002-06-251-1/+1 * Upgrade to KDE 3.0.1. The delay in this upgrade is mainly due to thewill2002-06-166-4/+8 * Add Korean OpenOffice slave portmbr2002-06-153-0/+31 * Respect PREFIX.cjh2002-06-041-0/+5 * Don't use kldload when installing. It broke bento's packagecjh2002-05-292-5/+1 * add patch site.cjh2002-05-281-1/+2 * -current build fix.cjh2002-05-241-0/+120 * -current build fix.cjh2002-05-241-4/+17 * -current build fix.cjh2002-05-241-0/+13 * Update to 0.58.cjh2002-05-232-4/+4 * upgrade to 2.0.4ijliao2002-05-212-2/+2 * Use new domain name for Tokyo University of Science.trevor2002-05-181-1/+1 * Add ghostscript-gnu-jpnfont ghostscript-gnu-korfont ghostscript-gnu-commfontkris2002-05-151-0/+1 * Obsoleted by japanese/ghostscript-gnu-jpnfont.mita2002-05-155-64/+4 * Temporary patch fix due to BSD iconv.cjh2002-05-031-0/+3 * sync with 0.57.cjh2002-05-022-4/+4 * Update to 2.0.3pat2002-04-303-5/+35 * Please welcome Qt3/KDE3 to our ports tree. This includes work since thewill2002-04-2211-18/+503 * gettext upgrade uber-patch (stage 3)ade2002-04-131-1/+2 * - Update to 0.55-i18ncjh2002-04-083-440/+7 * Sync with 0.55cjh2002-04-082-2/+3 * Remove #include <malloc.h>kris2002-03-312-27/+22 * Remove #include <malloc.h>kris2002-03-311-0/+4 * Remove #include <malloc.h>kris2002-03-312-1/+32 * This port(and accompanied patch) need langinfo.h, and it exists onlycjh2002-03-301-0/+4 * Sync with gaim 0.54.cjh2002-03-243-164/+438 * - Update to 3.1.6cjh2002-03-214-7/+62 * Two colon needed in pre-eveything target.cjh2002-03-201-1/+1 * - remove GNOME applet support by default.cjh2002-03-201-4/+17 * Fix breakage cause by the recent freetype overhaul.sobomax2002-03-181-1/+1 * Bump PORTREVISION to reflect the (lib)iconv upgrade.knu2002-03-181-1/+1 * Iconv cleanup, stage 1b: correct {BUILD,LIB,RUN}_DEPENDS of all ports that needsobomax2002-03-182-4/+4 * Update to 2.0.2pat2002-03-163-2/+7 * Stage 1 of gettext update.ade2002-03-161-1/+1 * Adjust in accordance with the new location of freetype1 includessobomax2002-03-142-2/+2 * Update to 2.0 and bump PORTEPOCH since 2.0b2 > 2.0 SIGH!pat2002-03-072-2/+3 * Unbreak under 4-stable.cjh2002-02-271-3/+49 * Update to 2.0b2pat2002-02-184-40/+58