svn commit: r361079 - head/print/gutenprint

Vanilla I. Shu vanilla at FreeBSD.org
Mon Jul 7 13:05:52 UTC 2014


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>


More information about the svn-ports-all mailing list