head	1.33;
access;
symbols
	RELEASE_7_4_0:1.32
	RELEASE_8_2_0:1.32
	RELEASE_6_EOL:1.32
	RELEASE_8_1_0:1.32
	RELEASE_7_3_0:1.32
	RELEASE_8_0_0:1.32
	RELEASE_7_2_0:1.32
	RELEASE_7_1_0:1.31
	RELEASE_6_4_0:1.31
	RELEASE_5_EOL:1.31
	RELEASE_7_0_0:1.31
	RELEASE_6_3_0:1.31
	PRE_XORG_7:1.31
	RELEASE_4_EOL:1.31
	RELEASE_6_2_0:1.31
	RELEASE_6_1_0:1.31
	RELEASE_5_5_0:1.31
	RELEASE_6_0_0:1.30
	RELEASE_5_4_0:1.29
	RELEASE_4_11_0:1.28
	RELEASE_5_3_0:1.28
	RELEASE_4_10_0:1.28
	RELEASE_5_2_1:1.23
	RELEASE_5_2_0:1.23
	RELEASE_4_9_0:1.22
	RELEASE_5_1_0:1.22
	RELEASE_4_8_0:1.22
	RELEASE_5_0_0:1.21
	RELEASE_4_7_0:1.19
	RELEASE_4_6_2:1.18
	RELEASE_4_6_1:1.18
	RELEASE_4_6_0:1.18
	RELEASE_5_0_DP1:1.17
	RELEASE_4_5_0:1.16
	RELEASE_4_4_0:1.16
	v6_2_9_506_1:1.13
	RELEASE_4_3_0:1.13;
locks; strict;
comment	@# @;


1.33
date	2011.04.09.16.22.04;	author arved;	state dead;
branches;
next	1.32;

1.32
date	2009.01.05.20.36.28;	author pav;	state Exp;
branches;
next	1.31;

1.31
date	2005.12.12.12.55.02;	author lawrance;	state Exp;
branches;
next	1.30;

1.30
date	2005.06.17.22.59.18;	author netchild;	state Exp;
branches;
next	1.29;

1.29
date	2005.03.01.21.51.39;	author trevor;	state Exp;
branches;
next	1.28;

1.28
date	2004.03.07.07.28.48;	author glewis;	state Exp;
branches;
next	1.27;

1.27
date	2004.02.25.10.32.24;	author kris;	state Exp;
branches;
next	1.26;

1.26
date	2004.02.04.05.21.32;	author marcus;	state Exp;
branches;
next	1.25;

1.25
date	2004.01.22.12.18.34;	author trevor;	state Exp;
branches;
next	1.24;

1.24
date	2004.01.22.11.05.58;	author trevor;	state Exp;
branches;
next	1.23;

1.23
date	2003.09.27.00.50.07;	author edwin;	state Exp;
branches;
next	1.22;

1.22
date	2003.02.20.18.37.55;	author knu;	state Exp;
branches;
next	1.21;

1.21
date	2002.11.10.16.46.49;	author lioux;	state Exp;
branches;
next	1.20;

1.20
date	2002.11.06.22.45.46;	author adamw;	state Exp;
branches;
next	1.19;

1.19
date	2002.09.29.08.07.46;	author ijliao;	state Exp;
branches;
next	1.18;

1.18
date	2002.05.08.21.18.45;	author obrien;	state Exp;
branches;
next	1.17;

1.17
date	2002.01.29.11.24.06;	author knu;	state Exp;
branches;
next	1.16;

1.16
date	2001.08.28.07.23.01;	author obrien;	state Exp;
branches;
next	1.15;

1.15
date	2001.08.27.20.47.02;	author obrien;	state Exp;
branches;
next	1.14;

1.14
date	2001.08.20.22.10.50;	author obrien;	state Exp;
branches;
next	1.13;

1.13
date	2001.03.21.00.41.03;	author obrien;	state Exp;
branches;
next	1.12;

1.12
date	2001.03.21.00.28.37;	author obrien;	state Exp;
branches;
next	1.11;

1.11
date	2001.03.20.20.28.03;	author obrien;	state Exp;
branches;
next	1.10;

1.10
date	2001.02.14.20.19.38;	author lioux;	state Exp;
branches;
next	1.9;

1.9
date	2001.02.07.20.53.43;	author obrien;	state Exp;
branches;
next	1.8;

