summaryrefslogtreecommitdiffstats
path: root/net/gnometelnet/Makefile
blob: 3f86d1a63c2815be0a3489f1f67f86be19c28b15 (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
# New ports collection makefile for:	gnometelnet
# Date created:				2 August 2000
# Whom:					Maxim Sobolev <sobomax@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	gnometelnet
PORTVERSION=	2.5
CATEGORIES=	net gnome
MASTER_SITES=	http://www.cyest.org/downloads/
DISTNAME=	${PORTNAME:S/gnome/gnome-/}-${PORTVERSION}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	A nice frontend to the telnet, ssh, and rlogin clients for GNOME

BUILD_DEPENDS=	${LOCALBASE}/share/automake/install-sh:${PORTSDIR}/devel/automake

USE_BZIP2=	yes
USE_X_PREFIX=	yes
USE_GNOME=	gnomehack gnomelibs gnomeprefix
USE_GMAKE=	yes
USE_LIBTOOL=	yes
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
		LDFLAGS="-L${LOCALBASE}/lib"

pre-configure:
	@${LN} -sf ${LOCALBASE}/share/automake/install-sh ${WRKSRC}
	@${RM} -f ${WRKSRC}/config.cache
.for file in config.guess config.sub
	@${RM} -f ${WRKSRC}/${file} && ${TOUCH} ${WRKSRC}/${file}
.endfor

post-install:
	@${MKDIR} ${PREFIX}/share/gnome/apps/Internet
	${INSTALL_DATA} ${WRKSRC}/share/GTelnet.desktop \
		${PREFIX}/share/gnome/apps/Internet
	@${MKDIR} ${PREFIX}/share/gnome/pixmaps
	${INSTALL_DATA} ${WRKSRC}/share/*.png \
		${PREFIX}/share/gnome/pixmaps
	@${MKDIR} ${PREFIX}/share/gnome/pixmaps/gnome-telnet
	${INSTALL_DATA} ${WRKSRC}/share/*.jpg \
		${PREFIX}/share/gnome/pixmaps/gnome-telnet

.include <bsd.port.mk>
OpenPOWER on IntegriCloud