Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Jul 2014 13:05:52 +0000 (UTC)
From:      "Vanilla I. Shu" <vanilla@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r361079 - head/print/gutenprint
Message-ID:  <201407071305.s67D5qPi072571@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: vanilla
Date: Mon Jul  7 13:05:52 2014
New Revision: 361079
URL: http://svnweb.freebsd.org/changeset/ports/361079
QAT: https://qat.redports.org/buildarchive/r361079/

Log:
  Stagify, use options helper function.
  
  Approved by:	portmgr@ (blanket)

Modified:
  head/print/gutenprint/Makefile

Modified: head/print/gutenprint/Makefile
==============================================================================
--- head/print/gutenprint/Makefile	Mon Jul  7 12:55:49 2014	(r361078)
+++ head/print/gutenprint/Makefile	Mon Jul  7 13:05:52 2014	(r361079)
@@ -16,32 +16,17 @@ RUN_DEPENDS=	gutenprint-base>0:${PORTSDI
 
 OPTIONS_DEFINE=		CUPS GIMP IJS FOOMATIC
 OPTIONS_DEFAULT=	IJS
-CUPS_DESC=			GutenPrint (gimp-print) Cups Drivers
-GIMP_DESC=			GIMP Gutenprint printing plugin
-IJS_DESC=			IJS GhostScript Drivers
+CUPS_DESC=		GutenPrint (gimp-print) Cups Drivers
+GIMP_DESC=		GIMP Gutenprint printing plugin
+IJS_DESC=		IJS GhostScript Drivers
 FOOMATIC_DESC=		Foomatic data files
+CUPS_RUN_DEPENDS=	gutenprint-cups>0:${PORTSDIR}/print/gutenprint-cups
+GIMP_RUN_DEPENDS=	gimp-gutenprint>0:${PORTSDIR}/print/gimp-gutenprint
+IJS_RUN_DEPENDS=	gutenprint-ijs>0:${PORTSDIR}/print/gutenprint-ijs
+FOOMATIC_RUN_DEPENDS+=	gutenprint-foomatic>0:${PORTSDIR}/print/gutenprint-foomatic
 
 NO_BUILD=	yes
 
-NO_STAGE=	yes
-.include <bsd.port.pre.mk>
-
-.if ${PORT_OPTIONS:MCUPS}
-RUN_DEPENDS+=	gutenprint-cups>0:${PORTSDIR}/print/gutenprint-cups
-.endif
-
-.if ${PORT_OPTIONS:MGIMP}
-RUN_DEPENDS+=	gimp-gutenprint>0:${PORTSDIR}/print/gimp-gutenprint
-.endif
-
-.if ${PORT_OPTIONS:MIJS}
-RUN_DEPENDS+=	gutenprint-ijs>0:${PORTSDIR}/print/gutenprint-ijs
-.endif
-
-.if ${PORT_OPTIONS:MFOOMATIC}
-RUN_DEPENDS+=	gutenprint-foomatic>0:${PORTSDIR}/print/gutenprint-foomatic
-.endif
-
 do-install:	# empty
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407071305.s67D5qPi072571>