Index: Makefile =================================================================== RCS file: /big/freebsd-cvsup/ncvs/ports/astro/xephem/Makefile,v retrieving revision 1.46 diff -u -u -r1.46 Makefile --- Makefile 11 Oct 2006 08:36:46 -0000 1.46 +++ Makefile 30 Nov 2006 10:45:39 -0000 @@ -25,7 +25,7 @@ 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 @@ .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 @@ 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 \