From baedaefc1363429069319dd267ae7cf8daab2ad6 Mon Sep 17 00:00:00 2001 From: Baptiste Daroussin Date: Mon, 7 Jan 2013 20:50:20 +0000 Subject: Convert dhn's ports to the new options framework While here trim headers and convert some USE_GNOME=pkgconfig to USE_PKGCONFIG=build Approved by: maintainer (dhn) --- x11-fm/gentoo/Makefile | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) (limited to 'x11-fm') diff --git a/x11-fm/gentoo/Makefile b/x11-fm/gentoo/Makefile index 498b494c215e..76a7c90075e3 100644 --- a/x11-fm/gentoo/Makefile +++ b/x11-fm/gentoo/Makefile @@ -1,9 +1,5 @@ -# New ports collection makefile for: gentoo -# Date created: 12 August 2001 -# Whom: Anders Nordby -# +# Created by: Anders Nordby # $FreeBSD$ -# PORTNAME= gentoo PORTVERSION= 0.19.13 @@ -15,7 +11,7 @@ MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}/ \ MAINTAINER= dhn@FreeBSD.org COMMENT= Gtk+ based, file manager inspired by DirectoryOpus -OPTIONS= FAM "File Alteration Monitor Support" off +OPTIONS_DEFINE= FAM DOCS USE_GNOME= gnomehack gtk20 USE_GETTEXT= yes @@ -27,9 +23,9 @@ MAN1= gentoo.1 CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -.include +.include -.if defined(WITH_FAM) +.if ${PORT_OPTIONS:MFAM} USE_FAM= yes .else CONFIGURE_ARGS+= --disable-fam @@ -46,7 +42,7 @@ post-patch: post-install: ${INSTALL_MAN} ${WRKSRC}/docs/gentoo.1x ${MANPREFIX}/man/man1/gentoo.1 -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} .for file in BUGS CONFIG-CHANGES CREDITS NEWS README README.NLS README.gtkrc \ TODO @@ -59,4 +55,4 @@ post-install: @${FIND} ${DOCSDIR} -type d | ${XARGS} ${CHMOD} a+x .endif -.include +.include -- cgit v1.2.3