summaryrefslogtreecommitdiff
path: root/print/evince-nautilus
diff options
context:
space:
mode:
Diffstat (limited to 'print/evince-nautilus')
-rw-r--r--print/evince-nautilus/Makefile22
-rw-r--r--print/evince-nautilus/options.mk22
2 files changed, 24 insertions, 20 deletions
diff --git a/print/evince-nautilus/Makefile b/print/evince-nautilus/Makefile
index 4553110608a..79246244c31 100644
--- a/print/evince-nautilus/Makefile
+++ b/print/evince-nautilus/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.26 2008/06/12 02:14:43 joerg Exp $
+# $NetBSD: Makefile,v 1.27 2008/10/25 00:11:13 wiz Exp $
#
PKG_DESTDIR_SUPPORT= user-destdir
@@ -7,26 +7,8 @@ PKG_DESTDIR_SUPPORT= user-destdir
PKGNAME= ${DISTNAME:S/evince/evince-nautilus/}
COMMENT= File properties plugin for evince files
-PKG_OPTIONS_VAR= PKG_OPTIONS.evince
-PKG_SUPPORTED_OPTIONS= dvi djvu
-PKG_SUGGESTED_OPTIONS= # none
-.include "../../mk/bsd.options.mk"
-
-.if !empty(PKG_OPTIONS:Mdvi)
-CONFIGURE_ARGS+= --enable-dvi
-#BUILD_DIRS= pdf dvi backend lib properties
-# need shared libkpathsea
-BUILDLINK_API_DEPENDS.teTeX-bin+= teTeX-bin>=3.0nb13
-.include "../../print/teTeX3-bin/buildlink3.mk"
-.else
-#BUILD_DIRS= pdf backend lib properties
-.endif
-
-.if !empty(PKG_OPTIONS:Mdjvu)
-CONFIGURE_ARGS+= --enable-djvu
-.include "../../graphics/djvulibre-lib/buildlink3.mk"
-.endif
+.include "options.mk"
INSTALL_DIRS= properties
diff --git a/print/evince-nautilus/options.mk b/print/evince-nautilus/options.mk
new file mode 100644
index 00000000000..a02463ae58f
--- /dev/null
+++ b/print/evince-nautilus/options.mk
@@ -0,0 +1,22 @@
+# $NetBSD: options.mk,v 1.1 2008/10/25 00:11:13 wiz Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.evince
+PKG_SUPPORTED_OPTIONS= dvi djvu
+PKG_SUGGESTED_OPTIONS= # none
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mdvi)
+CONFIGURE_ARGS+= --enable-dvi
+#BUILD_DIRS= pdf dvi backend lib properties
+# need shared libkpathsea
+BUILDLINK_API_DEPENDS.teTeX-bin+= teTeX-bin>=3.0nb13
+.include "../../print/teTeX3-bin/buildlink3.mk"
+#.else
+#BUILD_DIRS= pdf backend lib properties
+.endif
+
+.if !empty(PKG_OPTIONS:Mdjvu)
+CONFIGURE_ARGS+= --enable-djvu
+.include "../../graphics/djvulibre-lib/buildlink3.mk"
+.endif