diff options
author | vanilla <vanilla@FreeBSD.org> | 2013-11-18 08:37:15 +0800 |
---|---|---|
committer | vanilla <vanilla@FreeBSD.org> | 2013-11-18 08:37:15 +0800 |
commit | 1982721df575ee1f38014d6c5416a3b73e0e17e9 (patch) | |
tree | 2b38c4ddded75d6142be0d45209292474f0596a8 /comms/zssh | |
parent | 4b45646c34d33875b29bb5e5a9b4ad4625f7049d (diff) | |
download | freebsd-ports-gnome-1982721df575ee1f38014d6c5416a3b73e0e17e9.tar.gz freebsd-ports-gnome-1982721df575ee1f38014d6c5416a3b73e0e17e9.tar.zst freebsd-ports-gnome-1982721df575ee1f38014d6c5416a3b73e0e17e9.zip |
Support STAGEDIR.
Diffstat (limited to 'comms/zssh')
-rw-r--r-- | comms/zssh/Makefile | 4 | ||||
-rw-r--r-- | comms/zssh/files/patch-Makefile.in | 15 |
2 files changed, 16 insertions, 3 deletions
diff --git a/comms/zssh/Makefile b/comms/zssh/Makefile index 308c3f8540e7..aa2e9b4cb0da 100644 --- a/comms/zssh/Makefile +++ b/comms/zssh/Makefile @@ -15,10 +15,8 @@ RUN_DEPENDS= lrz:${PORTSDIR}/comms/lrzsz HAS_CONFIGURE= yes -PLIST_FILES= bin/zssh bin/ztelnet -MAN1= zssh.1 ztelnet.1 +PLIST_FILES= bin/zssh bin/ztelnet man/man1/zssh.1.gz man/man1/ztelnet.1.gz -NO_STAGE= yes post-configure: @${REINPLACE_CMD} -e 's,^prefix.*,prefix = ${PREFIX},g' ${WRKSRC}/Makefile diff --git a/comms/zssh/files/patch-Makefile.in b/comms/zssh/files/patch-Makefile.in new file mode 100644 index 000000000000..864229dec4df --- /dev/null +++ b/comms/zssh/files/patch-Makefile.in @@ -0,0 +1,15 @@ +--- Makefile.in.orig 2013-11-17 23:06:21.000000000 +0800 ++++ Makefile.in 2013-11-17 23:07:02.000000000 +0800 +@@ -75,9 +75,9 @@ ztelnet : $(NAME) + + install : + strip $(NAME) +- $(INSTALL) -m 0711 zssh @bindir@ +- ln -f @bindir@/zssh @bindir@/ztelnet +- $(INSTALL) -m 0644 $(MANS) @mandir@/man1 ++ $(INSTALL) -m 0711 zssh $(DESTDIR)@bindir@ ++ (cd $(DESTDIR)@bindir@; ln -f zssh ztelnet) ++ $(INSTALL) -m 0644 $(MANS) $(DESTDIR)@mandir@/man1 + + uninstall : + -cd @bindir@ && rm $(PRGS) |