summaryrefslogtreecommitdiff
path: root/mail/etpan
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2010-02-04 02:00:36 +0000
committerjoerg <joerg@pkgsrc.org>2010-02-04 02:00:36 +0000
commit55eaad361245bdbb85052038a5a69f9e1b8a5697 (patch)
treed913d01111cffa3d13c0ade58237a5404f61c158 /mail/etpan
parent572a962ab387f556d8226d4d8461a2d64d8a8372 (diff)
downloadpkgsrc-55eaad361245bdbb85052038a5a69f9e1b8a5697.tar.gz
DESTDIR support
Diffstat (limited to 'mail/etpan')
-rw-r--r--mail/etpan/Makefile17
1 files changed, 10 insertions, 7 deletions
diff --git a/mail/etpan/Makefile b/mail/etpan/Makefile
index c383362f7d0..abf49598725 100644
--- a/mail/etpan/Makefile
+++ b/mail/etpan/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2010/01/17 12:02:23 wiz Exp $
+# $NetBSD: Makefile,v 1.12 2010/02/04 02:08:22 joerg Exp $
#
DISTNAME= etpan-ng-0.7.1
@@ -11,18 +11,21 @@ MAINTAINER= dawszy@arhea.pl
HOMEPAGE= http://libetpan.sourceforge.net/etpan/
COMMENT= Mail console client with S/MIME and PGP support
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_PKGLOCALEDIR= yes
USE_TOOLS+= perl:run yacc
GNU_CONFIGURE= yes
-DOCDIR= ${LOCALBASE}/share/doc/etpan
+DOCDIR= ${PREFIX}/share/doc/etpan
-INSTALLATION_DIRS= share/doc/etpan
+INSTALLATION_DIRS= bin share/doc/etpan
-post-install:
- ${INSTALL_DATA} ${WRKSRC}/README ${DOCDIR}
- ${INSTALL_DATA} ${WRKSRC}/doc/CONFIG ${DOCDIR}
- ${INSTALL_DATA} ${WRKSRC}/doc/INTERNAL ${DOCDIR}
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/src/etpan ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${DOCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/CONFIG ${DESTDIR}${DOCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/INTERNAL ${DESTDIR}${DOCDIR}
.include "../../databases/db4/buildlink3.mk"
.include "../../devel/ncurses/buildlink3.mk"