diff options
author | Koop Mast <kwm@FreeBSD.org> | 2013-02-23 16:35:50 +0000 |
---|---|---|
committer | Koop Mast <kwm@FreeBSD.org> | 2013-02-23 16:35:50 +0000 |
commit | 7d989dbe8470791887d7d0f28ecb34d96081f5c4 (patch) | |
tree | bad28bbacc151cd8046a6fc56eb84070b29be912 /x11-themes/gtk-engines2/Makefile | |
parent | 8d4d23748d998c159d6d508e4ab6115708c55685 (diff) | |
download | ports-7d989dbe8470791887d7d0f28ecb34d96081f5c4.tar.gz ports-7d989dbe8470791887d7d0f28ecb34d96081f5c4.zip |
Notes
Diffstat (limited to 'x11-themes/gtk-engines2/Makefile')
-rw-r--r-- | x11-themes/gtk-engines2/Makefile | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/x11-themes/gtk-engines2/Makefile b/x11-themes/gtk-engines2/Makefile index 577255090fd6..56a476bc1f93 100644 --- a/x11-themes/gtk-engines2/Makefile +++ b/x11-themes/gtk-engines2/Makefile @@ -1,10 +1,6 @@ -# New ports collection makefile for: gtk-engines2 -# Date Created: 21 May 2002 -# Whom: Joe Marcus Clarke <marcus@FreeBSD.org> -# +# Created by: Joe Marcus Clarke <marcus@FreeBSD.org> # $FreeBSD$ # $MCom: ports/x11-themes/gtk-engines2/Makefile,v 1.82 2010/04/19 10:51:27 kwm Exp $ -# PORTNAME= gtk-engines2 PORTVERSION= 2.20.2 @@ -29,15 +25,20 @@ USE_AUTOTOOLS= libtool CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -OPTIONS= ANIMATION "Enable experimental animated progressbars" off +OPTIONS_DEFINE= ANIMATION +ANIMATION_DESC= Experimental animated progressbars -.include <bsd.port.pre.mk> +.include <bsd.port.options.mk> -.if defined(WITH_ANIMATION) +.if ${PORT_OPTIONS:MANIMATION} CONFIGURE_ARGS+= --enable-animation .endif +post-patch: + @${REINPLACE_CMD} -e 's|glib.*\.h>|glib.h>|g' \ + ${WRKSRC}/engines/clearlooks/src/animation.c + post-install: @(cd ${WRKSRC}/po && ${GMAKE} install) -.include <bsd.port.post.mk> +.include <bsd.port.mk> |