| @@ -1,41 +1,41 @@ | | | @@ -1,41 +1,41 @@ |
1 | # $NetBSD: Makefile,v 1.132 2010/01/25 23:04:49 tron Exp $ | | 1 | # $NetBSD: Makefile,v 1.133 2010/04/20 12:52:00 seanb Exp $ |
2 | # | | 2 | # |
3 | # ATTENTION: | | 3 | # ATTENTION: |
4 | # The Kerberos support in this software is known to be problematic. If you | | 4 | # The Kerberos support in this software is known to be problematic. If you |
5 | # upgrade this package you *must* test it on a system with Kerberos libraries | | 5 | # upgrade this package you *must* test it on a system with Kerberos libraries |
6 | # but not running Kerberos before committing the changes. | | 6 | # but not running Kerberos before committing the changes. |
7 | # | | 7 | # |
8 | # NOTE ALSO: | | 8 | # NOTE ALSO: |
9 | # The most common reason to install this package is as a prerequisite for pine. | | 9 | # The most common reason to install this package is as a prerequisite for pine. |
10 | # If you upgrade this package, you *must* test mail/pine with the new version. | | 10 | # If you upgrade this package, you *must* test mail/pine with the new version. |
11 | | | 11 | |
12 | DISTNAME= imap-2007e | | 12 | DISTNAME= imap-2007e |
13 | PKGNAME= ${DISTNAME:S/-/-uw-/} | | 13 | PKGNAME= ${DISTNAME:S/-/-uw-/} |
14 | PKGREVISION= 1 | | 14 | PKGREVISION= 1 |
15 | CATEGORIES= mail | | 15 | CATEGORIES= mail |
16 | MASTER_SITES= ftp://ftp.cac.washington.edu/imap/ | | 16 | MASTER_SITES= ftp://ftp.cac.washington.edu/imap/ |
17 | EXTRACT_SUFX= .tar.Z | | 17 | EXTRACT_SUFX= .tar.Z |
18 | | | 18 | |
19 | MAINTAINER= pkgsrc-users@NetBSD.org | | 19 | MAINTAINER= pkgsrc-users@NetBSD.org |
20 | HOMEPAGE= http://www.washington.edu/imap/ | | 20 | HOMEPAGE= http://www.washington.edu/imap/ |
21 | COMMENT= University of Washington's IMAP, POP2, and POP3 servers | | 21 | COMMENT= University of Washington's IMAP, POP2, and POP3 servers |
22 | | | 22 | |
23 | PKG_DESTDIR_SUPPORT= user-destdir | | 23 | PKG_DESTDIR_SUPPORT= user-destdir |
24 | | | 24 | |
25 | USE_LIBTOOL= yes | | 25 | USE_LIBTOOL= yes |
26 | MAKE_ENV+= LIBTOOL=libtool | | 26 | MAKE_ENV+= LIBTOOL=libtool |
27 | MAKE_ENV+= LTCOMPILE="libtool --mode=compile" | | 27 | MAKE_ENV+= LTCOMPILE="libtool --tag=CC --mode=compile" |
28 | MAKE_ENV+= LTLINK="libtool --mode=link" | | 28 | MAKE_ENV+= LTLINK="libtool --tag=CC --mode=link" |
29 | LTINSTALL_PROGRAM= ${SETENV} ${MAKE_ENV} ${LIBTOOL} --mode=install ${INSTALL_PROGRAM} | | 29 | LTINSTALL_PROGRAM= ${SETENV} ${MAKE_ENV} ${LIBTOOL} --mode=install ${INSTALL_PROGRAM} |
30 | LTINSTALL_LIB= ${SETENV} ${MAKE_ENV} ${LIBTOOL} --mode=install ${INSTALL_LIB} | | 30 | LTINSTALL_LIB= ${SETENV} ${MAKE_ENV} ${LIBTOOL} --mode=install ${INSTALL_LIB} |
31 | | | 31 | |
32 | WRKSRC= ${WRKDIR}/${DISTNAME:S/2$//} | | 32 | WRKSRC= ${WRKDIR}/${DISTNAME:S/2$//} |
33 | | | 33 | |
34 | MAKE_JOBS_SAFE= no | | 34 | MAKE_JOBS_SAFE= no |
35 | | | 35 | |
36 | .include "../../mk/bsd.prefs.mk" | | 36 | .include "../../mk/bsd.prefs.mk" |
37 | | | 37 | |
38 | # Each platform has its own special target in the imap Makefiles. | | 38 | # Each platform has its own special target in the imap Makefiles. |
39 | OPSYSVARS+= BUILD_TARGET | | 39 | OPSYSVARS+= BUILD_TARGET |
40 | | | 40 | |
41 | .include "../../mk/compiler.mk" | | 41 | .include "../../mk/compiler.mk" |
| @@ -150,14 +150,16 @@ install-headers: | | | @@ -150,14 +150,16 @@ install-headers: |
150 | install-lib: | | 150 | install-lib: |
151 | ${LTINSTALL_LIB} ${WRKSRC}/c-client/${CCLIENT_LIB} ${DESTDIR}${PREFIX}/lib | | 151 | ${LTINSTALL_LIB} ${WRKSRC}/c-client/${CCLIENT_LIB} ${DESTDIR}${PREFIX}/lib |
152 | ${INSTALL_LIB} ${WRKSRC}/c-client/.libs/${CCLIENT_PICLIB} ${DESTDIR}${PREFIX}/lib | | 152 | ${INSTALL_LIB} ${WRKSRC}/c-client/.libs/${CCLIENT_PICLIB} ${DESTDIR}${PREFIX}/lib |
153 | ${RANLIB} ${DESTDIR}${PREFIX}/lib/${CCLIENT_PICLIB} | | 153 | ${RANLIB} ${DESTDIR}${PREFIX}/lib/${CCLIENT_PICLIB} |
154 | | | 154 | |
155 | DOCDIR= ${DESTDIR}${PREFIX}/share/doc/${PKGBASE} | | 155 | DOCDIR= ${DESTDIR}${PREFIX}/share/doc/${PKGBASE} |
156 | install-doc: | | 156 | install-doc: |
157 | ${INSTALL_DATA_DIR} ${DOCDIR} | | 157 | ${INSTALL_DATA_DIR} ${DOCDIR} |
158 | ${CP} -R ${WRKSRC}/docs/* ${DOCDIR} | | 158 | ${CP} -R ${WRKSRC}/docs/* ${DOCDIR} |
159 | ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DOCDIR} | | 159 | ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DOCDIR} |
160 | ${FIND} ${DOCDIR} -type d -print | ${XARGS} ${CHMOD} ${PKGDIRMODE} | | 160 | ${FIND} ${DOCDIR} -type d -print | ${XARGS} ${CHMOD} ${PKGDIRMODE} |
161 | ${FIND} ${DOCDIR} -type f -print | ${XARGS} ${CHMOD} ${SHAREMODE} | | 161 | ${FIND} ${DOCDIR} -type f -print | ${XARGS} ${CHMOD} ${SHAREMODE} |
162 | | | 162 | |
| | | 163 | .include "../../devel/sysexits/buildlink3.mk" |
| | | 164 | |
163 | .include "../../mk/bsd.pkg.mk" | | 165 | .include "../../mk/bsd.pkg.mk" |