ports/66005: New port: mail/p5-SpamAssassin-devel - port that follows the 3.0 CVS devel tree of SpamAssassin
Linh Pham
question at closedsrc.org
Tue Apr 27 02:58:44 UTC 2004
On 2004-04-26 22:34 -0400, Michael Johnson <ahze at ahze.net> wrote:
# you want ${WRKDIR} instead of ./work because people like me who have
# one ports dir and do ports over nfs use WRKDIR=/some/other/dir so it
# doesn't actually do the build over nfs.
Thanks. I've changed WRKSRC to use ${WRKDIR} instead.
# you want to use USE_REINPLACE=yes and ${REINPLACE_CMD} instead of ${SED}
I've replaced two out of three of the ${SED} instances with
${REINPLACE_CMD}. The other one caused Makefile.PL to not be edited
properly. I pretty much used the mail/p5-Mail-SpamAssassin port as a
basis for this one.
--
Linh Pham question at closedsrc.org
Webmaster and FreeBSD Geek http://closedsrc.org
Apprentice Manager Editor and Writer http://www.daemonnews.org
C++ is to C, as lung cancer is to lung | There is always one more bug.
-------------- next part --------------
--- sa-devel_Makefile Mon Apr 26 17:42:04 2004
+++ sa-devel_Makefile,v2 Mon Apr 26 19:54:25 2004
@@ -12,10 +12,12 @@
${MASTER_SITE_PERL_CPAN}
# MASTER_SITE_SUBDIR= Mail
DISTNAME= Mail-SpamAssassin-3.000000-cvs
-WRKSRC= ./work/Mail-SpamAssassin-3.000000/
+WRKSRC= ${WRKDIR}/Mail-SpamAssassin-3.000000/
EXTRACT_SUFX= .tar.gz
PKGNAMEPREFIX= p5-
+USE_REINPLACE= yes
+
MAINTAINER= perl at FreeBSD.org
COMMENT= A highly efficient mail filter for identifying spam
@@ -27,7 +29,6 @@
PERL_CONFIGURE= yes
CONFIGURE_ARGS+= SYSCONFDIR="${PREFIX}/etc" \
- RUN_RAZOR_TESTS="no" RUN_RAZOR2_TESTS="no" \
CONTACT_ADDRESS="the administrator of that system"
MAN3= Mail::SpamAssassin.3 Mail::SpamAssassin::PerMsgStatus.3 \
@@ -53,7 +54,7 @@
@${MV} ${WRKSRC}/Makefile.PL.sed ${WRKSRC}/Makefile.PL
post-build:
- @${SED} ${SED_SCRIPT} ${FILESDIR}/spamd.sh > ${WRKDIR}/spamd.sh
+ @${REINPLACE_CMD} ${SED_SCRIPT} ${FILESDIR}/spamd.sh > ${WRKDIR}/spamd.sh
post-install:
@${STRIP_CMD} ${PREFIX}/bin/spamc
@@ -65,7 +66,7 @@
BUGS COPYRIGHT Changes README TRADEMARK procmailrc.example sample* \
spamd/README* sql/* ${DOCSDIR}
.endif
- @${SED} -e 's#PREFIX#${PREFIX}#' ${PKGMESSAGE}
+ @${REINPLACE_CMD} -e 's#PREFIX#${PREFIX}#' ${PKGMESSAGE}
.include <bsd.port.pre.mk>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-ports-bugs/attachments/20040426/ba61b599/attachment.sig>
More information about the freebsd-ports-bugs
mailing list