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

Annotation of pkgsrc/x11/fltk13/Makefile, Revision 1.23

1.23    ! dbj         1: # $NetBSD: Makefile,v 1.22 2016/01/26 08:47:28 dbj Exp $
1.1       is          2:
1.20      markd       3: DISTNAME=      fltk-1.3.3-source
1.23    ! dbj         4: PKGREVISION=   2
1.1       is          5: PKGNAME=       ${DISTNAME:S/-source//}
                      6: VERS=          ${DISTNAME:S/fltk-//:S/-source//}
                      7: CATEGORIES=    x11
1.13      ryoon       8: MASTER_SITES=  http://fltk.org/pub/fltk/${VERS}/
1.1       is          9:
                     10: MAINTAINER=    pkgsrc-users@NetBSD.org
                     11: HOMEPAGE=      http://www.fltk.org/
                     12: COMMENT=       Fast Light Tool Kit for graphical user interfaces
                     13: LICENSE=       gnu-lgpl-v2
                     14:
                     15: WRKSRC=                        ${WRKDIR}/${DISTNAME:S/-source//}
                     16: USE_LANGUAGES=         c c++
                     17: USE_LIBTOOL=           yes
1.21      richard    18: USE_TOOLS+=            gmake nroff
1.1       is         19: TEST_TARGET=           test
                     20:
                     21: PKG_OPTIONS_VAR=       PKG_OPTIONS.fltk13
                     22: PKG_SUPPORTED_OPTIONS= opengl # cairo
                     23: PKG_SUGGESTED_OPTIONS= opengl # cairo
                     24: #PLIST_VARS+=  cairo
                     25: PLIST_VARS+=   opengl
                     26:
                     27: .include "../../mk/bsd.prefs.mk"
                     28: .include "../../mk/bsd.options.mk"
                     29:
                     30: PTHREAD_OPTS+=         require
                     31: GNU_CONFIGURE=         yes
                     32: CONFIGURE_ARGS+=       --enable-libtool=${LIBTOOL:Q}
                     33: CONFIGURE_ARGS+=       --enable-threads
                     34: CONFIGURE_ARGS+=       ac_cv_have_overlay=yes
                     35:
                     36: PLIST_VARS+=           cs      # case-sensitive
1.14      jperkin    37: .if !exists(./descr) && ${OPSYS} != "Darwin"
1.1       is         38: CONFIGURE_ARGS+=       --with-links
                     39: PLIST.cs=              yes
                     40: .endif
                     41:
                     42: #.if !empty(PKG_OPTIONS:Mcairo)
                     43: #.  include "../../graphics/cairo/buildlink3.mk"
                     44: #CONFIGURE_ARGS+=      --enable-cairo
                     45: #PLIST.cairo=  yes
                     46: #.else
                     47: #CONFIGURE_ARGS+=      --disable-cairo
                     48: #.endif
                     49:
                     50: .if !empty(PKG_OPTIONS:Mopengl)
1.23    ! dbj        51: .if ${OPSYS} != "Darwin"
1.1       is         52: .  include "../../graphics/Mesa/buildlink3.mk"
1.23    ! dbj        53: .endif
1.1       is         54: CONFIGURE_ARGS+=       --enable-gl
                     55: PLIST.opengl=  yes
                     56: .else
                     57: CONFIGURE_ARGS+=       --disable-gl
                     58: .endif
                     59:
                     60: CONFIGURE_ARGS+=       --enable-shared
                     61: # Use pkgsrc versions, not package's bundled versions.
                     62: CONFIGURE_ARGS+=       --disable-localjpeg --disable-localzlib --disable-localpng
                     63:
1.23    ! dbj        64: .if ${OPSYS} != "Darwin"
1.1       is         65: .include "../../graphics/MesaLib/buildlink3.mk"
                     66: .include "../../graphics/glu/buildlink3.mk"
                     67: .include "../../x11/libXext/buildlink3.mk"
1.16      richard    68: .include "../../x11/libXft/buildlink3.mk"
1.18      gdt        69: .include "../../x11/libXinerama/buildlink3.mk"
1.20      markd      70: BUILDLINK_DEPMETHOD.libXt?=    build
1.1       is         71: .include "../../x11/libXt/buildlink3.mk"
1.23    ! dbj        72: .endif
        !            73: .include "../../mk/jpeg.buildlink3.mk"
        !            74: .include "../../graphics/png/buildlink3.mk"
1.1       is         75: .include "../../mk/pthread.buildlink3.mk"
                     76: .include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>