1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00

Simplify and clarify substitution logic (non-functional change).

This commit is contained in:
Alexey Dokuchaev 2011-12-16 18:24:25 +00:00
parent e3136c0628
commit 4fc451f2b2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=287487

View File

@ -26,8 +26,8 @@ PLIST_FILES= bin/pho
post-patch:
@${REINPLACE_CMD} -e 's|make|$$(MAKE)| ; \
s|$$(INSTALL) \(pho \)|${INSTALL_PROGRAM} \1| ; \
s|$$(INSTALL) \(pho\.1\)|${INSTALL_MAN} \1| ; \
/bin/s|$$(INSTALL)|${INSTALL_PROGRAM}| ; \
/man/s|$$(INSTALL)|${INSTALL_MAN}| ; \
s|-g|${CFLAGS}| ; s|^G1FLAGS|#&|' ${WRKSRC}/Makefile
@${REINPLACE_CMD} -e 's|-Wall -g -O2 ||' ${WRKSRC}/exif/Makefile