Annotation of pkgsrc/x11/tk/Makefile, revision 1.81

1.81    ! wiz         1: # $NetBSD: Makefile,v 1.80 2014/03/13 11:08:53 jperkin Exp $
1.1       jwise       2: 
1.49      minskim     3: DISTNAME=      tk${TK_VERSION}-src
                      4: PKGNAME=       tk-${TK_VERSION}
1.79      jperkin     5: PKGREVISION=   2
1.38      adam        6: CATEGORIES=    x11 lang
1.29      minskim     7: MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=tcl/}
1.1       jwise       8: 
1.63      jwise       9: MAINTAINER=    [email protected]
1.29      minskim    10: HOMEPAGE=      http://www.tcl.tk/
1.6       wiz        11: COMMENT=       Graphical toolkit for TCL
1.66      marino     12: LICENSE=       2-clause-bsd
1.1       jwise      13: 
1.49      minskim    14: .include "../../x11/tk/Makefile.version"
                     15: 
1.52      rillig     16: WRKSRC=                        ${WRKDIR}/tk${TK_VERSION}
1.38      adam       17: 
1.80      jperkin    18: USE_GCC_RUNTIME=       yes
                     19: 
1.9       jlam       20: GNU_CONFIGURE=         yes
1.52      rillig     21: CONFIGURE_DIRS=                unix
                     22: BUILD_DIRS=            ${CONFIGURE_DIRS}
1.32      jlam       23: CONFIGURE_ARGS+=       --with-tcl=${BUILDLINK_PREFIX.tcl}/lib
1.79      jperkin    24: CONFIGURE_ARGS+=       --x-includes=${X11BASE}/include
                     25: CONFIGURE_ARGS+=       --x-libraries=${X11BASE}/lib${LIBABISUFFIX:Q}
1.44      tron       26: CONFIGURE_ENV+=                LIB_RUNTIME_DIR=${PREFIX}/lib
1.43      rillig     27: PTHREAD_OPTS+=         require
1.9       jlam       28: 
1.78      obache     29: PKGCONFIG_OVERRIDE+=   unix/tk.pc.in
                     30: 
1.20      dillo      31: TEST_TARGET=           test
1.10      jlam       32: 
1.69      adam       33: .if defined(ABI) && ${ABI} == "64"
                     34: CONFIGURE_ARGS+=       --enable-64bit
                     35: .endif
                     36: 
1.67      marino     37: .include "options.mk"
1.32      jlam       38: 
1.52      rillig     39: SUBST_CLASSES+=                tk-config
                     40: SUBST_STAGE.tk-config= post-build
                     41: SUBST_FILES.tk-config= unix/tkConfig.sh
                     42: SUBST_SED.tk-config+=  -e "s|${WRKSRC}/unix|${PREFIX}/lib|"
                     43: SUBST_SED.tk-config+=  -e "s|${WRKSRC}|${PREFIX}/include/tk|"
1.41      jschauma   44: 
1.66      marino     45: PLIST_SUBST+=          SONUM=${TK_SONUM}
                     46: PLIST_SUBST+=          BASEVER=${TK_BASEVER}
                     47: 
1.79      jperkin    48: .include "../../lang/tcl/buildlink3.mk"
1.69      adam       49: .include "../../x11/libX11/buildlink3.mk"
                     50: .include "../../x11/libXext/buildlink3.mk"
                     51: .include "../../mk/pthread.buildlink3.mk"
1.1       jwise      52: .include "../../mk/bsd.pkg.mk"

CVSweb <[email protected]>