diff options
author | bapt <bapt@FreeBSD.org> | 2012-06-01 04:11:15 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2012-06-01 04:11:15 +0800 |
commit | 5a382336728504f113222b2ef4b8f52b6f042db8 (patch) | |
tree | fc4c0145355d5f18931780e97a57f5e69104ab9c /x11/xvattr | |
parent | eea95d28c797bd226764e9b68fb9cd435f440db8 (diff) | |
download | freebsd-ports-gnome-5a382336728504f113222b2ef4b8f52b6f042db8.tar.gz freebsd-ports-gnome-5a382336728504f113222b2ef4b8f52b6f042db8.tar.zst freebsd-ports-gnome-5a382336728504f113222b2ef4b8f52b6f042db8.zip |
Convert to new options framework
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> |