1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-09 06:51:44 +00:00
freebsd-ports/x11/gdm/Makefile

69 lines
1.6 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: gdm2
# Date created: 20 May 2002
# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
#
# $FreeBSD$
#
2005-01-24 23:26:24 +00:00
PORTNAME= gdm
PORTVERSION= 2.8.0.0
2005-06-22 01:48:28 +00:00
PORTREVISION= 1
CATEGORIES= x11 gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME:S/2$//}/2.8
DIST_SUBDIR= gnome2
MAINTAINER= gnome@FreeBSD.org
2003-08-01 03:08:52 +00:00
COMMENT= GNOME 2 version of xdm display manager
2002-03-14 00:07:41 +00:00
USE_BZIP2= yes
USE_X_PREFIX= yes
INSTALLS_OMF= yes
USE_RC_SUBR= gdm.sh
USE_GMAKE= yes
USE_GNOME= gnomeprefix gnomehack intlhack gnomehier libgnomeui librsvg2
2004-08-19 17:22:34 +00:00
USE_LIBTOOL_VER=15
2004-06-11 19:53:54 +00:00
USE_REINPLACE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
GDMDIR?= ${PREFIX}/etc/gdm
PKGMESSAGE= ${WRKDIR}/pkg-message
MAN1= gdm.1
OPTIONS= IPV6 "Enable IPv6 support (This disables IPv4 support)" off
.include <bsd.port.pre.mk>
.if exists(/usr/include/security/pam_misc.h)
2004-06-11 19:53:54 +00:00
PLIST_SUB+= PAM_MISC=""
.else
2004-06-11 19:53:54 +00:00
PLIST_SUB+= PAM_MISC="@comment "
.endif
.if defined(WITH_IPV6)
CONFIGURE_ARGS+= --enable-ipv6
.else
CONFIGURE_ARGS+= --disable-ipv6
.endif
2004-06-11 19:53:54 +00:00
post-patch:
.if ( ${OSVERSION} > 600000 && ${OSVERSION} < 600006 ) || \
( ${OSVERSION} < 503101 )
Presenting GNOME 2.8 for FreeBSD (2.8.1 to be exact). This release notes detailing all of the new goodies in GNOME 2.8 can be found at http://www.gnome.org/start/2.8/notes/, and the list of what was fixed in GNOME 2.8.1 can be found at http://lists.gnome.org/archives/gnome-announce-list/2004-October/msg00056.html. This release, as well as all of our others, would not have been possible without the great efforts of our FreeBSD GNOME Team. The list of current members can be found at http://www.freebsd.org/gnome/contact.html (including our newest member, Michael Johnson <ahze@FreeBSD.org>). Special thanks also goes out to all of the loyal FreeBSD GNOME users that put up with crashes and hangs to test and debug GNOME on FreeBSD. We would especially like to thank those users that provided patches for GNOME 2.7 and 2.8: Franz Klammer <klammer@webonaut.com> Piotr Smyrak <piotr.smyrak@heron.pl> Radek Kozlowski <radek@raadradd.com> Khairil Yusof <kaeru@pd.jaring.my> Yasuda Keisuke <kysd@po.harenet.ne.jp> Tom McLaughlin <tmclaugh@sdf.lonestar.org> Vladimir Grebenschikov <vova@fbsd.ru> GNOME 2.8 also features a new, FreeBSD-specific splashscreen that was designed by jimmac for GNOME 2.8, then daemonized by Franz Klammer <klammer@webonaut.com> and Radek Kozlowski <radek@raadradd.com>. As with GNOME 2.6, you cannot just "portupgrade" to GNOME 2.8. There is a script provided at http://www.marcuscom.com/downloads/gnome_upgrade28.sh that will aid in the upgrade process. Full documentation on the GNOME 2.8 upgrade is coming following this commit. From all of us at FreeBSD GNOME, ENJOY!
2004-11-07 22:24:32 +00:00
.for po in zh_CN.po
@${REINPLACE_CMD} -e 's|%-|%|g' ${WRKSRC}/po/${po}
.endfor
.endif
2004-06-11 19:53:54 +00:00
post-install:
.if !defined(PACKAGE_BUILDING)
@${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
.endif
@${MKDIR} ${PREFIX}/etc/gdm/Sessions
@${SED} -e 's|%%PREFIX%%|${PREFIX}|g' < ${PKGDIR}/pkg-message \
| /usr/bin/fmt 75 79 > ${PKGMESSAGE}
2001-08-16 12:12:16 +00:00
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>