summaryrefslogblamecommitdiffstats
path: root/net/gnometelnet/Makefile
blob: 0cd8ffd84407e8c0a2c778a36cdd2ea42cae378b (plain) (tree)
1
2
3
4
5
6
7
8
9








                                                                           
                 

































                                                                                
# New ports collection makefile for:    gnometelnet
# Date created:             2 August 2000
# Whom:                 Maxim Sobolev <sobomax@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   gnometelnet
PORTVERSION=    2.5
PORTREVISION=   4
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

USE_AUTOTOOLS=  automake:15:env libtool:15
USE_BZIP2=  yes
USE_X_PREFIX=   yes
USE_GNOME=  gnomehack gnomelibs gnomeprefix
USE_GMAKE=  yes
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib"

pre-configure:
    @${LN} -sf ${AUTOMAKE_DIR}/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/pixmaps
    ${INSTALL_DATA} ${WRKSRC}/share/*.png \
        ${PREFIX}/share/pixmaps
    @${MKDIR} ${PREFIX}/share/pixmaps/gnome-telnet
    ${INSTALL_DATA} ${WRKSRC}/share/*.jpg \
        ${PREFIX}/share/pixmaps/gnome-telnet

.include <bsd.port.mk>