Changeset View
Changeset View
Standalone View
Standalone View
head/archivers/xarchiver/Makefile
Show All 21 Lines | |||||
OPTIONS_DEFINE= DOCS NLS | OPTIONS_DEFINE= DOCS NLS | ||||
OPTIONS_SUB= yes | OPTIONS_SUB= yes | ||||
NLS_USES= gettext | NLS_USES= gettext | ||||
NLS_CPPFLAGS+= -I${LOCALBASE}/include | NLS_CPPFLAGS+= -I${LOCALBASE}/include | ||||
NLS_LDFLAGS+= -L${LOCALBASE}/lib | NLS_LDFLAGS+= -L${LOCALBASE}/lib | ||||
.include <bsd.port.options.mk> | post-patch-DOCS-off: | ||||
post-patch: | |||||
.if empty(PORT_OPTIONS:MDOCS) | |||||
@${REINPLACE_CMD} -e 's|doc||g' ${WRKSRC}/Makefile.in | @${REINPLACE_CMD} -e 's|doc||g' ${WRKSRC}/Makefile.in | ||||
.endif | post-patch-NLS-off: | ||||
.if empty(PORT_OPTIONS:MNLS) | |||||
@${REINPLACE_CMD} -e 's| po | |g' ${WRKSRC}/Makefile.in | @${REINPLACE_CMD} -e 's| po | |g' ${WRKSRC}/Makefile.in | ||||
.endif | |||||
.include <bsd.port.mk> | .include <bsd.port.mk> |