mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
fe279f0df8
Discussed with: kris Approved by: portmgr (implicit)
46 lines
1.0 KiB
Makefile
46 lines
1.0 KiB
Makefile
# New ports collection makefile for: ssh-gui
|
|
# Date created: Fri Nov 30 22:14:14 BRST 2001
|
|
# Whom: Hammurabi Mendes <hmendes@brturbo.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= ssh-gui
|
|
PORTVERSION= 0.7.1
|
|
PORTREVISION= 3
|
|
CATEGORIES= security
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= A front-end for ssh which can open multiple xterms
|
|
|
|
USE_GNOME= gtk12
|
|
|
|
ALL_TARGET= ssh-gui
|
|
|
|
PLIST_FILES= bin/ssh-gui
|
|
PORTDOCS= README
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if !exists(/usr/bin/ssh) && !exists(${LOCALBASE}/bin/ssh)
|
|
RUN_DEPENDS+= ssh:${PORTSDIR}/security/openssh-portable
|
|
.endif
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -E -e "s|(CC)=.*|\1=${CC}|" -e "s|(CFLAGS)=-Wall|\1\+=|" \
|
|
-e "s|glib-config|${GLIB_CONFIG}|" -e "s|gtk-config|${GTK_CONFIG}|" \
|
|
${BUILD_WRKSRC}/Makefile
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/
|
|
|
|
post-install:
|
|
.ifndef(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|