diff options
author | dougb <dougb@FreeBSD.org> | 2001-06-09 18:29:24 +0800 |
---|---|---|
committer | dougb <dougb@FreeBSD.org> | 2001-06-09 18:29:24 +0800 |
commit | 91d3c83a8a95322c8fd5e79f835ede8a39d23019 (patch) | |
tree | 4b691e3be1f9ac51d2b0912a3740d87e2b894966 /mail/pine4/Makefile | |
parent | 1c577a67b03dfbfc2889ac29d295ca1a4b6e9e98 (diff) | |
download | freebsd-ports-gnome-91d3c83a8a95322c8fd5e79f835ede8a39d23019.tar.gz freebsd-ports-gnome-91d3c83a8a95322c8fd5e79f835ede8a39d23019.tar.zst freebsd-ports-gnome-91d3c83a8a95322c8fd5e79f835ede8a39d23019.zip |
portlint fixes, unbreak (optional) ldap support.
Diffstat (limited to 'mail/pine4/Makefile')
-rw-r--r-- | mail/pine4/Makefile | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/mail/pine4/Makefile b/mail/pine4/Makefile index 1a35226b842e..3177aff6df71 100644 --- a/mail/pine4/Makefile +++ b/mail/pine4/Makefile @@ -12,9 +12,13 @@ CATEGORIES= mail news MASTER_SITES= ftp://ftp.cac.washington.edu/pine/ DISTNAME= ${PORTNAME}${PORTVERSION} -MAINTAINER= DougB@FreeBSD.org +.if defined(WITH_MAILDIR) +PATCH_SITES+= http://www.qmail.org/ +PATCHFILES+= pine-maildir-4.33 +PATCH_DIST_STRIP=-p1 +.endif -MAN1= pine.1 pico.1 pilot.1 +MAINTAINER= DougB@FreeBSD.org LIB_DEPENDS= c-client4.8:${PORTSDIR}/mail/cclient @@ -24,7 +28,7 @@ LIB_DEPENDS= c-client4.8:${PORTSDIR}/mail/cclient # .if defined(WITH_LDAP) LDAP_PREFIX?= ${LOCALBASE} -BUILD_DEPENDS+= ${LDAP_PREFIX}/lib/libldap.a:${PORTSDIR}/net/ldap +BUILD_DEPENDS+= ${LDAP_PREFIX}/lib/libldap.a:${PORTSDIR}/net/openldap .endif .if defined(WITH_SSL) @@ -32,11 +36,7 @@ USE_OPENSSL= yes EXTRA_OPTS= SSL_LINK="-L${OPENSSLLIB} -lssl -lcrypto" .endif -.if defined(WITH_MAILDIR) -PATCH_SITES+= http://www.qmail.org/ -PATCHFILES+= pine-maildir-4.33 -PATCH_DIST_STRIP=-p1 -.endif +MAN1= pine.1 pico.1 pilot.1 pre-fetch: .if !defined(WITH_MAILDIR) @@ -44,6 +44,7 @@ pre-fetch: @${ECHO_MSG} "WITH_MAILDIR=yes enables support of Maildir" @${ECHO_MSG} "" .endif + .if !defined(BATCH) && !defined(PACKAGE_BUILDING) ${SH} pkg-install .endif @@ -67,13 +68,13 @@ post-patch: ${RM} $$i.sed ; \ done .if defined(WITH_LDAP) - -mkdir ${WRKSRC}/ldap - ln -sf ${LDAP_PREFIX}/include ${WRKSRC}/ldap/include - ln -sf ${LDAP_PREFIX}/lib ${WRKSRC}/ldap/libraries + ${MKDIR} ${WRKSRC}/ldap + ${LN} -sf ${LDAP_PREFIX}/include ${WRKSRC}/ldap/include + ${LN} -sf ${LDAP_PREFIX}/lib ${WRKSRC}/ldap/libraries .endif do-build: - @(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ./build bsf $(EXTRA_OPTS)) + @(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ./build bsf ${EXTRA_OPTS}) do-install: ${INSTALL_PROGRAM} ${WRKSRC}/bin/pico ${PREFIX}/bin/pico |