Index: head/mail/pine4/Makefile =================================================================== --- head/mail/pine4/Makefile (revision 48655) +++ head/mail/pine4/Makefile (revision 48656) @@ -1,113 +1,114 @@ # New ports collection makefile for: pine # Date created: 09 July 1998 # Whom: Adrian Penisoara # # $FreeBSD$ # PORTNAME= pine PORTVERSION= 4.40 CATEGORIES= mail news MASTER_SITES= ftp://ftp.cac.washington.edu/pine/ DISTNAME= ${PORTNAME}${PORTVERSION} .if defined(WITH_MAILDIR) PATCH_SITES+= http://www.qmail.org/ PATCHFILES+= pine-maildir-4.33 PATCH_DIST_STRIP=-p1 .endif MAINTAINER= DougB@FreeBSD.org LIB_DEPENDS= c-client4.8:${PORTSDIR}/mail/cclient # Define "WITH_LDAP" to include ldap support. # If the ldap port is installed somewhere other than /usr/local, define # LDAP_PREFIX as well. # .if defined(WITH_LDAP) LDAP_PREFIX?= ${LOCALBASE} BUILD_DEPENDS+= ${LDAP_PREFIX}/lib/libldap.a:${PORTSDIR}/net/openldap .endif .if defined(WITH_SSL) USE_OPENSSL= yes EXTRA_OPTS= SSL_LINK="-L${OPENSSLLIB} -lssl -lcrypto" .endif MAN1= pine.1 pico.1 pilot.1 pre-fetch: .if !defined(WITH_MAILDIR) @${ECHO_MSG} "" @${ECHO_MSG} "WITH_MAILDIR=yes enables support of Maildir" @${ECHO_MSG} "" .endif .if !defined(BATCH) && !defined(PACKAGE_BUILDING) ${SH} pkg-install + ${SH} pkg-libwarning .endif post-patch: for i in ${WRKSRC}/doc/pine.1 \ ${WRKSRC}/pine/init.c \ ${WRKSRC}/pine/pine.hlp \ ${WRKSRC}/pine/mailcap.c \ ${WRKSRC}/pine/osdep/os-bsf.h ; do \ ${MV} $$i $$i.sed ; \ ${SED} -e "s:@@PREFIX@@:${PREFIX}:g" \ $$i.sed >$$i ; \ ${RM} $$i.sed ; \ done for i in ${WRKSRC}/doc/tech-notes.txt \ ${WRKSRC}/doc/tech-notes/*.html ; do \ ${MV} $$i $$i.sed ; \ ${SED} -e "s:/usr/local/lib/:${PREFIX}/etc/:g" \ $$i.sed >$$i ; \ ${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 .endif do-build: @(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ./build bsf ${EXTRA_OPTS}) do-install: ${INSTALL_PROGRAM} ${WRKSRC}/bin/pico ${PREFIX}/bin/pico ${INSTALL_PROGRAM} ${WRKSRC}/bin/pilot ${PREFIX}/bin/pilot ${INSTALL_PROGRAM} ${WRKSRC}/bin/pine ${PREFIX}/bin/pine ${SED} -e 's,@@PREFIX@@,${PREFIX},g' \ < ${FILESDIR}/pgpdecode > ${WRKSRC}/bin/pgpdecode ${SED} -e 's,@@PREFIX@@,${PREFIX},g' \ < ${FILESDIR}/pgpencrypt > ${WRKSRC}/bin/pgpencrypt ${SED} -e 's,@@PREFIX@@,${PREFIX},g' \ < ${FILESDIR}/pgpsign > ${WRKSRC}/bin/pgpsign ${INSTALL_SCRIPT} ${WRKSRC}/bin/pgpencrypt ${PREFIX}/bin/pgpencrypt ${INSTALL_SCRIPT} ${WRKSRC}/bin/pgpdecode ${PREFIX}/bin/pgpdecode ${INSTALL_SCRIPT} ${WRKSRC}/bin/pgpsign ${PREFIX}/bin/pgpsign ${SED} -e 's,@@PREFIX@@,${PREFIX},g' \ < ${FILESDIR}/dot.pinerc.pgp.sample \ > ${WRKSRC}/dot.pinerc.pgp.sample ${INSTALL_DATA} ${WRKSRC}/dot.pinerc.pgp.sample \ ${PREFIX}/etc/dot.pinerc.pgp.sample ${INSTALL_MAN} ${WRKSRC}/doc/pico.1 ${PREFIX}/man/man1/pico.1 ${INSTALL_MAN} ${WRKSRC}/doc/pilot.1 ${PREFIX}/man/man1/pilot.1 ${INSTALL_MAN} ${WRKSRC}/doc/pine.1 ${PREFIX}/man/man1/pine.1 .if !defined(NOPORTDOCS) ${INSTALL} -d -o ${SHAREOWN} -g ${SHAREGRP} \ ${PREFIX}/share/doc/pine \ ${PREFIX}/share/doc/pine/tech-notes ${INSTALL_DATA} ${WRKSRC}/doc/brochure.txt ${PREFIX}/share/doc/pine ${INSTALL_DATA} ${WRKSRC}/doc/tech-notes.txt ${PREFIX}/share/doc/pine ${INSTALL_DATA} ${WRKSRC}/doc/tech-notes/*.html \ ${PREFIX}/share/doc/pine/tech-notes/ .endif post-install: ${PREFIX}/bin/pine -P ${PREFIX}/etc/pine.conf -conf >${WRKSRC}/pine.conf ${INSTALL_DATA} ${WRKSRC}/pine.conf ${PREFIX}/etc/pine.conf .include Property changes on: head/mail/pine4/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.58 \ No newline at end of property +1.59 \ No newline at end of property Index: head/mail/pine4/pkg-libwarning =================================================================== --- head/mail/pine4/pkg-libwarning (nonexistent) +++ head/mail/pine4/pkg-libwarning (revision 48656) @@ -0,0 +1,7 @@ +#!/bin/sh + +if [ "$2" = "POST-INSTALL" -o -n "${PACKAGE_BUILDING}" ]; then + exit 0 +fi + +/usr/bin/dialog --msgbox "This port requires an up to date cclient library. Your best chance of success is to pkg_delete cclient, then do: make clean && make install in this directory. Include whatever compile options you desire in the make install step, such as -DWITH_SSL. The important factor is that the cclient library and this program be compiled with the same options." 12 70 || /usr/bin/false Property changes on: head/mail/pine4/pkg-libwarning ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property