1.8
date	2001.02.07.14.51.12;	author obrien;	state Exp;
branches;
next	1.7;

1.7
date	2001.01.16.17.31.10;	author sobomax;	state Exp;
branches;
next	1.6;

1.6
date	2001.01.11.02.55.54;	author obrien;	state Exp;
branches;
next	1.5;

1.5
date	2000.12.14.00.44.12;	author obrien;	state Exp;
branches;
next	1.4;

1.4
date	2000.12.08.19.14.31;	author obrien;	state Exp;
branches;
next	1.3;

1.3
date	2000.12.08.13.54.04;	author obrien;	state Exp;
branches;
next	1.2;

1.2
date	2000.12.08.13.27.29;	author obrien;	state Exp;
branches;
next	1.1;

1.1
date	2000.12.08.10.30.23;	author obrien;	state Exp;
branches;
next	;


desc
@@


1.33
log
@Remove compaq-cc, which only works on alpha, which has not been supported
for some time

Reported on:	freebsd-ports
@
text
@# ex:ts=8
# Ports collection makefile for:  compaq-cc
# Date created:			  Thur Dec 07, 2000
# Whom:				  David O'Brien (obrien@@NUXI.com)
#
# $FreeBSD: ports/lang/compaq-cc/Makefile,v 1.32 2009/01/05 20:36:28 pav Exp $
#

PORTNAME=	compaq-cc
PORTVERSION=	6.4.9.005.1
PORTREVISION=	4
CATEGORIES=	lang
MASTER_SITES=	ftp://ftp.compaq.com/pub/products/C-CXX/linux/compaq_c/
DISTFILES=	ccc-6.4.9.005-1.alpha.rpm libots-2.2.7-2.alpha.rpm
.if defined(WANT_EV6)
DISTFILES+=	cpml_ev6-5.1.0-4.alpha.rpm
.else
DISTFILES+=	cpml_ev5-5.1.0-4.alpha.rpm
.endif

MAINTAINER=	ports@@FreeBSD.org
COMMENT=	Compaq Alpha Tru64 C compiler

RESTRICTED=	"Distribution not allowed"

BUILD_DEPENDS=	rpm:${PORTSDIR}/archivers/rpm

ONLY_FOR_ARCHS=	alpha

PREFIX=		/
LIBOTS_REV=	libots-2.2.7
CPML_REV=	cpml-5.1.0
CCC_REV=	ccc-6.4.9.005-1
CCC_DIR=	usr/lib/compaq/${CCC_REV}
CCC_ROOT=	${PREFIX}/${CCC_DIR}
PLIST_SUB=	CCC_REV=${CCC_REV} CPML_REV=${CPML_REV} LIBOTS_REV=${LIBOTS_REV}
EXTRACT_CMD=		rpm2cpio
EXTRACT_BEFORE_ARGS=
EXTRACT_AFTER_ARGS=	|${CPIO} -idum
EXTRACT_ONLY=
NO_WRKSUBDIR=		yes
NO_BUILD=		yes
USE_LINUX=		yes

.include <bsd.port.pre.mk>

do-install:
	@@if [ -z "`kldstat -v | ${GREP} -E 'linux'`" ]; then \
		${ECHO_MSG} 'AlphaLinux  mode is not enabled.\
			Loading AlphaLinux kernel module...' | fmt; \
		kldload linux || { \
		${ECHO_MSG} 'The AlphaLinux kernel module could not be loaded.\
			Please manually load the module and retry.\
			See "man linux" for details.' | fmt; \
		${FALSE}; \
		};\
	fi
.for F in ${DISTFILES}
	cd ${PREFIX} ; rpm2cpio ${DISTDIR}/$F |${CPIO} -idum -R root:wheel
.endfor
	${MV} ${PREFIX}/usr/man/man1/ccc.1 ${PREFIX}/usr/share/man/man1/
	${MV} ${PREFIX}/usr/man/man8/protect_headers_setup.8 \
		${PREFIX}/usr/share/man/man8/
	-${RMDIR} ${PREFIX}/usr/man/man1 ${PREFIX}/usr/man/man8 \
		${PREFIX}/usr/man

.for F in ${CCC_ROOT}/alpha-linux/bin/lnxcc \
	${CCC_ROOT}/alpha-linux/bin/lnxcc_driver
	brandelf -t Linux ${PREFIX}$F
