Date: Thu, 30 Nov 2006 18:46:14 +0800 (CST) From: Rong-En Fan <rafan@FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.org Cc: josh@tcbug.org Subject: ports/106055: [PATCH] astro/xephem: Respect X11BASE, portlint(1) Message-ID: <200611301046.kAUAkEes015148@svm.csie.ntu.edu.tw> Resent-Message-ID: <200611301050.kAUAoBpb055276@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 106055 >Category: ports >Synopsis: [PATCH] astro/xephem: Respect X11BASE, portlint(1) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Nov 30 10:50:11 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Rong-En Fan >Release: FreeBSD 6.2-PRERELEASE amd64 >Organization: NTU CSIE >Environment: >Description: - Respect X11BASE - portlint(1) - use MANPREFIX instead of PREFIX for manual pages Port maintainer (josh@tcbug.org) is cc'd. Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- xephem-3.7.1_1.patch begins here --- 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 \ --- xephem-3.7.1_1.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200611301046.kAUAkEes015148>