aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2014-06-06 09:46:12 +0800
committervanilla <vanilla@FreeBSD.org>2014-06-06 09:46:12 +0800
commit5653ff6277cd45103c6bcebbdeab7ae9480da3c9 (patch)
treef1e1b4ec4b1024b17f821436eeb6ea967e2f458d
parenta31653b4ffe3e78fcfe8f01b0ce05aa70bc238f5 (diff)
downloadfreebsd-ports-gnome-5653ff6277cd45103c6bcebbdeab7ae9480da3c9.tar.gz
freebsd-ports-gnome-5653ff6277cd45103c6bcebbdeab7ae9480da3c9.tar.zst
freebsd-ports-gnome-5653ff6277cd45103c6bcebbdeab7ae9480da3c9.zip
Stagify.
Approved by: portmgr@
-rw-r--r--security/autossh/Makefile2
-rw-r--r--security/autossh/files/patch-Makefile.in36
-rw-r--r--security/autossh/pkg-plist1
3 files changed, 37 insertions, 2 deletions
diff --git a/security/autossh/Makefile b/security/autossh/Makefile
index d49642ab0062..f0db40abaa87 100644
--- a/security/autossh/Makefile
+++ b/security/autossh/Makefile
@@ -13,9 +13,7 @@ COMMENT= Automatically restart SSH sessions and tunnels
GNU_CONFIGURE= yes
PORTDOCS= CHANGES README
-MAN1= autossh.1
-NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e 's,cp autossh.1 ,$$\{BSD_INSTALL_MAN\} autossh.1 ,g' ${WRKSRC}/${MAKEFILE}.in
@${REINPLACE_CMD} -e 's,cp autossh ,$$\{BSD_INSTALL_PROGRAM\} autossh ,g' ${WRKSRC}/${MAKEFILE}.in
diff --git a/security/autossh/files/patch-Makefile.in b/security/autossh/files/patch-Makefile.in
new file mode 100644
index 000000000000..bc82b22b9931
--- /dev/null
+++ b/security/autossh/files/patch-Makefile.in
@@ -0,0 +1,36 @@
+--- Makefile.in.orig 2014-06-06 09:42:44.484826074 +0800
++++ Makefile.in 2014-06-06 09:43:35.132824906 +0800
+@@ -45,18 +45,18 @@ distclean: allclean
+ - /bin/rm -f Makefile
+
+ install: $(TARGET)
+- mkdir -p -m 755 $(bindir)
+- mkdir -p -m 755 $(prefix)/share/doc/autossh
+- mkdir -p -m 755 $(datadir)/examples/autossh
+- mkdir -p -m 755 $(mandir)/man1
+- cp $(TARGET) $(bindir)
+- cp CHANGES README $(datadir)/doc/autossh
+- cp autossh.host $(datadir)/examples/autossh
+- cp rscreen $(datadir)/examples/autossh
+- cp autossh.1 $(mandir)/man1
+- chmod 755 $(bindir)/$(TARGET)
+- chmod 644 $(datadir)/doc/autossh/CHANGES
+- chmod 644 $(datadir)/doc/autossh/README
+- chmod 644 $(datadir)/examples/autossh/autossh.host
+- chmod 644 $(datadir)/examples/autossh/rscreen
+- chmod 644 $(mandir)/man1/autossh.1
++ mkdir -p -m 755 $(DESTDIR)$(bindir)
++ mkdir -p -m 755 $(DESTDIR)$(prefix)/share/doc/autossh
++ mkdir -p -m 755 $(DESTDIR)$(datadir)/examples/autossh
++ mkdir -p -m 755 $(DESTDIR)$(mandir)/man1
++ cp $(TARGET) $(DESTDIR)$(bindir)
++ cp CHANGES README $(DESTDIR)$(datadir)/doc/autossh
++ cp autossh.host $(DESTDIR)$(datadir)/examples/autossh
++ cp rscreen $(DESTDIR)$(datadir)/examples/autossh
++ cp autossh.1 $(DESTDIR)$(mandir)/man1
++ chmod 755 $(DESTDIR)$(bindir)/$(TARGET)
++ chmod 644 $(DESTDIR)$(datadir)/doc/autossh/CHANGES
++ chmod 644 $(DESTDIR)$(datadir)/doc/autossh/README
++ chmod 644 $(DESTDIR)$(datadir)/examples/autossh/autossh.host
++ chmod 644 $(DESTDIR)$(datadir)/examples/autossh/rscreen
++ chmod 644 $(DESTDIR)$(mandir)/man1/autossh.1
diff --git a/security/autossh/pkg-plist b/security/autossh/pkg-plist
index e77c1e0caf62..fa819adef8bc 100644
--- a/security/autossh/pkg-plist
+++ b/security/autossh/pkg-plist
@@ -1,4 +1,5 @@
bin/autossh
+man/man1/autossh.1.gz
%%EXAMPLESDIR%%/autossh.host
%%EXAMPLESDIR%%/rscreen
@dirrm %%EXAMPLESDIR%%