- Use DESTDIR instead of non-standard BASEDIR

Suggested by:	mat
This commit is contained in:
Alex Kozlov 2014-01-25 11:06:11 +00:00
parent 5d2bf00922
commit 780b35d5bf
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=341009

View File

@ -17,7 +17,6 @@ RUN_DEPENDS= interdiff:${PORTSDIR}/misc/patchutils \
USE_GITHUB= yes
USES= gmake perl5
USE_PERL5= build # pod2man
MAKE_ARGS= BASEDIR="${STAGEDIR}"
GH_ACCOUNT= caldwell
GH_PROJECT= commit-patch
@ -32,7 +31,7 @@ PORTDOCS= *
post-patch:
${REINPLACE_CMD} -e 's/share[/]man/man/' \
-e 's/PREFIX=/PREFIX?=/' \
-e 's/$$(PREFIX)/$$(BASEDIR)$$(PREFIX)/' \
-e 's/$$(PREFIX)/$$(DESTDIR)$$(PREFIX)/' \
${WRKSRC}/Makefile
.include <bsd.port.mk>