aboutsummaryrefslogtreecommitdiffstats
path: root/print/gutenprint
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2014-07-07 21:05:52 +0800
committervanilla <vanilla@FreeBSD.org>2014-07-07 21:05:52 +0800
commit4782d5ede590fdc53125c998a470fe935dea20de (patch)
treeec7432dee7d66204af09cad66bf285b09abf2cdf /print/gutenprint
parent6216fc0124a6b1ba30d441906bd6e9fbad28f875 (diff)
downloadfreebsd-ports-gnome-4782d5ede590fdc53125c998a470fe935dea20de.tar.gz
freebsd-ports-gnome-4782d5ede590fdc53125c998a470fe935dea20de.tar.zst
freebsd-ports-gnome-4782d5ede590fdc53125c998a470fe935dea20de.zip
Stagify, use options helper function.
Approved by: portmgr@ (blanket)
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>