aboutsummaryrefslogtreecommitdiffstats
path: root/x11/gdm/Makefile
diff options
context:
space:
mode:
authornakai <nakai@FreeBSD.org>2000-09-13 23:12:29 +0800
committernakai <nakai@FreeBSD.org>2000-09-13 23:12:29 +0800
commitbc3451aa5b2eae2738e561168042a7b93281acd2 (patch)
tree6c7cdd66192f621a2378f34a7e59dc3211ea9f84 /x11/gdm/Makefile
parent58f4552e5293f2ab675d40ada1255bcfc8cb5657 (diff)
downloadfreebsd-ports-gnome-bc3451aa5b2eae2738e561168042a7b93281acd2.tar.gz
freebsd-ports-gnome-bc3451aa5b2eae2738e561168042a7b93281acd2.tar.zst
freebsd-ports-gnome-bc3451aa5b2eae2738e561168042a7b93281acd2.zip
Initial release.
GNOME version of xdm display manager. This gdm has been a headache for us, the GNOME binary maintainer for FreeBSD. Half of patches are from NetBSD pkgsrc system. Thanks for NetBSD and TAKANO Yuji <takachan@running-dog.net>!
Diffstat (limited to 'x11/gdm/Makefile')
-rw-r--r--x11/gdm/Makefile43
1 files changed, 43 insertions, 0 deletions
diff --git a/x11/gdm/Makefile b/x11/gdm/Makefile
new file mode 100644
index 000000000000..3dc92bf6645e
--- /dev/null
+++ b/x11/gdm/Makefile
@@ -0,0 +1,43 @@
+# New ports collection makefile for: gdm
+# Date created: 12 September 2000
+# Whom: Yukihiro Nakai <nakai@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= gdm
+PORTVERSION= 2.0b4
+CATEGORIES= x11 gnome
+MASTER_SITES= ${MASTER_SITE_GNOME}
+MASTER_SITE_SUBDIR= stable/sources/gdm
+DISTNAME= ${PORTNAME}-2.0beta4
+
+MAINTAINER= nakai@FreeBSD.org
+
+LIB_DEPENDS= gnome.4:${PORTSDIR}/x11/gnomelibs
+RUN_DEPENDS= gnome-session:${PORTSDIR}/x11/gnomecore
+
+GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
+GLIB_CONFIG?= ${LOCALBASE}/bin/glib12-config
+
+USE_X_PREFIX= yes
+USE_GMAKE= yes
+USE_LIBTOOL= yes
+CONFIGURE_ARGS= --localstatedir=${PREFIX}/share/gnome \
+ --datadir=${PREFIX}/share/gnome
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ GTK_CONFIG="${GTK_CONFIG}" \
+ GLIB_CONFIG="${GLIB_CONFIG}" \
+ LIBS="-L${LOCALBASE}/lib"
+
+pre-patch:
+ @${PERL} -pi -e 's|-lpthread|-pthread|g ; \
+ s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
+ @find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \
+ 's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \
+ s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g'
+
+post-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/config/gnomerc ${PREFIX}/etc/gdm/
+
+.include <bsd.port.mk>