diff options
author | Ion-Mihai Tetcu <itetcu@FreeBSD.org> | 2009-06-14 18:52:15 +0000 |
---|---|---|
committer | Ion-Mihai Tetcu <itetcu@FreeBSD.org> | 2009-06-14 18:52:15 +0000 |
commit | 43b218720c607f19b199a2482e28d281dcf34ccd (patch) | |
tree | cf585a561977c81ce059edd9ae8dd320a0327843 /converters/fconv | |
parent | 4a07be1ae9236dad930eafd911a9f34498f56c95 (diff) |
Fix install with custom PREFIX.
Submitted by: Sahil Tandon
Approved by: portmgr (itetcu@)
No cookie for: maintainer (cris@); the fix should be imported upstrem.
Notes
Notes:
svn path=/head/; revision=235817
Diffstat (limited to 'converters/fconv')
-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 c24d7d28ef88..609a802ae3c2 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> |