summaryrefslogtreecommitdiff
path: root/x11/dfm
diff options
context:
space:
mode:
authorhubertf <hubertf@pkgsrc.org>2001-08-05 01:49:58 +0000
committerhubertf <hubertf@pkgsrc.org>2001-08-05 01:49:58 +0000
commitbe7b0ba823619c5c8eaaeb572f4f920107bdd71f (patch)
tree223d0b717f552e79de438579b4134e4f05bc3391 /x11/dfm
parentc30f98b0667cf6d3201954910d9186b049fba2bd (diff)
downloadpkgsrc-be7b0ba823619c5c8eaaeb572f4f920107bdd71f.tar.gz
Factor out some common code, to be used by the upcoming
pkgsrc/graphics/ppmtoxvpic package.
Diffstat (limited to 'x11/dfm')
-rw-r--r--x11/dfm/Makefile21
-rw-r--r--x11/dfm/Makefile.common19
2 files changed, 21 insertions, 19 deletions
diff --git a/x11/dfm/Makefile b/x11/dfm/Makefile
index 11461e83cb3..c5bc0e6fa14 100644
--- a/x11/dfm/Makefile
+++ b/x11/dfm/Makefile
@@ -1,26 +1,9 @@
-# $NetBSD: Makefile,v 1.1.1.1 2001/08/05 00:23:14 hubertf Exp $
+# $NetBSD: Makefile,v 1.2 2001/08/05 01:49:58 hubertf Exp $
#
-DISTNAME= dfm-0.99.9
CATEGORIES= x11
-MASTER_SITES= http://www.kaisersite.de/dfm/
MAINTAINER= hubertf@netbsd.org
-HOMEPAGE= http://www.kaisersite.de/dfm/
COMMENT= Desktop File Manager
-USE_X11= yes
-WRKSRC= ${WRKDIR}/dfm
-GNU_CONFIGURE= yes
-CONFIGURE_ARGS+=--with-imlib-prefix=${X11PREFIX} \
- --enable-imlib-icons \
- --with-gtk-prefix=${X11BASE}
-
-post-install:
- ${MV} ${PREFIX}/man/man1/dfm.1x ${PREFIX}/man/man1/dfm.1
-
-.include "../../x11/gtk/buildlink.mk"
-.include "../../graphics/xpm/buildlink.mk"
-.include "../../graphics/imlib/buildlink.mk"
-.include "../../devel/gettext-lib/buildlink.mk"
-.include "../../mk/bsd.pkg.mk"
+.include "Makefile.common"
diff --git a/x11/dfm/Makefile.common b/x11/dfm/Makefile.common
new file mode 100644
index 00000000000..4ab25878d98
--- /dev/null
+++ b/x11/dfm/Makefile.common
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile.common,v 1.1 2001/08/05 01:49:58 hubertf Exp $
+#
+
+DISTNAME= dfm-0.99.9
+MASTER_SITES= http://www.kaisersite.de/dfm/
+
+USE_X11= yes
+WRKSRC= ${WRKDIR}/dfm
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+=--with-imlib-prefix=${X11PREFIX} \
+ --enable-imlib-icons \
+ --with-gtk-prefix=${X11BASE}
+
+.include "../../x11/gtk/buildlink.mk"
+.include "../../graphics/xpm/buildlink.mk"
+.include "../../graphics/imlib/buildlink.mk"
+.include "../../devel/gettext-lib/buildlink.mk"
+
+.include "../../mk/bsd.pkg.mk"