aboutsummaryrefslogtreecommitdiff
path: root/print/gutenprint
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2014-07-07 13:05:52 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2014-07-07 13:05:52 +0000
commitf0aaa3cce16f6f73cf5614df447b38671febad6c (patch)
treeec7432dee7d66204af09cad66bf285b09abf2cdf /print/gutenprint
parent058fb18d1bb2d88fce692515baeb9cb8cb1c8d7d (diff)
downloadports-f0aaa3cce16f6f73cf5614df447b38671febad6c.tar.gz
ports-f0aaa3cce16f6f73cf5614df447b38671febad6c.zip
Stagify, use options helper function.
Approved by: portmgr@ (blanket)
Notes
Notes: svn path=/head/; revision=361079
Diffstat (limited to 'print/gutenprint')
-rw-r--r--print/gutenprint/Makefile31
1 files changed, 8 insertions, 23 deletions
diff --git a/print/gutenprint/Makefile b/print/gutenprint/Makefile
index 364dc0324a0f..a4233f67e52a 100644
--- a/print/gutenprint/Makefile
+++ b/print/gutenprint/Makefile
@@ -16,32 +16,17 @@ RUN_DEPENDS= gutenprint-base>0:${PORTSDIR}/print/gutenprint-base
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>