1994-11-18 02:57:28 +00:00
|
|
|
# New ports collection makefile for: Xaw3d
|
1999-01-05 06:55:22 +00:00
|
|
|
# Version required: 1.5
|
1994-11-18 02:57:28 +00:00
|
|
|
# Date created: 18 November 1994
|
|
|
|
# Whom: asami
|
|
|
|
#
|
1999-07-04 20:46:16 +00:00
|
|
|
# $Id: Makefile,v 1.21 1999/01/05 06:55:19 asami Exp $
|
1994-11-18 02:57:28 +00:00
|
|
|
#
|
|
|
|
|
1999-01-05 06:55:22 +00:00
|
|
|
DISTNAME= Xaw3d-1.5
|
1998-08-07 22:56:48 +00:00
|
|
|
CATEGORIES= x11-toolkits
|
1996-11-18 09:56:45 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_XCONTRIB}
|
1999-01-05 06:55:22 +00:00
|
|
|
MASTER_SITE_SUBDIR= widgets/Xaw3d/R6.3
|
1995-04-12 20:32:12 +00:00
|
|
|
|
1997-12-25 22:29:52 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.ORG
|
1995-04-12 20:32:12 +00:00
|
|
|
|
1995-08-25 06:53:28 +00:00
|
|
|
WRKSRC= ${WRKDIR}/xc/lib/Xaw3d
|
1995-04-12 20:32:12 +00:00
|
|
|
USE_IMAKE= yes
|
1994-11-18 02:57:28 +00:00
|
|
|
|
1998-11-14 09:43:39 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
1997-06-12 01:36:35 +00:00
|
|
|
post-extract:
|
1997-06-19 09:33:31 +00:00
|
|
|
${MKDIR} ${WRKSRC}/X11/Xaw3d
|
|
|
|
cd ${WRKSRC}/X11/Xaw3d; ln -sf ../../*.h .
|
1997-06-12 01:36:35 +00:00
|
|
|
|
1999-07-04 20:46:16 +00:00
|
|
|
# Workaround a bug in egcs on FreeBSD/Alpha.
|
|
|
|
.if ${MACHINE_ARCH} == "alpha"
|
|
|
|
post-configure:
|
|
|
|
@(cd ${WRKSRC}; ${MV} Makefile Makefile.orig; ${SED} -e \
|
|
|
|
's/CDEBUGFLAGS = -O/CDEBUGFLAGS =/g' Makefile.orig > Makefile)
|
|
|
|
.endif
|
|
|
|
|
1995-06-24 11:42:32 +00:00
|
|
|
post-install:
|
1998-11-14 09:43:39 +00:00
|
|
|
.if ${PORTOBJFORMAT} == "aout"
|
|
|
|
${LN} -sf libXaw3d.so.6.1 ${PREFIX}/lib/libXaw3d.so
|
|
|
|
.endif
|
1998-09-21 01:33:27 +00:00
|
|
|
${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
|
1997-12-29 13:29:27 +00:00
|
|
|
${MKDIR} ${PREFIX}/share/doc/Xaw3d
|
|
|
|
${CP} ${WRKSRC}/README.XAW3D ${PREFIX}/share/doc/Xaw3d
|
1995-06-24 11:42:32 +00:00
|
|
|
|
1998-11-14 09:43:39 +00:00
|
|
|
.include <bsd.port.post.mk>
|