diff options
author | Marcus Alves Grando <mnag@FreeBSD.org> | 2006-02-20 13:20:32 +0000 |
---|---|---|
committer | Marcus Alves Grando <mnag@FreeBSD.org> | 2006-02-20 13:20:32 +0000 |
commit | 3ba3556c89c8ec599e37db05e61dfbbcb88976d0 (patch) | |
tree | 519d031f91fc7c10ab9f89a04cd1e00eb8ba0ff4 | |
parent | f03bedcae2bfbd4ccfccbb7e0106388bb2dbec4b (diff) | |
download | ports-3ba3556c89c8ec599e37db05e61dfbbcb88976d0.tar.gz ports-3ba3556c89c8ec599e37db05e61dfbbcb88976d0.zip |
Notes
-rw-r--r-- | security/ssh-gui/Makefile | 29 | ||||
-rw-r--r-- | security/ssh-gui/pkg-plist | 3 |
2 files changed, 17 insertions, 15 deletions
diff --git a/security/ssh-gui/Makefile b/security/ssh-gui/Makefile index 1d515d9cf8ad..94d7a8f34c80 100644 --- a/security/ssh-gui/Makefile +++ b/security/ssh-gui/Makefile @@ -7,7 +7,7 @@ PORTNAME= ssh-gui PORTVERSION= 0.7.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= security MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -15,26 +15,31 @@ MASTER_SITE_SUBDIR= ${PORTNAME} MAINTAINER= ports@FreeBSD.org COMMENT= A front-end for ssh which can open multiple xterms -RUN_DEPENDS= ssh:${PORTSDIR}/security/openssh - USE_GNOME= gtk12 -USE_PERL5_BUILD=yes + ALL_TARGET= ssh-gui -DOC_FILES= README +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: - @${PERL} -pi.orig -e "s|^CC=.+$$||;s|(CFLAGS)=-Wall|\1\+=|; \ - s|glib-config|${GLIB_CONFIG}|;s|gtk-config|${GTK_CONFIG}|" \ + @${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/ + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/ + +post-install: .ifndef(NOPORTDOCS) @${MKDIR} ${DOCSDIR} -.for doc in ${DOC_FILES} - @${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR} -.endfor + ${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${DOCSDIR} .endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/security/ssh-gui/pkg-plist b/security/ssh-gui/pkg-plist deleted file mode 100644 index 7fcc2275b592..000000000000 --- a/security/ssh-gui/pkg-plist +++ /dev/null @@ -1,3 +0,0 @@ -bin/ssh-gui -%%PORTDOCS%%share/doc/ssh-gui/README -%%PORTDOCS%%@dirrm share/doc/ssh-gui |