[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / emulators / wine

Annotation of pkgsrc/emulators/wine/Makefile, Revision 1.160

1.160   ! obache      1: # $NetBSD: Makefile,v 1.159 2011/03/09 16:57:28 drochner Exp $
1.56      adam        2:
1.148     adam        3: DISTNAME=      wine-1.0.1
1.160   ! obache      4: PKGREVISION=   8
1.56      adam        5: CATEGORIES=    emulators
1.111     adam        6: MASTER_SITES=  http://ibiblio.org/pub/linux/system/emulators/wine/ \
                      7:                ${MASTER_SITE_SOURCEFORGE:=wine/}
1.93      adam        8: EXTRACT_SUFX=  .tar.bz2
1.56      adam        9:
                     10: MAINTAINER=    adam@NetBSD.org
                     11: HOMEPAGE=      http://www.winehq.com/
1.143     dholland   12: COMMENT=       Free implementation of Windows on Unix
1.56      adam       13:
1.77      adam       14: BUILD_DEPENDS+=        fontforge-[0-9]*:../../fonts/fontforge
1.1       mycroft    15:
1.74      grant      16: ONLY_FOR_PLATFORM=     NetBSD-1.5Z*-i386 NetBSD-1.6*-i386 NetBSD-[2-9]*-i386
1.94      rillig     17: ONLY_FOR_PLATFORM+=    FreeBSD-*-i386 Linux-*-i386 SunOS-*-i386 Darwin-*-i386
1.116     wiz        18: ONLY_FOR_PLATFORM+=    *-*-x86_64
1.6       hubertf    19:
1.154     joerg      20: NOT_FOR_PLATFORM+=     NetBSD-*-x86_64
                     21:
1.144     dholland   22: PKG_DESTDIR_SUPPORT=   user-destdir
                     23:
1.105     adam       24: USE_LANGUAGES=         c
1.88      adam       25: USE_LIBTOOL=           yes
1.90      adam       26: USE_NCURSES=           yes
1.142     tnn        27: USE_TOOLS+=            bison flex gmake mktemp
1.78      adam       28: GNU_CONFIGURE=         yes
1.69      abs        29: UNLIMIT_RESOURCES=     datasize
1.31      wiz        30:
1.96      adam       31: REPLACE_PERL+=         tools/winemaker tools/winedump/function_grep.pl
1.48      wiz        32:
1.33      jlam       33: # The Wine configure script has problems locating the libraries in the
                     34: # buildlink directory, so prepend all of the LDFLAGS necessary to link
                     35: # against the libraries.
1.25      junyoung   36: #
1.99      adam       37: CONFIGURE_ENV+=                X_LIBS=${LDFLAGS:M*:Q}
1.109     rillig     38: CONFIGURE_ENV+=                CFLAGS=${CFLAGS:M*:Q}\ -DDEVOSSAUDIO="\"${DEVOSSAUDIO}\""
1.151     adam       39: CONFIGURE_ENV+=                LDD=${LDD:Q}
1.25      junyoung   40: LIBS+=                 ${LDFLAGS}
1.32      zuntum     41:
1.150     jmcneill   42: # If we're doing a 32-bit build, make sure that the appropriate
                     43: # multilib options are passed through as these values are used
                     44: # with winegcc (which wrapper doesn't handle).
                     45: .include "../../mk/bsd.prefs.mk"
1.151     adam       46: .if !empty(MACHINE_ARCH:Mi386) && ${OPSYS} != "Darwin"
1.150     jmcneill   47: CONFIGURE_ENV+=                ac_cv_prog_CC=${CC}\ -m32
                     48: CONFIGURE_ENV+=                ac_cv_prog_CXX=${CXX}\ -m32
                     49: CONFIGURE_ENV+=                ac_cv_prog_AS=${AS}\ --32
                     50: CONFIGURE_ENV+=                ac_cv_prog_LD=${LD}\ -m\ elf_i386
                     51: .endif
                     52:
1.86      wiz        53: .include "options.mk"
1.1       mycroft    54:
1.98      wiz        55: post-install:
1.143     dholland   56: .for tool in fnt2bdf
1.99      adam       57:        ${LIBTOOL} --mode=install ${INSTALL_PROGRAM} ${WRKSRC}/tools/${tool} \
1.144     dholland   58:                ${DESTDIR}${PREFIX}/bin
1.98      wiz        59: .endfor
                     60:
1.151     adam       61: .include "../../sysutils/desktop-file-utils/desktopdb.mk"
1.90      adam       62: .include "../../devel/ncurses/buildlink3.mk"
1.157     dsainty    63: .include "../../mk/jpeg.buildlink3.mk"
1.151     adam       64: .include "../../graphics/lcms/buildlink3.mk"
1.159     drochner   65: .include "../../mk/giflib.buildlink3.mk"
1.151     adam       66: .include "../../graphics/png/buildlink3.mk"
1.92      adam       67: .include "../../textproc/libxslt/buildlink3.mk"
1.143     dholland   68: .include "../../textproc/libxml2/buildlink3.mk"
1.100     jlam       69: .include "../../mk/oss.buildlink3.mk"
1.70      adam       70: .include "../../mk/pthread.buildlink3.mk"
1.5       agc        71: .include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>