freebsd-ports/x11/gdm/Makefile

59 lines
1.3 KiB
Makefile
Raw Normal View History

# 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
PORTREVISION= 1
CATEGORIES= x11 gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/gdm/2.2
2002-03-14 01:07:41 +01:00
DIST_SUBDIR= gnome
MAINTAINER= gnome@FreeBSD.org
COMMENT= GNOME version of xdm display manager
2002-03-14 01:07:41 +01:00
USE_BZIP2= yes
USE_X_PREFIX= yes
USE_GMAKE= yes
2002-07-18 12:46:51 +02:00
USE_GNOMENG= yes
USE_GNOME= gnomeprefix gnomehack libglade gdkpixbuf
2002-07-18 12:46:51 +02:00
USE_LIBTOOL= yes
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}
GDMDIR?= ${PREFIX}/etc/gdm
.include <bsd.port.pre.mk>
.if exists(/usr/include/security/pam_misc.h)
PLIST_SUB= PAM_MISC=""
.else
PLIST_SUB= PAM_MISC="@comment "
.endif
.if !defined(BATCH) && !defined(PACKAGE_BUILDING)
IS_INTERACTIVE= yes
.endif
.if !defined(BATCH) && !defined(PACKAGE_BUILDING)
pre-fetch:
${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
.endif
2002-07-18 12:46:51 +02:00
post-patch:
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
post-install:
.if !defined(PACKAGE_BUILDING)
@${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
.endif
2001-08-16 14:12:16 +02:00
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>