Fix install with custom PREFIX.
Submitted by: Sahil Tandon Approved by: portmgr (itetcu@) No cookie for: maintainer (cris@); the fix should be imported upstrem.
This commit is contained in:
parent
4a07be1ae9
commit
43b218720c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=235817
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= fconv
|
||||
PORTVERSION= 1.1
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= converters
|
||||
MASTER_SITES= ${MASTER_SITE_LOCAL}
|
||||
MASTER_SITE_SUBDIR= chris
|
||||
@ -14,4 +15,10 @@ MASTER_SITE_SUBDIR= chris
|
||||
MAINTAINER= chris@FreeBSD.org
|
||||
COMMENT= Converts DOS or Mac-style files to Unix format, and vice-versa
|
||||
|
||||
MAKE_ENV+= INSTALLDIR=${PREFIX}/bin
|
||||
|
||||
post-extract:
|
||||
@${REINPLACE_CMD} "s|^INSTALLDIR.*=|INSTALLDIR?=|" \
|
||||
${WRKSRC}/Makefile
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user