Simplified LOCALBASE and INCLUDEDIR replacement treatment

This commit is contained in:
Daichi GOTO 2012-01-29 06:26:52 +00:00
parent d450c174c7
commit 7812b1361d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=290003

View File

@ -36,9 +36,9 @@ INCLUDEDIR_REPLACE_FILES= \
post-patch:
cd ${WRKSRC} && \
${REINPLACE_CMD} "s/@@LOCALBASE@@/${LOCALBASE:S/\//\\\//g}/g" \
${REINPLACE_CMD} "s,@@LOCALBASE@@,${LOCALBASE},g" \
${LOCALBASE_REPLACE_FILES} && \
${REINPLACE_CMD} "s/@@INCLUDEDIR@@/${INCLUDEDIR:S/\//\\\//g}/g" \
${REINPLACE_CMD} "s,@@INCLUDEDIR@@,${INCLUDEDIR},g" \
${INCLUDEDIR_REPLACE_FILES}
post-install: