summaryrefslogtreecommitdiff
path: root/comms/minicom
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2009-06-06 21:30:30 +0000
committerwiz <wiz@pkgsrc.org>2009-06-06 21:30:30 +0000
commitbadae499d48e963edda8790ec0d4ee254a28cc68 (patch)
tree81b9ddf0afde9aeb06f698b65220b5b696458633 /comms/minicom
parent8333034b3dc82e0fed15c5c59c59d63cf6e66a25 (diff)
downloadpkgsrc-badae499d48e963edda8790ec0d4ee254a28cc68.tar.gz
Convert to user-destdir.
Diffstat (limited to 'comms/minicom')
-rw-r--r--comms/minicom/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/comms/minicom/Makefile b/comms/minicom/Makefile
index 8f96da76cba..500f10b74a5 100644
--- a/comms/minicom/Makefile
+++ b/comms/minicom/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.56 2007/07/04 20:54:34 jlam Exp $
+# $NetBSD: Makefile,v 1.57 2009/06/06 21:30:30 wiz Exp $
DISTNAME= minicom-2.1
PKGREVISION= 3
@@ -12,7 +12,9 @@ COMMENT= MS-DOS Telix serial communication program "workalike"
DEPENDS+= gkermit-[0-9]*:../../comms/gkermit
DEPENDS+= lrzsz-[0-9]*:../../comms/lrzsz
+PKG_DESTDIR_SUPPORT= user-destdir
PKG_INSTALLATION_TYPES= overwrite pkgviews
+INSTALLATION_DIRS= share/examples/minicom
USE_PKGLOCALEDIR= yes
USE_TOOLS+= gmake msgfmt
@@ -44,8 +46,7 @@ SUBST_FILES.minicom= src/rwconf.c
SUBST_VARS.minicom= PREFIX GKERMIT_PREFIX LRZSZ_PREFIX
post-install:
- ${INSTALL_DATA_DIR} ${EGDIR}
- ${INSTALL_DATA} ${WRKSRC}/doc/minicom.users ${EGDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/minicom.users ${DESTDIR}${EGDIR}
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"