diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2012-05-31 20:11:15 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2012-05-31 20:11:15 +0000 |
commit | 183612282b1a50fd441718fc6bed5151ca9861ac (patch) | |
tree | e567c99a580da3ceb3c8804bd9e3b9aba550f71e /x11/xvattr | |
parent | 78ca8e5e8b98be087d9800928d646e801faa89fb (diff) |
Notes
Diffstat (limited to 'x11/xvattr')
-rw-r--r-- | x11/xvattr/Makefile | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/x11/xvattr/Makefile b/x11/xvattr/Makefile index dbfe283875f6..3c9c2baf3ab3 100644 --- a/x11/xvattr/Makefile +++ b/x11/xvattr/Makefile @@ -16,7 +16,8 @@ MASTER_SITES= ftp://ftp.SpringDaemons.com/soft/ \ MAINTAINER= ports@FreeBSD.org COMMENT= Getting and setting Xv attributes -OPTIONS= GTK1 "GTK1 support (Default is GTK2)" off +OPTIONS_DEFINE= GTK1 +GTK1_DESC= GTK1 support (Default is GTK2) USE_XORG= x11 xv WANT_GNOME= yes @@ -26,9 +27,9 @@ PLIST_FILES= bin/${PORTNAME} bin/g${PORTNAME} CFLAGS+= -DVERSION=\"${PORTVERSION}\" -.include <bsd.port.pre.mk> +.include <bsd.port.options.mk> -.if defined(WITH_GTK1) +.if ${PORT_OPTIONS:MGTK1} USE_GNOME+= gtk12 GTK_PC= gtk+ .else @@ -50,4 +51,4 @@ do-install: ${INSTALL_PROGRAM} ${WRKSRC}/g${PORTNAME} ${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${MANPREFIX}/man/man1 -.include <bsd.port.post.mk> +.include <bsd.port.mk> |