aboutsummaryrefslogtreecommitdiff
path: root/graphics/optar
diff options
context:
space:
mode:
authorPhilip M. Gollucci <pgollucci@FreeBSD.org>2010-09-09 00:02:34 +0000
committerPhilip M. Gollucci <pgollucci@FreeBSD.org>2010-09-09 00:02:34 +0000
commit75da938b67a06cd0247d7a0ec84a16b3cff8c878 (patch)
tree3e72e707061e999f75cfcfd9785246aba7b49e28 /graphics/optar
parentd94a678649b3a3957bfd37330d95b9e7d72a3c17 (diff)
downloadports-75da938b67a06cd0247d7a0ec84a16b3cff8c878.tar.gz
ports-75da938b67a06cd0247d7a0ec84a16b3cff8c878.zip
- Fix custom LOCALBASE
PR: ports/136085 Submitted by: Antonios Anastasiadis <antonakis@gmail.com> (maintainer) Reported by: QATy
Notes
Notes: svn path=/head/; revision=260789
Diffstat (limited to 'graphics/optar')
-rw-r--r--graphics/optar/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/graphics/optar/Makefile b/graphics/optar/Makefile
index a12de39f89f6..7a8731d0020a 100644
--- a/graphics/optar/Makefile
+++ b/graphics/optar/Makefile
@@ -28,5 +28,6 @@ PLIST_FILES= bin/optar bin/unoptar bin/pgm2ps
post-extract:
@${RM} -v ${WRKSRC}/font.h
@${CP} -v ${DISTDIR}/font.h ${WRKSRC}/font.h
-
+ @${SED} 's:/usr/local:${LOCALBASE}:g' ${WRKSRC}/Makefile > ${WRKSRC}/Makefile.new
+ @${MV} ${WRKSRC}/Makefile.new ${WRKSRC}/Makefile
.include <bsd.port.mk>