summaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorvs <vs@FreeBSD.org>2005-04-11 07:19:24 +0000
committervs <vs@FreeBSD.org>2005-04-11 07:19:24 +0000
commit93ea51bfc3219265c52c39374430d10201b8f436 (patch)
treedd2ac9b1198a8d34feb5b79dbf0ce4a1cee64b9e /security
parentf9d078287a225e981710db992285af21244c623a (diff)
downloadFreeBSD-ports-93ea51bfc3219265c52c39374430d10201b8f436.zip
FreeBSD-ports-93ea51bfc3219265c52c39374430d10201b8f436.tar.gz
- Fix non-root installation
- Use PLIST_FILES/PORTDOCS while here (me) PR: ports/79652 Submitted by: jhb
Diffstat (limited to 'security')
-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 3b43dd2..74a416f 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 8346d06..0000000
--- 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
OpenPOWER on IntegriCloud