diff options
Diffstat (limited to 'mail/nail/Makefile')
-rw-r--r-- | mail/nail/Makefile | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/mail/nail/Makefile b/mail/nail/Makefile index f7375b104a9..85534622360 100644 --- a/mail/nail/Makefile +++ b/mail/nail/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.36 2008/01/18 05:08:27 tnn Exp $ +# $NetBSD: Makefile,v 1.37 2008/03/04 17:57:19 jlam Exp $ DISTNAME= nail-11.25 PKGREVISION= 1 @@ -10,6 +10,8 @@ MAINTAINER= cjep@NetBSD.org HOMEPAGE= http://nail.sourceforge.net/ COMMENT= BSD mail utility with MIME extensions +PKG_DESTDIR_SUPPORT= user-destdir + MAKE_ENV+= "SYSCONFDIR=${PKG_SYSCONFDIR}" PKG_OPTIONS_VAR= PKG_OPTIONS.nail @@ -32,10 +34,10 @@ CONF_FILES= ${EGDIR}/nail.rc ${PKG_SYSCONFDIR}/nail.rc INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/nail ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/nail.1 ${PREFIX}/${PKGMANDIR}/man1 - ${INSTALL_DATA_DIR} ${EGDIR} - ${INSTALL_DATA} ${WRKSRC}/nail.rc ${EGDIR} + ${INSTALL_PROGRAM} ${WRKSRC}/nail $${DESTDIR}{PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/nail.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 + ${INSTALL_DATA_DIR} ${DESTDIR}${EGDIR} + ${INSTALL_DATA} ${WRKSRC}/nail.rc ${DESTDIR}${EGDIR} .include "../../converters/libiconv/buildlink3.mk" .include "../../security/openssl/buildlink3.mk" |