summaryrefslogtreecommitdiff
path: root/mail/etpan/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'mail/etpan/Makefile')
-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"