aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--security/openssh-askpass/Makefile10
-rw-r--r--security/openssh-askpass/pkg-plist4
2 files changed, 7 insertions, 7 deletions
diff --git a/security/openssh-askpass/Makefile b/security/openssh-askpass/Makefile
index 3b43dd20e3bb..74a416f974d8 100644
--- a/security/openssh-askpass/Makefile
+++ b/security/openssh-askpass/Makefile
@@ -20,14 +20,18 @@ USE_IMAKE= yes
MAN1= ssh-askpass.1
MANCOMPRESSED= yes
+DOCSDIR= ${PREFIX}/share/doc/ssh-askpass
+PLIST_FILES= bin/ssh-askpass lib/X11/app-defaults/SshAskpass
+PORTDOCS= README
+
makesrctarball: fetch
@cd ${DISTDIR}; \
${ECHO_MSG} ">> Creating source tarball in ${DISTDIR}"; \
${ECHO_MSG} ">> \"${DISTNAME}.tar.gz\"."; \
${TAR} cfz ${DISTNAME}.tar.gz ${DISTNAME}
-pre-install:
- ${MKDIR} ${PREFIX}/share/doc/ssh-askpass
- ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/ssh-askpass/
+post-install:
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.include <bsd.port.mk>
diff --git a/security/openssh-askpass/pkg-plist b/security/openssh-askpass/pkg-plist
deleted file mode 100644
index 8346d06c5003..000000000000
--- a/security/openssh-askpass/pkg-plist
+++ /dev/null
@@ -1,4 +0,0 @@
-bin/ssh-askpass
-lib/X11/app-defaults/SshAskpass
-share/doc/ssh-askpass/README
-@dirrm share/doc/ssh-askpass