Thu Feb 4 02:31:29 2010 UTC ()
DESTDIR support


(joerg)
diff -r1.12 -r1.13 pkgsrc/mail/mpop/Makefile

cvs diff -r1.12 -r1.13 pkgsrc/mail/mpop/Makefile (expand / switch to unified diff)

--- pkgsrc/mail/mpop/Makefile 2009/05/19 08:59:22 1.12
+++ pkgsrc/mail/mpop/Makefile 2010/02/04 02:31:29 1.13
@@ -1,32 +1,34 @@ @@ -1,32 +1,34 @@
1# $NetBSD: Makefile,v 1.12 2009/05/19 08:59:22 wiz Exp $ 1# $NetBSD: Makefile,v 1.13 2010/02/04 02:31:29 joerg Exp $
2# 2#
3 3
4DISTNAME= mpop-1.0.12 4DISTNAME= mpop-1.0.12
5PKGREVISION= 1 5PKGREVISION= 1
6CATEGORIES= mail 6CATEGORIES= mail
7MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mpop/} 7MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mpop/}
8EXTRACT_SUFX= .tar.bz2 8EXTRACT_SUFX= .tar.bz2
9 9
10MAINTAINER= reed@reedmedia.net 10MAINTAINER= reed@reedmedia.net
11HOMEPAGE= http://mpop.sourceforge.net/ 11HOMEPAGE= http://mpop.sourceforge.net/
12COMMENT= Small, fast and portable POP3 client 12COMMENT= Small, fast and portable POP3 client
13LICENSE= gnu-gpl-v3 13LICENSE= gnu-gpl-v3
14 14
 15PKG_DESTDIR_SUPPORT= user-destdir
 16
15GNU_CONFIGURE= yes 17GNU_CONFIGURE= yes
16USE_PKGLOCALEDIR= yes 18USE_PKGLOCALEDIR= yes
17USE_TOOLS+= pkg-config 19USE_TOOLS+= pkg-config
18INFO_FILES= # PLIST 20INFO_FILES= # PLIST
19 21
20CONFIGURE_ARGS+= --enable-nls 22CONFIGURE_ARGS+= --enable-nls
21 23
22EGDIR= ${PREFIX}/share/examples/mpop 24EGDIR= ${PREFIX}/share/examples/mpop
 25INSTALLATION_DIRS+= ${EGDIR}
23 26
24.include "options.mk" 27.include "options.mk"
25.include "../../devel/gettext-lib/buildlink3.mk" 
26.include "../../devel/libgetopt/buildlink3.mk" 
27 28
28post-install: 29post-install:
29 ${INSTALL_DATA_DIR} ${EGDIR} 30 ${INSTALL_DATA} ${WRKSRC}/doc/mpoprc.example ${DESTDIR}${EGDIR}
30 ${INSTALL_DATA} ${WRKSRC}/doc/mpoprc.example ${EGDIR} 
31 31
 32.include "../../devel/gettext-lib/buildlink3.mk"
 33.include "../../devel/libgetopt/buildlink3.mk"
32.include "../../mk/bsd.pkg.mk" 34.include "../../mk/bsd.pkg.mk"