[Midnightbsd-cvs] mports: Makefile: Try to fix the pkg-message output.

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sun May 18 16:12:37 EDT 2008


Log Message:
-----------
Try to fix the pkg-message output.  It's giving the fake path which we don't want.

Modified Files:
--------------
    mports/mail/milter-greylist:
        Makefile (r1.4 -> r1.5)

-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/mail/milter-greylist/Makefile,v
retrieving revision 1.4
retrieving revision 1.5
diff -L mail/milter-greylist/Makefile -L mail/milter-greylist/Makefile -u -r1.4 -r1.5
--- mail/milter-greylist/Makefile
+++ mail/milter-greylist/Makefile
@@ -98,8 +98,8 @@
 	@${INSTALL_DATA} ${WRKSRC}/greylist.conf \
 			${PREFIX}/etc/mail/greylist.conf.sample
 	@${INSTALL_SCRIPT} ${WRKSRC}/milter-greylist.sh ${PREFIX}/etc/rc.d/
-	@${SED} -e "s,%%DOCSDIR%%,${DOCSDIR},g" \
-		-e "s,%%PREFIX%%,${PREFIX},g" \
+	@${SED} -e "s,%%DOCSDIR%%,${LOCALBASE}/share/doc/milter-greylist,g" \
+		-e "s,%%PREFIX%%,${LOCALBASE},g" \
 		${.CURDIR}/pkg-message > ${PKGMESSAGE}
 
 post-install:


More information about the Midnightbsd-cvs mailing list