From cee72b8e36954ea7c1a8c95ecd2c0566ef34e862 Mon Sep 17 00:00:00 2001 From: rafan Date: Thu, 30 Nov 2006 13:17:57 +0000 Subject: - Respect X11BASE - portlint(1) - use MANPREFIX instead of PREFIX for manual pages PR: ports/106055 Submitted by: rafan Approved by: Josh Paetzel (maintainer) --- astro/xephem/Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'astro') diff --git a/astro/xephem/Makefile b/astro/xephem/Makefile index 807d5784f6f4..d975742fdbc8 100644 --- a/astro/xephem/Makefile +++ b/astro/xephem/Makefile @@ -25,7 +25,7 @@ WRKSRC= ${WRKDIR}/${DISTNAME}/GUI/xephem MAN1= xephem.1 -RESTRICTED= "Personal use only" +RESTRICTED= Personal use only # XXX needs to be the same as DISTFILES XEPHEMSRC= ${PORTNAME}-${PORTVERSION}.tar.gz @@ -43,7 +43,9 @@ place it in ${DISTDIR} and then run make again.\n .endfor post-patch: - @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' ${WRKSRC}/Makefile + @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \ + -e 's|/usr/X11R6|${X11BASE}' \ + ${WRKSRC}/Makefile @${FIND} ${WRKSRC}/../.. -name Makefile -type f | \ ${XARGS} ${REINPLACE_CMD} -e 's|CC =|CC?=|g ; \ s|CFLAGS=|CFLAGS+=|g ; \ @@ -58,7 +60,7 @@ pre-install: do-install: ${INSTALL_PROGRAM} ${WRKSRC}/xephem ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/xephem.1 ${PREFIX}/man/man1 + ${INSTALL_MAN} ${WRKSRC}/xephem.1 ${MANPREFIX}/man/man1 ${INSTALL_DATA} ${WRKSRC}/XEphem.ad ${PREFIX}/lib/X11/app-defaults/XEphem @${MKDIR} ${PREFIX}/lib/X11/xephem ${TAR} -C ${WRKSRC} -cf - auxil catalogs fifos fits gallery help lo tools \ -- cgit