summaryrefslogtreecommitdiff
path: root/mail/imap-uw/Makefile
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-09-22 07:38:52 +0000
committerjlam <jlam@pkgsrc.org>2004-09-22 07:38:52 +0000
commit4387aad1b07d7b31a8ca2643457357188fa11532 (patch)
treea3a104dc1eba757c304a674f06abf99ccb7cc6b6 /mail/imap-uw/Makefile
parent900b1a19724fb9217b96b728a7aebb3f3105a2d9 (diff)
downloadpkgsrc-4387aad1b07d7b31a8ca2643457357188fa11532.tar.gz
Remove libimapuw.* symlinks, which wouldn't work on a.out platforms
anyway. Also convert to use LIBTOOLIZE_PLIST while we're here. Bump the PKGREVISION.
Diffstat (limited to 'mail/imap-uw/Makefile')
-rw-r--r--mail/imap-uw/Makefile14
1 files changed, 11 insertions, 3 deletions
diff --git a/mail/imap-uw/Makefile b/mail/imap-uw/Makefile
index ef149ee39a0..6f1c6f7127c 100644
--- a/mail/imap-uw/Makefile
+++ b/mail/imap-uw/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.80 2004/09/08 02:42:23 danw Exp $
+# $NetBSD: Makefile,v 1.81 2004/09/22 07:38:52 jlam Exp $
# ATTENTION:
# The Kerberos support in this software is known to be problematic. If you
# upgrade this package you *must* test it on a system *without* Kerberos
@@ -6,6 +6,7 @@
DISTNAME= imap-2004a
PKGNAME= imap-uw-2004a
+PKGREVISION= 1
CATEGORIES= mail
MASTER_SITES= ftp://ftp.cac.washington.edu/imap/
EXTRACT_SUFX= .tar.Z
@@ -17,6 +18,8 @@ COMMENT= University of Washington's IMAP, POP2, and POP3 servers
USE_BUILDLINK3= # defined
USE_LIBTOOL= # defined
+LIBTOOLIZE_PLIST= yes
+
INST_PROG= ${LIBTOOL} ${INSTALL_PROGRAM}
INST_LIB= ${LIBTOOL} ${INSTALL_DATA}
INC_DIR= ${PREFIX}/include/c-client
@@ -141,8 +144,13 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/c-client/.libs/${CCLIENT_PICLIB} ${LIB_DIR}
${RANLIB} ${LIB_DIR}/${CCLIENT_PICLIB}
cd ${LIB_DIR}; for file in libc-client.*; do \
- f=`${ECHO} $${file} | ${SED} "s|libc-client|libimapuw|g"`; \
- ${TEST} -f $${file} && ${LN} -f $${file} $${f}; \
+ case $$file in \
+ *.la) ;; \
+ *) \
+ f=`${ECHO} $${file} | ${SED} "s|libc-client|libimapuw|g"`; \
+ ${TEST} -f $${file} && ${LN} -f $${file} $${f}; \
+ ;; \
+ esac; \
done
${INST_PROG} ${WRKSRC}/imapd/imapd ${PREFIX}/libexec
${INST_PROG} ${WRKSRC}/ipopd/ipop2d ${PREFIX}/libexec