summaryrefslogtreecommitdiff
path: root/mail/opensmtpd-table-sqlite/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'mail/opensmtpd-table-sqlite/Makefile')
-rw-r--r--mail/opensmtpd-table-sqlite/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/mail/opensmtpd-table-sqlite/Makefile b/mail/opensmtpd-table-sqlite/Makefile
index dfd64f7c1ecf..bca3b4834255 100644
--- a/mail/opensmtpd-table-sqlite/Makefile
+++ b/mail/opensmtpd-table-sqlite/Makefile
@@ -1,5 +1,6 @@
PORTNAME= opensmtpd-table-sqlite
DISTVERSION= 1.0.1
+PORTREVISION= 1
CATEGORIES= mail
PATCH_SITES= https://github.com/OpenSMTPD/table-sqlite/commit/
@@ -20,7 +21,10 @@ USE_GITHUB= yes
GH_ACCOUNT= opensmtpd
GH_PROJECT= table-sqlite
-PLIST_FILES= libexec/smtpd/table-sqlite \
+PLIST_FILES= libexec/opensmtpd/table-sqlite \
share/man/man5/table-sqlite.5.gz
+post-patch:
+ ${REINPLACE_CMD} '/^smtpdir/s|smtpd$$|opensmtpd|' ${WRKSRC}/Makefile.am
+
.include <bsd.port.mk>