Changeset View
Changeset View
Standalone View
Standalone View
head/misc/gimp-help-en/Makefile
Show All 29 Lines | |||||
DOCLANG?= en | DOCLANG?= en | ||||
PORTDATA= * | PORTDATA= * | ||||
DATADIR= ${PREFIX}/share/gimp | DATADIR= ${PREFIX}/share/gimp | ||||
SHEBANG_FILES= tools/xml2po.py | SHEBANG_FILES= tools/xml2po.py | ||||
python_OLD_CMD= /usr/bin/env python | python_OLD_CMD= /usr/bin/env python | ||||
python_CMD= ${PYTHON_CMD} | |||||
post-patch: | post-patch: | ||||
# Install to the same directory as when configuring --with-gimp | # Install to the same directory as when configuring --with-gimp | ||||
${REINPLACE_CMD} '/gimpdatadir=.*\/2.0/s,/2\.0,,' \ | ${REINPLACE_CMD} '/gimpdatadir=.*\/2.0/s,/2\.0,,' \ | ||||
${WRKSRC}/configure | ${WRKSRC}/configure | ||||
.if ${DOCLANG:Mru} | .if ${DOCLANG:Mru} | ||||
${REINPLACE_CMD} -e '/glossary\.xml:1596/{; n; n; s/xref/link/g; }' \ | ${REINPLACE_CMD} -e '/glossary\.xml:1596/{; n; n; s/xref/link/g; }' \ | ||||
${WRKSRC}/po/ru/glossary.po | ${WRKSRC}/po/ru/glossary.po | ||||
.endif | .endif | ||||
.include <bsd.port.mk> | .include <bsd.port.mk> |