From 43b218720c607f19b199a2482e28d281dcf34ccd Mon Sep 17 00:00:00 2001 From: Ion-Mihai Tetcu Date: Sun, 14 Jun 2009 18:52:15 +0000 Subject: Fix install with custom PREFIX. Submitted by: Sahil Tandon Approved by: portmgr (itetcu@) No cookie for: maintainer (cris@); the fix should be imported upstrem. --- converters/fconv/Makefile | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'converters/fconv/Makefile') 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 -- cgit v1.2.3