aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/galax/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/galax/Makefile')
-rw-r--r--textproc/galax/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/textproc/galax/Makefile b/textproc/galax/Makefile
index 0b0d25431834..891d44772c92 100644
--- a/textproc/galax/Makefile
+++ b/textproc/galax/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= galax
-PORTVERSION= 0.2.0
+PORTVERSION= 0.3.0
CATEGORIES= textproc
MASTER_SITES= http://db.bell-labs.com/galax/Downloads/
@@ -23,7 +23,7 @@ MAKE_ENV= PREFIX=${PREFIX} JAVA_HOME=${JAVE_HOME}
PLIST_SUB= GALAX=Galax-${PORTVERSION}
pre-patch:
- ${CP} ${FILESDIR}/Makefile ${WRKSRC}/config
+ ${SED} s,%%GALAXHOME%%,'$(PREFIX)/Galax-${PORTVERSION}', ${FILESDIR}/Makefile >${WRKSRC}/config/Makefile
post-install:
@${SED} 's,PREFIX,${PREFIX},; s,GALAX,Galax-${PORTVERSION},' ${PKGMESSAGE}