1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/x11-toolkits/Xaw3d/Makefile

41 lines
974 B
Makefile
Raw Normal View History

# New ports collection makefile for: Xaw3d
# Version required: 1.5
# Date created: 18 November 1994
# Whom: asami
#
1999-08-31 03:04:38 +00:00
# $FreeBSD$
#
DISTNAME= Xaw3d-1.5
CATEGORIES= x11-toolkits
MASTER_SITES= ${MASTER_SITE_XCONTRIB}
MASTER_SITE_SUBDIR= widgets/Xaw3d/R6.3
MAINTAINER= ports@FreeBSD.ORG
WRKSRC= ${WRKDIR}/xc/lib/Xaw3d
USE_IMAKE= yes
.include <bsd.port.pre.mk>
post-extract:
${MKDIR} ${WRKSRC}/X11/Xaw3d
1999-08-28 01:58:05 +00:00
cd ${WRKSRC}/X11/Xaw3d; ${LN} -sf ../../*.h .
# 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
post-install:
.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
${MKDIR} ${PREFIX}/share/doc/Xaw3d
${CP} ${WRKSRC}/README.XAW3D ${PREFIX}/share/doc/Xaw3d
.include <bsd.port.post.mk>