diff options
author | itetcu <itetcu@FreeBSD.org> | 2009-06-14 18:52:15 +0000 |
---|---|---|
committer | itetcu <itetcu@FreeBSD.org> | 2009-06-14 18:52:15 +0000 |
commit | 48e135687324c9dde7a6881005cc57d23110860e (patch) | |
tree | f71139294cd3c06386d5585f5c81b6a780c93cc3 | |
parent | f503820503574c9d2c045e5a12048da894e2c151 (diff) | |
download | FreeBSD-ports-48e135687324c9dde7a6881005cc57d23110860e.zip FreeBSD-ports-48e135687324c9dde7a6881005cc57d23110860e.tar.gz |
Fix install with custom PREFIX.
Submitted by: Sahil Tandon
Approved by: portmgr (itetcu@)
No cookie for: maintainer (cris@); the fix should be imported upstrem.
-rw-r--r-- | converters/fconv/Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/converters/fconv/Makefile b/converters/fconv/Makefile index c24d7d2..609a802 100644 --- a/converters/fconv/Makefile +++ b/converters/fconv/Makefile @@ -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> |