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