summaryrefslogtreecommitdiff
path: root/security/AiSSLtelnet
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2008-06-12 02:14:13 +0000
committerjoerg <joerg@pkgsrc.org>2008-06-12 02:14:13 +0000
commitba171a91fab519f587b027c1a2888cb6e3fce049 (patch)
treec12b9c282e2706cb6bac87456615dfdf2b256e55 /security/AiSSLtelnet
parent3ba79d294eb62e9c75cc32d37b4af7759af8c9d6 (diff)
downloadpkgsrc-ba171a91fab519f587b027c1a2888cb6e3fce049.tar.gz
Add DESTDIR support.
Diffstat (limited to 'security/AiSSLtelnet')
-rw-r--r--security/AiSSLtelnet/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/security/AiSSLtelnet/Makefile b/security/AiSSLtelnet/Makefile
index 4555ad11652..574107502a8 100644
--- a/security/AiSSLtelnet/Makefile
+++ b/security/AiSSLtelnet/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2008/05/17 08:22:56 obache Exp $
+# $NetBSD: Makefile,v 1.10 2008/06/12 02:14:44 joerg Exp $
#
DISTNAME= AiSSLtelnet-0.15
@@ -10,6 +10,8 @@ MAINTAINER= tech-pkg-ja@jp.NetBSD.org
HOMEPAGE= http://mars.elcom.nitech.ac.jp/security/
COMMENT= SSL Telnet based on AiSSL
+PKG_DESTDIR_SUPPORT= user-destdir
+
GNU_CONFIGURE= YES
RESTRICTED= Source code redistribution is not permitted.consult okuno@mars.elcom.nitech.ac.jp.
@@ -18,10 +20,12 @@ NO_SRC_ON_CDROM= ${RESTRICTED}
WRKSRC= ${WRKDIR}/AiSSLtelnet
+INSTALLATION_DIRS= share/doc/AiSSLtelnet
+INSTALL_MAKE_FLAGS= PREFIX=${DESTDIR}${PREFIX}
+
pre-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/AiSSLtelnet
${INSTALL_DATA} ${WRKSRC}/aicrypto/COPYRIGHT ${WRKSRC}/README \
- ${WRKSRC}/README-j ${PREFIX}/share/doc/AiSSLtelnet
+ ${WRKSRC}/README-j ${DESTDIR}${PREFIX}/share/doc/AiSSLtelnet
# The sources assume <malloc.h> exists. Create a fake one for platforms
# that don't have it.