Changeset View
Changeset View
Standalone View
Standalone View
audio/kaudiocreator/Makefile
Show All 25 Lines | |||||
USE_KDE4= automoc4 kdeprefix libkcddb libkcompactdisc | USE_KDE4= automoc4 kdeprefix libkcddb libkcompactdisc | ||||
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} | WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} | ||||
OPTIONS_DEFINE= NLS | OPTIONS_DEFINE= NLS | ||||
OPTIONS_SUB= yes | OPTIONS_SUB= yes | ||||
NLS_USES= gettext | NLS_USES= gettext | ||||
.include <bsd.port.options.mk> | post-patch-NLS-off: | ||||
.if empty(PORT_OPTIONS:MNLS) | |||||
post-patch: | |||||
${REINPLACE_CMD} 's,add_subdirectory(po),,' ${WRKSRC}/CMakeLists.txt | ${REINPLACE_CMD} 's,add_subdirectory(po),,' ${WRKSRC}/CMakeLists.txt | ||||
.endif | |||||
.include <bsd.port.mk> | .include <bsd.port.mk> |