blob: 7e68ad3c896a4afbf830ab1b59bc768c95b7d162 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
|
# New ports collection makefile for: login.app
# Date created: 17 January 1999
# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= login.app
PORTVERSION= 2.1.1
PORTREVISION= 2
CATEGORIES= x11 windowmaker
MASTER_SITES= http://largo.windowmaker.org/files/Login.app/ \
http://depot.fsck.ch/mirror/distfiles/
DISTNAME= Login.app-${PORTVERSION}
MAINTAINER= ports@fsck.ch
COMMENT= Graphical login interface for X that is themable
LIB_DEPENDS= wraster.4:${PORTSDIR}/x11-wm/windowmaker \
PropList.2:${PORTSDIR}/devel/libPropList
DEPRECATED= mastersite disappeared, no longer maintained by author (x11/slim is the successor)
EXPIRATION_DATE= 2006-02-28
WRKSRC= ${WRKDIR}/Login.app-${PORTVERSION:S/.a/-Alpha-/}
USE_X_PREFIX= yes
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --prefix=${PREFIX}
USE_GMAKE= yes
USE_REINPLACE= yes
MAN1= Login.app.1x
pre-configure:
@${REINPLACE_CMD} -e \
's|GNUstep/Applications|GNUstep/Apps|' \
${WRKSRC}/Makefile.am \
${WRKSRC}/Makefile.in \
${WRKSRC}/Scripts/Makefile.am \
${WRKSRC}/Scripts/Makefile.in \
${WRKSRC}/Themes/Linux/Makefile.am \
${WRKSRC}/Themes/Linux/Makefile.in \
${WRKSRC}/Themes/GNUstep/Makefile.am \
${WRKSRC}/Themes/GNUstep/Makefile.in \
${WRKSRC}/Themes/Drone/Makefile.in \
${WRKSRC}/Themes/Drone/Makefile.am \
${WRKSRC}/src/Makefile.in \
${WRKSRC}/src/Makefile.am \
${WRKSRC}/doc/Login.app.1x
# this replacement is only used to fix cluster builds:
@${REINPLACE_CMD} -e \
's|-lWUtil|-lWUtil -lintl|' \
${WRKSRC}/configure \
${WRKSRC}/src/Makefile.in \
${WRKSRC}/src/Makefile.am
post-configure:
@${REINPLACE_CMD} -e \
's|%%X11BASE%%|${X11BASE}|; \
s|%%LOCALBASE%%|${LOCALBASE}|' \
${WRKSRC}/Scripts/Login.user \
${WRKSRC}/Scripts/Login.root \
${WRKSRC}/Scripts/Logout.root \
${WRKSRC}/Scripts/Startup \
${WRKSRC}/Preferences \
${WRKSRC}/src/config.h \
${WRKSRC}/src/preferences.h \
${WRKSRC}/doc/Login.app.1x
post-install:
@${SED} 's|%%X11BASE%%|${PREFIX}|' \
${FILESDIR}/loginapp.sh > ${PREFIX}/etc/rc.d/loginapp.sh
@${CHMOD} ${BINMODE} ${PREFIX}/etc/rc.d/loginapp.sh
.include <bsd.port.mk>
|