summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mail/popa3d/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/mail/popa3d/Makefile b/mail/popa3d/Makefile
index b7bef9d2341d..5a92a8d91d50 100644
--- a/mail/popa3d/Makefile
+++ b/mail/popa3d/Makefile
@@ -95,10 +95,12 @@ post-install:
@ ${CAT} ${PKGMESSAGE}
.endif
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
-.if exists(${DESTDIR}/${LOCALBASE}/share/sendmail/cf/mailer/uucp.m4)
-CFDIR= ${DESTDIR}${LOCALBASE}/share/sendmail/cf
+.if exists(${LOCALBASE}/share/sendmail/cf/mailer/uucp.m4)
+CFDIR= ${LOCALBASE}/share/sendmail/cf
.else
-CFDIR= ${DESTDIR}/usr/share/sendmail/cf
+CFDIR= /usr/share/sendmail/cf
.endif
+
+.include <bsd.port.post.mk>