summaryrefslogtreecommitdiff
path: root/devel/geany/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/geany/Makefile')
-rw-r--r--devel/geany/Makefile10
1 files changed, 3 insertions, 7 deletions
diff --git a/devel/geany/Makefile b/devel/geany/Makefile
index f7da98c5c8dd..44ee43f72ef3 100644
--- a/devel/geany/Makefile
+++ b/devel/geany/Makefile
@@ -30,14 +30,10 @@ VTE_DESC= Embedded virtual terminal
VTE_CONFIGURE_ENABLE= vte
VTE_USE= GNOME=vte
-.include <bsd.port.options.mk>
-
-post-patch:
-.if !${PORT_OPTIONS:MDOCS}
+post-patch-DOCS-off:
@${REINPLACE_CMD} -e '/^SUBDIRS/ s|doc||' ${WRKSRC}/Makefile.in
-.endif
-.if !${PORT_OPTIONS:MNLS}
+
+post-patch-NLS-off:
@${REINPLACE_CMD} -e '/^SUBDIRS/ s|po||' ${WRKSRC}/Makefile.in
-.endif
.include <bsd.port.mk>