diff options
author | Johan van Selst <johans@FreeBSD.org> | 2012-06-28 16:12:21 +0000 |
---|---|---|
committer | Johan van Selst <johans@FreeBSD.org> | 2012-06-28 16:12:21 +0000 |
commit | f030d9e3ad2aec4db078a31eaadc7194930b2173 (patch) | |
tree | a1d9e3b59d20f01dba7e19243dce08711dffebcc /lang/smalltalk | |
parent | ca3c5a22d385e501f70c804e35089cf68f78d166 (diff) |
Notes
Diffstat (limited to 'lang/smalltalk')
-rw-r--r-- | lang/smalltalk/Makefile | 49 |
1 files changed, 25 insertions, 24 deletions
diff --git a/lang/smalltalk/Makefile b/lang/smalltalk/Makefile index d6ceca50a8e3..26dc53837acb 100644 --- a/lang/smalltalk/Makefile +++ b/lang/smalltalk/Makefile @@ -17,13 +17,12 @@ COMMENT= GNU Smalltalk BUILD_DEPENDS= zip:${PORTSDIR}/archivers/zip \ gawk:${PORTSDIR}/lang/gawk -LIB_DEPENDS= gdbm.4:${PORTSDIR}/databases/gdbm \ - execinfo.1:${PORTSDIR}/devel/libexecinfo \ - cairo.2:${PORTSDIR}/graphics/cairo +LIB_DEPENDS= gdbm:${PORTSDIR}/databases/gdbm \ + execinfo:${PORTSDIR}/devel/libexecinfo \ + cairo:${PORTSDIR}/graphics/cairo -OPTIONS= TCLTK "Enable Tcl/Tk binding" on \ - PGSQL "PostgreSQL binding" on \ - SDL "SDL binding" on +OPTIONS_DEFINE= TCL PGSQL SDL +OPTIONS_DEFAULT=TCL PGSQL SDL USE_AUTOTOOLS= libtool USE_GNOME= gnomehack pkgconfig pango @@ -53,35 +52,37 @@ INFO= gst gst-base gst-libs CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -.include <bsd.port.pre.mk> - -.if ${ARCH} == "sparc64" -BROKEN= Fails to install on sparc64 -.endif +.include <bsd.port.options.mk> -.if defined(WITHOUT_TCLTK) -CONFIGURE_ARGS+= --with-tcl=no -PLIST_SUB+= TCLTK="@comment " -.else -LIB_DEPENDS+= tk84.1:${PORTSDIR}/x11-toolkits/tk84 +.if ${PORT_OPTIONS:MTCL} +LIB_DEPENDS+= tk84:${PORTSDIR}/x11-toolkits/tk84 CONFIGURE_ARGS+= --with-tcl=${LOCALBASE}/lib/tcl8.4 \ --with-tk=${LOCALBASE}/lib/tk8.4 -PLIST_SUB+= TCLTK="" +PLIST_SUB+= TCLTK="" +.else +CONFIGURE_ARGS+= --with-tcl=no +PLIST_SUB+= TCLTK="@comment " .endif -.if defined(WITHOUT_PGSQL) -PLIST_SUB+= PGSQL="@comment " -.else +.if ${PORT_OPTIONS:MPGSQL} USE_PGSQL= yes -.include "${PORTSDIR}/Mk/bsd.database.mk" +. include "${PORTSDIR}/Mk/bsd.database.mk" PLIST_SUB+= PGSQL="" +.else +PLIST_SUB+= PGSQL="@comment " .endif -.if defined(WITHOUT_SDL) -PLIST_SUB+= SDL="@comment " -.else +.if ${PORT_OPTIONS:MSDL} USE_SDL= image mixer sdl sound ttf PLIST_SUB+= SDL="" +.else +PLIST_SUB+= SDL="@comment " +.endif + +.include <bsd.port.pre.mk> + +.if ${ARCH} == "sparc64" +BROKEN= Fails to install on sparc64 .endif post-patch: |