1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00
freebsd-ports/security/ssh-gui/Makefile
Pawel Pekala fa5570affe - Add staging support
- Remove leading article from COMMENT
- Convert to new options framework
2014-07-07 19:03:09 +00:00

39 lines
894 B
Makefile

# Created by: Hammurabi Mendes <hmendes@brturbo.com>
# $FreeBSD$
PORTNAME= ssh-gui
PORTVERSION= 0.7.1
PORTREVISION= 5
CATEGORIES= security
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= Front-end for ssh which can open multiple xterms
USE_GNOME= gtk12
ALL_TARGET= ssh-gui
PLIST_FILES= bin/ssh-gui
PORTDOCS= README
OPTIONS_DEFINE= DOCS
.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} ${STAGEDIR}${PREFIX}/bin
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.post.mk>