pkgsrc/mail/imap-uw-utils/Makefile
tnn ad6ceadd25 Per the process outlined in revbump(1), perform a recursive revbump
on packages that are affected by the switch from the openssl 0.9.7
branch to the 0.9.8 branch. ok jlam@
2008-01-18 05:06:18 +00:00

42 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.26 2008/01/18 05:08:25 tnn Exp $
DISTNAME= imap-utils
PKGNAME= imap-uw-utils-20050108
PKGREVISION= 1
CATEGORIES= mail
MASTER_SITES= ftp://ftp.cac.washington.edu/imap/
EXTRACT_SUFX= .tar.Z
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.washington.edu/imap/
COMMENT= UW IMAP mailbox utilities
DIST_SUBDIR= ${PKGNAME_NOREV}
BUILDLINK_API_DEPENDS.imap-uw+= imap-uw>=2004c1nb1
SRCDIRS= icat ifrom
CFLAGS+= -I${BUILDLINK_PREFIX.imap-uw}/include/c-client
LIBS+= -lc-client -lssl -lcrypto
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
do-build:
@for prog in ${SRCDIRS}; do \
${ECHO} "==> Building $${prog}"; \
cd ${WRKSRC}/$${prog}; \
${CC} ${CFLAGS} ${LDFLAGS} -o $${prog} $${prog}.c ${LIBS}; \
done
do-install:
@for prog in ${SRCDIRS}; do \
${ECHO} "==> Installing $${prog}"; \
cd ${WRKSRC}/$${prog}; \
${INSTALL_PROGRAM} $${prog} ${PREFIX}/bin; \
${INSTALL_MAN} $${prog}.1 ${PREFIX}/${PKGMANDIR}/man1; \
done
.include "../../mail/imap-uw/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"