.endfor
	cd ${CCC_ROOT}/alpha-linux/bin	\
	    ; ${MV} cpp cpp.Linux-bad ; ${LN} -s /usr/bin/cpp .		\
	    ; ${MV} ld ld.Linux-bad ; ${LN} -s /usr/bin/ld .
# "-g" is totally ignored by GNU ld, so we can use it for a benign space holder
	cd ${CCC_ROOT}/alpha-linux/bin	\
	    ; ${MV} lnxcc_driver lnxcc_driver.Linux			\
	    ; ${SED} -e 's/-dynamic-linker/-g             /g'		\
		     -e 's|-D__linux__|-D__FreeBSD|g'			\
		     -e 's|-D__linux....|-D__FreeBSD__|g'		\
		     -e 's|-Dlinux|-D_____|g'				\
		lnxcc_driver.Linux >lnxcc_driver			\
		; ${CHMOD} 555 lnxcc_driver

# the shared libs gives us trouble right now, so only offer .a's
	${RM} ${PREFIX}/usr/lib/libots.so
	${RM} ${PREFIX}/usr/lib/libcpml.so
# fix unresolved references in the DECpaq libs
	cd ${WRKSRC}							\
	    ; ccc -c ${FILESDIR}/*.c					\
	    ; ar vq /usr/lib/compaq/cpml-5.1.0/libcpml_ev5.a *.o
# create /lib/ld-linux.so.2 becausing nulling it out in the (dynamic)
# compiler binary prevents it from running
	cd ${WRKSRC}							\
	    ; cp  /dev/null ld-linux.c					\
	    ; mkdir -p ${PREFIX}/lib					\
	    ; cc -c ld-linux.c -o ${PREFIX}/lib/ld-linux.so.2		\
# cpio creates directories with stupid permissions
	${FIND} ${PREFIX}/usr/lib/compaq -type d | ${XARGS} ${CHMOD} 755
# tweaks to compile FreeBSD bits better
	${MV} ${CCC_ROOT}/alpha-linux/bin/comp.config \
		${CCC_ROOT}/alpha-linux/bin/comp.config.ORIG
	${SED} -e 's|!!CCC_ROOT!!|${CCC_ROOT}|g' ${FILESDIR}/comp.config  \
		> ${WRKDIR}/comp.config
	${INSTALL_DATA} ${WRKDIR}/comp.config  \
		${CCC_ROOT}/alpha-linux/bin
	${MKDIR} ${CCC_ROOT}/alpha-freebsd/include
	${MKDIR} ${CCC_ROOT}/alpha-freebsd/lib
	cd ${FILESDIR}/include ; \
		${FIND} . -print0 \
		| ${CPIO} -dump0 -R root:wheel ${CCC_ROOT}/alpha-freebsd/include
	cd ${CCC_ROOT}/alpha-freebsd/include ; ${LN} -sf machine/stdarg.h .

post-install:
# fixup PLIST for the FreeBSD bits
	cd ${PREFIX} ;\
	    ${FIND} ${CCC_DIR}/alpha-freebsd -type f -o -type l \
	    					>${WRKDIR}/PLIST.alpha-freebsd
	cd ${PREFIX} ;\
	    ${FIND} ${CCC_DIR}/alpha-freebsd -type d \
	    | ${SED} -e 's/^/@@dirrm /g' \
	    | ${SORT} -r			>>${WRKDIR}/PLIST.alpha-freebsd
	${ECHO_CMD} "r ${TMPPLIST}"			>  ${WRKDIR}/ex.script
	${ECHO_CMD} "/Insert PLIST.alpha-freebsd"	>> ${WRKDIR}/ex.script
	${ECHO_CMD} "d"					>> ${WRKDIR}/ex.script
	${ECHO_CMD} "r ${WRKDIR}/PLIST.alpha-freebsd"	>> ${WRKDIR}/ex.script
	${ECHO_CMD} "x!"				>> ${WRKDIR}/ex.script
	${CP} -p ${TMPPLIST} ${TMPPLIST}.pre-alpha-freebsd
	cd ${WRKDIR} ; ex < ex.script
# fixup PLIST for the AlphaLinux bits
	cd ${PREFIX} ;\
	    ${FIND} ${CCC_DIR}/alpha-linux -type f -o -type l \
	    					>${WRKDIR}/PLIST.alphalinux
	${ECHO_CMD} "lib/ld-linux.so.2"		>>${WRKDIR}/PLIST.alphalinux
	cd ${PREFIX} ;\
	    ${FIND} ${CCC_DIR}/alpha-linux -type d \
	    | ${SED} -e 's/^/@@dirrm /g' \
	    | ${SORT} -r			>>${WRKDIR}/PLIST.alphalinux
	${ECHO_CMD} "r ${TMPPLIST}"			>  ${WRKDIR}/ex.script2
	${ECHO_CMD} "/Insert PLIST.alphalinux"		>> ${WRKDIR}/ex.script2
	${ECHO_CMD} "d"					>> ${WRKDIR}/ex.script2
	${ECHO_CMD} "r ${WRKDIR}/PLIST.alphalinux"	>> ${WRKDIR}/ex.script2
	${ECHO_CMD} "x!"				>> ${WRKDIR}/ex.script2
	${CP} -p ${TMPPLIST} ${TMPPLIST}.pre-alphalinux
	cd ${WRKDIR} ; ex < ex.script2
# fixup PLIST for the docs bits
	cd ${PREFIX} ;\
	    ${FIND} usr/doc/${CCC_REV:C/-1$//} -type f -o -type l \
	    					>${WRKDIR}/PLIST.docs
	cd ${PREFIX} ;\
	    ${FIND} usr/doc/${CCC_REV:C/-1$//} -type d \
	    | ${SED} -e 's/^/@@dirrm /g' \
	    | ${SORT} -r				>>${WRKDIR}/PLIST.docs
	${ECHO_CMD} "r ${TMPPLIST}"			>  ${WRKDIR}/ex.script3
	${ECHO_CMD} "/Insert PLIST.docs"		>> ${WRKDIR}/ex.script3
	${ECHO_CMD} "d"					>> ${WRKDIR}/ex.script3
	${ECHO_CMD} "r ${WRKDIR}/PLIST.docs"		>> ${WRKDIR}/ex.script3
	${ECHO_CMD} "x!"				>> ${WRKDIR}/ex.script3
	${CP} -p ${TMPPLIST} ${TMPPLIST}.pre-docs
	cd ${WRKDIR} ; ex < ex.script3

.include <bsd.port.post.mk>
@


1.32
log
@- Remove conditional checks for FreeBSD 5.x and older
@
text
@d6 1
a6 1
# $FreeBSD$
@


1.31
log
@Install manpages into a real manpath.
Bump PORTREVISION.

PR:		ports/38034
Submitted by:	Chris J. Mutter <cjm@@s2.enemy.org>
@
text
@a133 3
.if ${OSVERSION} < 501114
	${ECHO_CMD} "@@dirrm lib"		>>${WRKDIR}/PLIST.alphalinux
.endif
@


1.30
log
@Mega-patch to cleanup the ports infrastructure regarding our linux bits:
  - USE_LINUX now implies NO_FILTER_SHLIBS=yes. It also doesn't use FreeBSD
    tools to strip binaries anymore, so it's not neccesary anymore to override
    STRIP and STRIP_CMD.
  - USE_LINUX_PREFIX implies NO_MTREE now.
  - In the USE_LINUX case, USE_XLIB now depends upon the linux X11 libraries
    instead upon the native FreeBSD libraries.
  - The variable LINUX_BASE_PORT contains a string which is suitable as an
    item in *_DEPENDS, so if a port BATCH_DEPENDS or FETCH_DEPENDS upon the
    default (or overriden) linux base, ${LINUX_BASE_PORT} should be used
    instead of a hardcoded reference.
  - Change all ports to comply to the "new world order".
  - The Ports Collection now allows to override the default linux_base port.
    Specify e.g. OVERRIDE_LINUX_BASE_PORT=rh-9 in /etc/make.conf to use
    ${PORTSDIR}/emulators/linux_base-rh-9 (the logic is to use
    ${PORTSDIR}/emulators/linux_base-${OVERRIDE_LINUX_BASE_PORT}).
  - If USE_LINUX or OVERRIDE_LINUX_BASE doesn't point to an existing linux_base
    port and if USE_LINUX isn't set to "yes" (case insensitive), the port will
    be marked as IGNORE. [1]
  - Readd USE_LINUX knobs into several ports and make several uses of a
    conditional dependency ("USE_LINUX?=") into an unconditional one
    ("USE_LINUX=") which where removed/changed by Trevor to allow the use of
    alternative linux_base ports. While this is a nice goal, the implementation
    resulted in missing dependencies. The OVERRIDE_LINUX_BASE_PORT knob
    in this commit is supposed to fix the problem while keeping the feature.
    Basicaly this includes a backout of Trevor's commit, to prevent confusion
    I mention it here explicitely.
  - Use the correct prefix (X11- instead of LOCAL- or LINUX-) for some ports.
    Chase dependencies for this.
  - Changes to make linux_devtools installable on amd64, remove some stray
    device nodes (they don't work on recent OS versions and aren't really
    needed).
  - Make linux_base-8 PREFIX clean and remove some stray device nodes.
    Additionally tell a little bit more about how to setup NIS/YP [2].
  - Update the PGSQL dependency in the linux-opengroupware port to a recent
    version (the old one isn't available anymore), I don't know if this
    works (at least it isn't more broken than before).
  - Use PREFIX/usr/share/doc instead of PREFIX/usr/doc in the divx4linux
    ports, the former path exists already and gets populated by other
    packages too (PREFIX=LINUXPREFIX!).
  - Fix some obvious (non-linuxolator) bugs in some linux ports while being
    there.
  - Bump PORTREVISION where neccesary.

Requested by:	portmgr (linimon) [1]
Submittted by:	Gerrit Kuehn <gerrit_huehn@@gruft.fido.de [2]
Approved by:	portmgr (kris, linimon), maintainers (or maintainer timeout)
Tested on:	ports cluster (kris)
Reviewed by:	silence on emulation@@
Superseedes PR:	69997

Maintainer approval from:
	chris@@chrisburkert.de
	cracauer@@cons.org
	des
	girgen
	jamie@@bishopston.net
	mezz
	mi
	nivit@@users.sf.net
        pat
	simond@@irrelevant.org
	riggs@@rrr.de
	Udo.Schweigert@@Siemens.com
@
text
@d11 1
a11 1
PORTREVISION=	3
d61 6
@


1.29
log
@Respect the user's USE_LINUX setting.
@
text
@d43 1
a43 3
NO_FILTER_SHLIBS=	yes
NO_MTREE=		yes
USE_LINUX?=		yes
@


1.28
log
@. Unbreak by fixing the packing list.

Submitted by:	bento
@
text
@d45 1
a45 1
USE_LINUX=		yes
@


1.27
log
@BROKEN On alpha 5.x: Broken pkg-plist
@
text
@a48 4
.if ${ARCH} == "alpha" && ${OSVERSION} >= 502102
BROKEN=		"Broken pkg-plist on alpha 5.x"
.endif

d130 1
d132 1
@


1.26
log
@Bump PORTREVISION on all ports that depend on gettext to aid with upgrading.

(Part 2)
@
text
@d47 6
d162 1
a162 1
.include <bsd.port.mk>
@


1.25
log
@Use the CPIO macro defined in bsd.port.mk.
@
text
@d11 1
a11 1
PORTREVISION=	2
@


1.24
log
@Use the SORT macro from bsd.port.mk.
@
text
@d39 1
a39 1
EXTRACT_AFTER_ARGS=	|cpio -idum
d59 1
a59 1
	cd ${PREFIX} ; rpm2cpio ${DISTDIR}/$F |cpio -idum -R root:wheel
d104 1
a104 1
		| cpio -dump0 -R root:wheel ${CCC_ROOT}/alpha-freebsd/include
@


1.23
log
@- ECHO -> ECHO_MSG

for some ports:
- ECHO -> ECHO_CMD
- pre-fetch -> pre-everything

PR:		ports/56800-56819
Submitted by:	KATO Tsuguru <tkato@@prontomail.com>
@
text
@d115 1
a115 1
	    | sort -r				>>${WRKDIR}/PLIST.alpha-freebsd
d132 1
a132 1
	    | sort -r				>>${WRKDIR}/PLIST.alphalinux
d147 1
a147 1
	    | sort -r				>>${WRKDIR}/PLIST.docs
@


1.22
log
@De-pkg-comment.
@
text
@d49 1
a49 1
		${ECHO} 'AlphaLinux  mode is not enabled.\
d52 1
a52 1
		${ECHO} 'The AlphaLinux kernel module could not be loaded.\
@


1.21
log
@o Rollback PORTCOMMENT modifications while this feature's implementation
  is better studied
o Turn PORTCOMMENT variable in Makefile back into pkg-comment files

Approved by:	kris (portmgr hat),
		portmgr, re (silence)
@
text
@d22 1
@


1.20
log
@Use PORTCOMMENT in the Makefile, and whack the pkg-comment.

Approved by:	pat
@
text
@a22 2
PORTCOMMENT=	Compaq Alpha Tru64 C compiler

@


1.19
log
@find->${FIND},xargs->${XARGS}

PR:		40791
Submitted by:	Simon 'corecode' Schubert <corecode@@corecode.ath.cx>
@
text
@d23 2
@


1.18
log
@To ports@@freebsd.org.
@
text
@d91 1
a91 1
	${FIND} ${PREFIX}/usr/lib/compaq -type d | xargs ${CHMOD} 755
@


1.17
log
@Use ${ECHO_CMD} instead of ${ECHO} where you mean the echo command;
the ECHO macro is set to "echo" by default, but it is set to "true" if
make(1) is invoked with the -s option while ECHO_CMD is always set to
the echo command.

Use command macros where appropriate.
@
text
@d21 1
a21 1
MAINTAINER=	obrien@@FreeBSD.org
@


1.16
log
@Use USE_LINUX rather than a RUN_DEPEND.

Submitted by:	Christian Weisgerber <naddy@@mips.inka.de>
@
text
@d6 1
a6 1
# $FreeBSD: ports/lang/compaq-cc/Makefile,v 1.15 2001/08/27 20:47:02 obrien Exp $
d91 1
a91 1
	find ${PREFIX}/usr/lib/compaq -type d | xargs ${CHMOD} 755
d102 1
a102 1
		find . -print0 \
d109 1
a109 1
	    find ${CCC_DIR}/alpha-freebsd -type f -o -type l \
d112 2
a113 2
	    find ${CCC_DIR}/alpha-freebsd -type d \
	    | sed -e 's/^/@@dirrm /g' \
d115 5
a119 5
	${ECHO} "r ${TMPPLIST}"				>  ${WRKDIR}/ex.script
	${ECHO} "/Insert PLIST.alpha-freebsd"		>> ${WRKDIR}/ex.script
	${ECHO} "d"					>> ${WRKDIR}/ex.script
	${ECHO} "r ${WRKDIR}/PLIST.alpha-freebsd"	>> ${WRKDIR}/ex.script
	${ECHO} "x!"					>> ${WRKDIR}/ex.script
d124 1
a124 1
	    find ${CCC_DIR}/alpha-linux -type f -o -type l \
d126 2
a127 2
	${ECHO} "lib/ld-linux.so.2"		>>${WRKDIR}/PLIST.alphalinux
	${ECHO} "@@dirrm lib"		>>${WRKDIR}/PLIST.alphalinux
d129 2
a130 2
	    find ${CCC_DIR}/alpha-linux -type d \
	    | sed -e 's/^/@@dirrm /g' \
d132 5
a136 5
	${ECHO} "r ${TMPPLIST}"				>  ${WRKDIR}/ex.script2
	${ECHO} "/Insert PLIST.alphalinux"		>> ${WRKDIR}/ex.script2
	${ECHO} "d"					>> ${WRKDIR}/ex.script2
	${ECHO} "r ${WRKDIR}/PLIST.alphalinux"		>> ${WRKDIR}/ex.script2
	${ECHO} "x!"					>> ${WRKDIR}/ex.script2
d141 1
a141 1
	    find usr/doc/${CCC_REV:C/-1$//} -type f -o -type l \
d144 2
a145 2
	    find usr/doc/${CCC_REV:C/-1$//} -type d \
	    | sed -e 's/^/@@dirrm /g' \
d147 5
a151 5
	${ECHO} "r ${TMPPLIST}"				>  ${WRKDIR}/ex.script3
	${ECHO} "/Insert PLIST.docs"			>> ${WRKDIR}/ex.script3
	${ECHO} "d"					>> ${WRKDIR}/ex.script3
	${ECHO} "r ${WRKDIR}/PLIST.docs"		>> ${WRKDIR}/ex.script3
	${ECHO} "x!"					>> ${WRKDIR}/ex.script3
@


1.15
log
@We need to run-depend on linux_base.

Submitted by:	Christian Weisgerber <naddy@@mips.inka.de>
@
text
@d6 1
a6 1
# $FreeBSD: ports/lang/compaq-cc/Makefile,v 1.14 2001/08/20 22:10:50 obrien Exp $
a25 1
RUN_DEPENDS=	${LINUXBASE}/lib/ld-linux.so.2:${PORTSDIR}/emulators/linux_base
d44 1
@


1.14
log
@Update to 6.4.9.005.1.
This is hairy as Compaq is now putting out dynamic binary rather than static
ones.  This makes my job harder with faking out this Linux compiler.

Submitted by:	gallatin
@
text
@d6 1
a6 1
# $FreeBSD: ports/lang/compaq-cc/Makefile,v 1.13 2001/03/21 00:41:03 obrien Exp $
d26 1
@


1.13
log
@Bump revision.
@
text
@d6 1
a6 1
# $FreeBSD: ports/lang/compaq-cc/Makefile,v 1.12 2001/03/21 00:28:37 obrien Exp $
d10 1
a10 1
PORTVERSION=	6.2.9.506.1
d13 2
a14 2
MASTER_SITES=	ftp://ftp.compaq.com/pub/products/C-CXX/linux/compaq_c_v62/
DISTFILES=	ccc-6.2.9.506-1.alpha.rpm libots-2.2.7-2.alpha.rpm
d16 1
a16 1
DISTFILES+=	cpml_ev6-5.1.0-2.alpha.rpm
d18 1
a18 1
DISTFILES+=	cpml_ev5-5.1.0-2.alpha.rpm
d32 1
a32 1
CCC_REV=	ccc-6.2.9.506-1
a69 1
		     -e 's|/lib/ld-linux.so.2|-g                |g'	\
d75 1
d83 6
d125 2
@


1.12
log
@Use `cpio' over `tar' in order to force ownership to a sane value.
Submitted by:	Christian Weisgerber <naddy@@mips.inka.de>

Dynamically generate the PLIST so I don't have to do the version chase
on every update.
@
text
@d6 1
a6 1
# $FreeBSD: ports/lang/compaq-cc/Makefile,v 1.11 2001/03/20 20:28:03 obrien Exp $
d11 1
a11 1
PORTREVISION=	1
@


1.11
log
@`rpm' and `rpm2cpio' have been repocopied from "misc" to "archivers".
@
text
@d6 1
a6 1
# $FreeBSD: ports/lang/compaq-cc/Makefile,v 1.10 2001/02/14 20:19:38 lioux Exp $
d30 6
a35 1
CCC_ROOT=	${PREFIX}/usr/lib/compaq/ccc-6.2.9.506-1
d57 1
a57 1
	cd ${PREFIX} ; rpm2cpio ${DISTDIR}/$F |cpio -idum
d95 2
a96 2
		tar  --exclude CVS -cf - . \
		|(cd ${CCC_ROOT}/alpha-freebsd/include ; tar xpBf -)
d102 1
a102 1
	    find ${CCC_ROOT}/alpha-freebsd -type f -o -type l \
d105 1
a105 1
	    find ${CCC_ROOT}/alpha-freebsd -type d \
d115 30
@


1.10
log
@typo clean up police: \s -> \t
@
text
@d6 1
a6 1
# $FreeBSD: ports/lang/compaq-cc/Makefile,v 1.9 2001/02/07 20:53:43 obrien Exp $
d25 1
a25 1
BUILD_DEPENDS=	rpm:${PORTSDIR}/misc/rpm
@


1.9
log
@Update to the 6.2.9.506-1 of the Compaq Alpha C compiler.
@
text
@d6 1
a6 1
# $FreeBSD: ports/lang/compaq-cc/Makefile,v 1.8 2001/02/07 14:51:12 obrien Exp $
d55 1
a55 1
    ${CCC_ROOT}/alpha-linux/bin/lnxcc_driver
@


1.8
log
@Put back my editor hints that were removed w/o permission.
Note these are *FULLY* Satoshi approved for the past 4 years.
@
text
@d6 1
a6 1
# $FreeBSD: ports/lang/compaq-cc/Makefile,v 1.7 2001/01/16 17:31:10 sobomax Exp $
d10 1
a10 1
PORTVERSION=	6.2.9.504
d14 1
a14 1
DISTFILES=	ccc-6.2.9.504-2.alpha.rpm libots-2.2.7-2.alpha.rpm
d30 1
a30 1
CCC_ROOT=	${PREFIX}/usr/lib/compaq/ccc-6.2.9.504-2
@


1.7
log
@Massive style enforcement - use ^I instead of spaces for variables identation.
@
text
@d1 1
d6 1
a6 1
# $FreeBSD: ports/lang/compaq-cc/Makefile,v 1.6 2001/01/11 02:55:54 obrien Exp $
@


1.6
log
@Install fixed up BSD headers that are palatable to the Compaq CC.
Make the include directory search path match what exists.
Make the lib directory search path match what exists.

Submitted by:	gallatin (partially)
@
text
@a0 1
# ex:ts=8
d5 1
a5 1
# $FreeBSD: ports/lang/compaq-cc/Makefile,v 1.5 2000/12/14 00:44:12 obrien Exp $
d22 1
a22 1
RESTRICTED=     "Distribution not allowed"
@


1.5
log
@Make the mode of created directories sane.
@
text
@d6 1
a6 1
# $FreeBSD: ports/lang/compaq-cc/Makefile,v 1.4 2000/12/08 19:14:31 obrien Exp $
d11 1
d30 1
d54 2
a55 2
.for F in /usr/lib/compaq/ccc-6.2.9.504-2/alpha-linux/bin/lnxcc \
    /usr/lib/compaq/ccc-6.2.9.504-2/alpha-linux/bin/lnxcc_driver
d58 1
a58 1
	cd ${PREFIX}/usr/lib/compaq/ccc-6.2.9.504-2/alpha-linux/bin	\
d62 1
a62 1
	cd ${PREFIX}/usr/lib/compaq/ccc-6.2.9.504-2/alpha-linux/bin	\
d80 30
@


1.4
log
@Fix typo in kldload command.

Submitted by:	Thomas Valentino Crimi <tcrimi+@@andrew.cmu.edu>
@
text
@d6 1
a6 1
# $FreeBSD: ports/lang/compaq-cc/Makefile,v 1.3 2000/12/08 13:54:04 obrien Exp $
d76 2
@


1.3
log
@Replace pre-defined "linux" symbol with "FreeBSD".
@
text
@d6 1
a6 1
# $FreeBSD: ports/lang/compaq-cc/Makefile,v 1.2 2000/12/08 13:27:29 obrien Exp $
d42 1
a42 1
		lkdload linux || { \
@


1.2
log
@* Remove the Linux -dynamic-linker specification from the `ld' execution.
  Luckly our `ld' knows the name of our dynamic linker and DTRT.
* Remove the DECpaq shared libs from the standard search dir as linking
  with them gives unresolved symbols.  Thus we'll use the .a's for now.
* Add the symbols __errno_location, __ieee_get_fp_control, and
  __ieee_set_fp_control (mapped to native interfaces) to the static
  Compaq Portable Math Library.  Thus all symbols are resolved.

This allows `CC=ccc' to build fully native FreeBSD Alpha binaries.
@
text
@d6 1
a6 1
# $FreeBSD: ports/lang/compaq-cc/Makefile,v 1.1 2000/12/08 10:30:23 obrien Exp $
d64 3
@


1.1
log
@Compaq Alpha Tru64 C compiler.  It is a port of the same compiler that is
available on the Compaq Tru64 UNIX platform.  The compiler produces excellent
optimized code for the Alpha architecture, particularly for floating-point
intensive applications.

I was able to compile simple test programs by:
	ccc -c foo.c
	cc -o foo foo.o
@
text
@d6 1
a6 1
# $FreeBSD$
a19 2
RUN_DEPENDS=	/compat/linux/lib/libc.so.6.1:${PORTSDIR}/emulators/linux_base

d56 2
a57 2
	cd ${PREFIX}/usr/lib/compaq/ccc-6.2.9.504-2/alpha-linux/bin \
	    ; ${MV} cpp cpp.Linux-bad ; ${LN} -s /usr/bin/cpp . \
d59 14
@

