Date: Mon, 9 Apr 2007 07:17:11 GMT From: Zhen REN<bg1tpt@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/111396: [NEW PORT] Add port of mail/phpmailer Message-ID: <200704090717.l397HBEP036937@www.freebsd.org> Resent-Message-ID: <200704090730.l397U49u025000@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 111396 >Category: ports >Synopsis: [NEW PORT] Add port of mail/phpmailer >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Apr 09 07:30:03 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Zhen REN >Release: 7.0-CURRENT >Organization: >Environment: FreeBSD tango 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Mon Apr 9 10:14:09 CST 2007 root@tango:/usr/obj/usr/src/sys/GENERIC amd64 >Description: Add a port of mail/phpmailer >How-To-Repeat: N/A >Fix: N/A Patch attached with submission follows: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # phpmailer/ # phpmailer/Makefile # phpmailer/distinfo # phpmailer/files # phpmailer/files/pkg-message # phpmailer/pkg-descr # phpmailer/pkg-plist # echo c - phpmailer/ mkdir -p phpmailer/ > /dev/null 2>&1 echo x - phpmailer/Makefile sed 's/^X//' >phpmailer/Makefile << 'END-of-phpmailer/Makefile' X# New ports collection makefile for: phpmailer X# Date created: 6 April 2007 X# Whom: Zhen REN <bg1tpt@gmail.com> X# X# $FreeBSD$ X# X XPORTNAME= phpmailer XPORTVERSION= 1.73 XCATEGORIES= mail XMASTER_SITES= ${MASTER_SITE_SOURCEFORGE} XMASTER_SITE_SUBDIR= ${PORTNAME} XDISTNAME= ${PORTNAME}-${DISTVERSION} X XMAINTAINER= bg1tpt@gmail.com XCOMMENT= Full Featured Email Transfer Class for PHP X XWRKSRC= ${WRKDIR}/${PORTNAME} X XUSE_DOS2UNIX= yes XNO_BUILD= yes XUSE_PHP= pcre X XPKGMESSAGE= ${WRKDIR}/pkg-message XMSG_SRC= ${FILESDIR}/pkg-message X XMSG_SUB= DATADIR=${DATADIR} LOCALBASE=${LOCALBASE} X Xdo-install: X @${MKDIR} ${DATADIR} X.for f in class.phpmailer.php class.smtp.php X @${INSTALL_DATA} ${WRKSRC}/$f ${DATADIR} X.endfor X @${MKDIR} ${DATADIR}/language X @${INSTALL_DATA} ${WRKSRC}/language/* ${DATADIR}/language X @${MKDIR} ${DATADIR}/test X @${INSTALL_DATA} ${WRKSRC}/test/* ${DATADIR}/test X.if !defined(NOPORTDOCS) X @${MKDIR} ${DOCSDIR} X.for f in README LICENSE X @${INSTALL_DATA} ${WRKSRC}/$f ${DOCSDIR} X.endfor X @${CP} -R ${WRKSRC}/docs/* ${DOCSDIR} X @${CP} -R ${WRKSRC}/phpdoc/* ${DOCSDIR} X.endif X Xpost-install: X @${SED} ${MSG_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} ${MSG_SRC} > \ X ${PKGMESSAGE} X @${CAT} ${PKGMESSAGE} X X.include <bsd.port.mk> END-of-phpmailer/Makefile echo x - phpmailer/distinfo sed 's/^X//' >phpmailer/distinfo << 'END-of-phpmailer/distinfo' XMD5 (phpmailer-1.73.tar.gz) = 3a6ce5ff38090d6ca4881e31da00f623 XSHA256 (phpmailer-1.73.tar.gz) = b33f2911b2ae704d5bc0bf2f1a945e052909c63e3966cf1cf5798d667fe37c71 XSIZE (phpmailer-1.73.tar.gz) = 68644 END-of-phpmailer/distinfo echo c - phpmailer/files mkdir -p phpmailer/files > /dev/null 2>&1 echo x - phpmailer/files/pkg-message sed 's/^X//' >phpmailer/files/pkg-message << 'END-of-phpmailer/files/pkg-message' XYou need to adjust php's include_path to contain `%%DATADIR%%'! XFor example, insert X include_path = ".:%%DATADIR%%" Xinto `%%LOCALBASE%%/etc/php.ini'. END-of-phpmailer/files/pkg-message echo x - phpmailer/pkg-descr sed 's/^X//' >phpmailer/pkg-descr << 'END-of-phpmailer/pkg-descr' XPHP email transport class featuring multiple file attachments, SMTP Xservers, CCs, BCCs, HTML messages, and word wrap, and more. It can Xsend email via sendmail, PHP mail(), or with SMTP. Methods are based Xon the popular AspEmail active server component. X XWWW: http://sourceforge.net/projects/phpmailer END-of-phpmailer/pkg-descr echo x - phpmailer/pkg-plist sed 's/^X//' >phpmailer/pkg-plist << 'END-of-phpmailer/pkg-plist' X%%PORTDOCS%%%%DOCSDIR%%/LICENSE X%%PORTDOCS%%%%DOCSDIR%%/PHPMailer/PHPMailer.html X%%PORTDOCS%%%%DOCSDIR%%/PHPMailer/SMTP.html X%%PORTDOCS%%%%DOCSDIR%%/PHPMailer/_class_phpmailer_php.html X%%PORTDOCS%%%%DOCSDIR%%/PHPMailer/_class_smtp_php.html X%%PORTDOCS%%%%DOCSDIR%%/README X%%PORTDOCS%%%%DOCSDIR%%/blank.html X%%PORTDOCS%%%%DOCSDIR%%/classtrees_PHPMailer.html X%%PORTDOCS%%%%DOCSDIR%%/elementindex.html X%%PORTDOCS%%%%DOCSDIR%%/elementindex_PHPMailer.html X%%PORTDOCS%%%%DOCSDIR%%/errors.html X%%PORTDOCS%%%%DOCSDIR%%/extending.html X%%PORTDOCS%%%%DOCSDIR%%/faq.html X%%PORTDOCS%%%%DOCSDIR%%/index.html X%%PORTDOCS%%%%DOCSDIR%%/li_PHPMailer.html X%%PORTDOCS%%%%DOCSDIR%%/media/banner.css X%%PORTDOCS%%%%DOCSDIR%%/media/stylesheet.css X%%PORTDOCS%%%%DOCSDIR%%/packages.html X%%PORTDOCS%%%%DOCSDIR%%/timeoutfix.diff X%%DATADIR%%/class.phpmailer.php X%%DATADIR%%/class.smtp.php X%%DATADIR%%/language/phpmailer.lang-br.php X%%DATADIR%%/language/phpmailer.lang-ca.php X%%DATADIR%%/language/phpmailer.lang-cz.php X%%DATADIR%%/language/phpmailer.lang-de.php X%%DATADIR%%/language/phpmailer.lang-dk.php X%%DATADIR%%/language/phpmailer.lang-en.php X%%DATADIR%%/language/phpmailer.lang-es.php X%%DATADIR%%/language/phpmailer.lang-fi.php X%%DATADIR%%/language/phpmailer.lang-fo.php X%%DATADIR%%/language/phpmailer.lang-fr.php X%%DATADIR%%/language/phpmailer.lang-hu.php X%%DATADIR%%/language/phpmailer.lang-it.php X%%DATADIR%%/language/phpmailer.lang-ja.php X%%DATADIR%%/language/phpmailer.lang-nl.php X%%DATADIR%%/language/phpmailer.lang-no.php X%%DATADIR%%/language/phpmailer.lang-pl.php X%%DATADIR%%/language/phpmailer.lang-ro.php X%%DATADIR%%/language/phpmailer.lang-ru.php X%%DATADIR%%/language/phpmailer.lang-se.php X%%DATADIR%%/language/phpmailer.lang-tr.php X%%DATADIR%%/test/phpmailer_test.php X%%DATADIR%%/test/phpunit.php X%%DATADIR%%/test/test.png X@dirrm %%DATADIR%%/test X@dirrm %%DATADIR%%/language X@dirrm %%DATADIR%% X%%PORTDOCS%%@dirrm %%DOCSDIR%%/media X%%PORTDOCS%%@dirrm %%DOCSDIR%%/PHPMailer X%%PORTDOCS%%@dirrm %%DOCSDIR%% END-of-phpmailer/pkg-plist exit >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200704090717.l397HBEP036937>