diff options
Diffstat (limited to 'misc')
-rw-r--r-- | misc/detachtty/Makefile | 10 | ||||
-rw-r--r-- | misc/detachtty/files/patch-aa | 15 | ||||
-rw-r--r-- | misc/detachtty/pkg-plist | 2 |
3 files changed, 7 insertions, 20 deletions
diff --git a/misc/detachtty/Makefile b/misc/detachtty/Makefile index 24d92fc48b3b..bfb7259a3965 100644 --- a/misc/detachtty/Makefile +++ b/misc/detachtty/Makefile @@ -13,14 +13,8 @@ COMMENT= Run interactive programs non-interactively WRKSRC= ${WRKDIR}/${PORTNAME}-9 USES= gmake -MAN1= detachtty.1 -MLINKS= detachtty.1 attachtty.1 -MANCOMPRESSED= no - -NO_STAGE= yes post-install: -.if !defined(NO_INSTALL_MANPAGES) - ${INSTALL_MAN} ${WRKSRC}/detachtty.1 ${MANPREFIX}/man/man1 -.endif + ${INSTALL_MAN} ${WRKSRC}/detachtty.1 ${STAGEDIR}${MANPREFIX}/man/man1 + ${INSTALL_MAN} ${WRKSRC}/detachtty.1 ${STAGEDIR}${MANPREFIX}/man/man1/attachtty.1 .include <bsd.port.mk> diff --git a/misc/detachtty/files/patch-aa b/misc/detachtty/files/patch-aa index 4ad1cf9ac051..5ed43a0acc3c 100644 --- a/misc/detachtty/files/patch-aa +++ b/misc/detachtty/files/patch-aa @@ -1,5 +1,5 @@ ---- Makefile.orig Fri Oct 24 13:11:13 2003 -+++ Makefile Fri Oct 24 13:17:47 2003 +--- Makefile.orig 2003-08-04 17:32:23.000000000 +0800 ++++ Makefile 2014-06-08 23:33:51.093015991 +0800 @@ -3,9 +3,9 @@ # for details @@ -12,7 +12,7 @@ # Solaris, some version of #OS_CFLAGS=-DNEED_STRINGS_H -DNEED_LOCAL_FORKPTY_H # MacOS X needs libpoll from fink -@@ -23,7 +23,7 @@ +@@ -23,7 +23,7 @@ OS_OBJECTS= # no forkpty in Solaris or MacOS X # OS_OBJECTS=forkpty.o @@ -21,12 +21,3 @@ # You probably don't need to edit anything below this line -@@ -35,7 +35,7 @@ - -rm *.o *~ attachtty detachtty - - install: all -- install detachtty attachtty $(DESTDIR)$(INSTALL_DIR) -+ install detachtty attachtty $(INSTALL_DIR) - - deb: - rm -rf /usr/local/src/Packages/detachtty/ diff --git a/misc/detachtty/pkg-plist b/misc/detachtty/pkg-plist index 832d48e64000..2ebb07588ad2 100644 --- a/misc/detachtty/pkg-plist +++ b/misc/detachtty/pkg-plist @@ -1,2 +1,4 @@ bin/attachtty bin/detachtty +man/man1/attachtty.1.gz +man/man1/detachtty.1.gz |