From 9bccb8fe0bef19b10f6f2526058c821274a9579e Mon Sep 17 00:00:00 2001 From: Alexander Langer Date: Mon, 26 Jun 2000 13:53:05 +0000 Subject: Avoid hardcoding /usr/X11R6/ PR: 19478 Submitted by: maintainer --- astro/xtide/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'astro/xtide/Makefile') diff --git a/astro/xtide/Makefile b/astro/xtide/Makefile index a7324d28639e..021cf769b1a8 100644 --- a/astro/xtide/Makefile +++ b/astro/xtide/Makefile @@ -18,13 +18,16 @@ LIB_DEPENDS= Xpm.4:${PORTSDIR}/graphics/xpm \ png.3:${PORTSDIR}/graphics/png USE_X_PREFIX= yes -HAS_CONFIGURE= yes +GNU_CONFIGURE= yes MAN1= xtide.1 tide.1 MANCOMPRESSED= no post-extract: @${GZCAT} ${DISTDIR}/harmonics.world.gz > ${WRKSRC}/harmonics +post-patch: + @${PERL} -pi -e "s:%%PREFIX%%:${PREFIX}:g" ${WRKSRC}/TideContext.cc + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/xtide ${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/tide ${PREFIX}/bin -- cgit v1.2.3