2000-09-13 17:12:29 +02:00
|
|
|
# New ports collection makefile for: gdm
|
|
|
|
# Date created: 12 September 2000
|
|
|
|
# Whom: Yukihiro Nakai <nakai@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= gdm
|
2002-03-14 01:07:41 +01:00
|
|
|
PORTVERSION= 2.2.5.5
|
2002-08-10 00:36:55 +02:00
|
|
|
PORTREVISION= 1
|
2000-09-13 17:12:29 +02:00
|
|
|
CATEGORIES= x11 gnome
|
|
|
|
MASTER_SITES= ${MASTER_SITE_GNOME}
|
2002-09-20 19:07:51 +02:00
|
|
|
MASTER_SITE_SUBDIR= sources/gdm/2.2
|
2002-03-14 01:07:41 +01:00
|
|
|
DIST_SUBDIR= gnome
|
2000-09-13 17:12:29 +02:00
|
|
|
|
2001-05-11 18:36:50 +02:00
|
|
|
MAINTAINER= gnome@FreeBSD.org
|
2003-03-07 07:36:20 +01:00
|
|
|
COMMENT= GNOME version of xdm display manager
|
2000-09-13 17:12:29 +02:00
|
|
|
|
2002-03-14 01:07:41 +01:00
|
|
|
USE_BZIP2= yes
|
2000-09-13 17:12:29 +02:00
|
|
|
USE_X_PREFIX= yes
|
|
|
|
USE_GMAKE= yes
|
2002-07-18 12:46:51 +02:00
|
|
|
USE_GNOMENG= yes
|
2002-09-08 21:17:55 +02:00
|
|
|
USE_GNOME= gnomeprefix gnomehack libglade gdkpixbuf
|
2002-07-18 12:46:51 +02:00
|
|
|
USE_LIBTOOL= yes
|
2000-09-13 17:12:29 +02:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LIBS="-L${LOCALBASE}/lib"
|
2001-11-26 17:22:25 +01:00
|
|
|
CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
|
2000-09-13 17:12:29 +02:00
|
|
|
|
2001-10-02 14:18:33 +02:00
|
|
|
GDMDIR?= ${PREFIX}/etc/gdm
|
|
|
|
|
2002-10-19 20:03:15 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if exists(/usr/include/security/pam_misc.h)
|
|
|
|
PLIST_SUB= PAM_MISC=""
|
|
|
|
.else
|
|
|
|
PLIST_SUB= PAM_MISC="@comment "
|
|
|
|
.endif
|
|
|
|
|
2000-09-13 18:36:15 +02:00
|
|
|
.if !defined(BATCH) && !defined(PACKAGE_BUILDING)
|
2002-03-06 11:03:46 +01:00
|
|
|
IS_INTERACTIVE= yes
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if !defined(BATCH) && !defined(PACKAGE_BUILDING)
|
|
|
|
pre-fetch:
|
2000-10-08 11:23:53 +02:00
|
|
|
${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
|
2000-09-13 18:36:15 +02:00
|
|
|
.endif
|
|
|
|
|
2002-07-18 12:46:51 +02:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
|
2000-09-13 17:12:29 +02:00
|
|
|
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
|
|
|
|
|
2002-01-14 18:37:30 +01:00
|
|
|
post-install:
|
2003-01-21 17:16:02 +01:00
|
|
|
.if !defined(PACKAGE_BUILDING)
|
|
|
|
@${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
|
2003-01-19 23:50:09 +01:00
|
|
|
.endif
|
2001-08-16 14:12:16 +02:00
|
|
|
@${CAT} ${PKGMESSAGE}
|
2000-09-13 17:12:29 +02:00
|
|
|
|
2002-10-19 20:03:15 +02:00
|
|
|
.include <bsd.port.post.mk>
|