2000-09-13 15:12:29 +00:00
|
|
|
# New ports collection makefile for: gdm
|
|
|
|
# Date created: 12 September 2000
|
|
|
|
# Whom: Yukihiro Nakai <nakai@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= gdm
|
2001-05-08 16:39:49 +00:00
|
|
|
PORTVERSION= 2.2.1
|
2000-09-13 15:12:29 +00:00
|
|
|
CATEGORIES= x11 gnome
|
|
|
|
MASTER_SITES= ${MASTER_SITE_GNOME}
|
|
|
|
MASTER_SITE_SUBDIR= stable/sources/gdm
|
|
|
|
|
2001-05-11 16:36:50 +00:00
|
|
|
MAINTAINER= gnome@FreeBSD.org
|
2000-09-13 15:12:29 +00:00
|
|
|
|
|
|
|
USE_X_PREFIX= yes
|
|
|
|
USE_GMAKE= yes
|
2000-10-05 07:17:31 +00:00
|
|
|
USE_GNOME= yes
|
2000-09-13 15:12:29 +00:00
|
|
|
USE_LIBTOOL= yes
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LIBS="-L${LOCALBASE}/lib"
|
|
|
|
|
2000-09-13 16:36:15 +00:00
|
|
|
pre-fetch:
|
|
|
|
.if !defined(BATCH) && !defined(PACKAGE_BUILDING)
|
2000-10-08 09:23:53 +00:00
|
|
|
${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
|
2000-09-13 16:36:15 +00:00
|
|
|
.endif
|
|
|
|
|
2000-09-13 15:12:29 +00:00
|
|
|
pre-patch:
|
2001-03-29 16:35:19 +00:00
|
|
|
@${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
|
2000-09-13 15:12:29 +00:00
|
|
|
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/
|
2000-10-17 09:13:37 +00:00
|
|
|
${CAT} ${PKGMESSAGE}
|
2000-09-13 15:12:29 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|