diff options
Diffstat (limited to 'mail/sma/Makefile')
-rw-r--r-- | mail/sma/Makefile | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/mail/sma/Makefile b/mail/sma/Makefile index dc6f1b9d5d6..bf7f542fa54 100644 --- a/mail/sma/Makefile +++ b/mail/sma/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.13 2007/10/16 23:49:01 tnn Exp $ +# $NetBSD: Makefile,v 1.14 2008/03/04 17:57:19 jlam Exp $ DISTNAME= sma-1.4 CATEGORIES= mail @@ -8,6 +8,8 @@ MAINTAINER= markus@core.de HOMEPAGE= http://www.klake.org/sma/ COMMENT= Sendmail log analyser +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR}/${PKGNAME_NOREV} NO_CONFIGURE= yes @@ -22,12 +24,12 @@ CFLAGS+= -DUSE_REGEXP INSTALLATION_DIRS= bin ${PKGMANDIR}/man8 do-install: - cd ${WRKSRC}; \ - ${INSTALL_PROGRAM} sma ${PREFIX}/bin; \ - ${INSTALL_MAN} docs/sma.8 ${PREFIX}/${PKGMANDIR}/man8; \ - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/sma; \ - ${INSTALL_DATA} README ${PREFIX}/share/doc/sma; \ - ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/sma; \ - ${INSTALL_DATA} sma.conf ${PREFIX}/share/examples/sma + cd ${WRKSRC}; \ + ${INSTALL_PROGRAM} sma ${DESTDIR}${PREFIX}/bin; \ + ${INSTALL_MAN} docs/sma.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8;\ + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/sma; \ + ${INSTALL_DATA} README ${DESTDIR}${PREFIX}/share/doc/sma; \ + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/examples/sma; \ + ${INSTALL_DATA} sma.conf ${DESTDIR}${PREFIX}/share/examples/sma .include "../../mk/bsd.pkg.mk" |