aboutsummaryrefslogtreecommitdiff
path: root/deskutils/tomboy/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'deskutils/tomboy/Makefile')
-rw-r--r--deskutils/tomboy/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/deskutils/tomboy/Makefile b/deskutils/tomboy/Makefile
index 59745d4c698a..85bbb6baba65 100644
--- a/deskutils/tomboy/Makefile
+++ b/deskutils/tomboy/Makefile
@@ -36,7 +36,7 @@ EVOLUTION_DESC= Build evolution addin
# Restrict to stable (even) versions, indicated by the second component.
PORTSCOUT= limitw:1,even
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MEVOLUTION}
CONFIGURE_ARGS+=--enable-evolution
@@ -51,5 +51,7 @@ PLIST_SUB+= EVOLUTION="@comment "
post-patch:
@${REINPLACE_CMD} 's|/bin/bash|/bin/sh|g' \
${WRKSRC}/Tomboy/tomboy*.in
+ @${REINPLACE_CMD} 's/(TARGET_NAME$$)/(TARGET_NAME)/' \
+ ${WRKSRC}/Tomboy/Makefile.in
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>