summaryrefslogtreecommitdiffstats
path: root/archivers/xarchiver/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'archivers/xarchiver/Makefile')
-rw-r--r--archivers/xarchiver/Makefile9
1 files changed, 2 insertions, 7 deletions
diff --git a/archivers/xarchiver/Makefile b/archivers/xarchiver/Makefile
index 79da256..fafae00 100644
--- a/archivers/xarchiver/Makefile
+++ b/archivers/xarchiver/Makefile
@@ -27,14 +27,9 @@ NLS_USES= gettext
NLS_CPPFLAGS+= -I${LOCALBASE}/include
NLS_LDFLAGS+= -L${LOCALBASE}/lib
-.include <bsd.port.options.mk>
-
-post-patch:
-.if empty(PORT_OPTIONS:MDOCS)
+post-patch-DOCS-off:
@${REINPLACE_CMD} -e 's|doc||g' ${WRKSRC}/Makefile.in
-.endif
-.if empty(PORT_OPTIONS:MNLS)
+post-patch-NLS-off:
@${REINPLACE_CMD} -e 's| po | |g' ${WRKSRC}/Makefile.in
-.endif
.include <bsd.port.mk>
OpenPOWER on IntegriCloud