freebsd-ports/devel/mono-addins/Makefile
Romain Tartière d59914ab44 - Update to 1.1;
- Switch to GitHub;
  - Fix some Makefile alignments;
  - Define LICENSE;
  - Staging is Okay.
2014-02-23 11:34:18 +00:00

46 lines
903 B
Makefile

# $FreeBSD$
PORTNAME= mono-addins
PORTVERSION= 1.1
CATEGORIES= devel
MAINTAINER= mono@FreeBSD.org
COMMENT= Mono framework to create extensible applications
LICENSE= MIT
LIB_PC_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/mono.pc:${PORTSDIR}/lang/mono
BUILD_DEPENDS+= ${LIB_PC_DEPENDS}
RUN_DEPENDS+= ${LIB_PC_DEPENDS}
USE_GITHUB= yes
GH_ACCOUNT= mono
GH_TAGNAME= ${DISTNAME}
GH_COMMIT= 64a45d9
GNU_CONFIGURE= yes
USE_AUTOTOOLS= aclocal autoconf automake
ACLOCAL_ARGS= -I .
AUTOMAKE_ARGS+= --gnu --add-missing
USES= gmake pkgconfig
WANT_GNOME= yes
OPTIONS_DEFINE= GTK2
OPTIONS_DEFAULT=GTK2
PLIST_SUB+= VER=1.0.0
.include <bsd.port.pre.mk>
.include "${.CURDIR}/../../lang/mono/bsd.mono.mk"
.if ${PORT_OPTIONS:MGTK2}
USE_GNOME+= gtksharp20
CONFIGURE_ARGS+= --enable-gui
PLIST_SUB+= OPT_GTK2=""
.else
CONFIGURE_ARGS+= --disable-gui
PLIST_SUB+= OPT_GTK2="@comment "
.endif
.include <bsd.port.post.mk>