1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00
freebsd-ports/x11-toolkits/Xaw3d/Makefile
Mario Sergio Fujikawa Ferreira f0a1969d34 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)
2002-11-10 16:48:51 +00:00

45 lines
1020 B
Makefile

# New ports collection makefile for: Xaw3d
# Date created: 18 November 1994
# Whom: asami
#
# $FreeBSD$
#
PORTNAME= Xaw3d
PORTVERSION= 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
INSTALLS_SHLIB= yes
.if exists(${X11BASE}/bin/XFree86)
PLIST_SUB= XAWLINK=""
.else
PLIST_SUB= XAWLINK="@comment "
.endif
post-extract:
${MKDIR} ${WRKSRC}/X11/Xaw3d
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:
${MKDIR} ${PREFIX}/share/doc/Xaw3d
${CP} ${WRKSRC}/README.XAW3D ${PREFIX}/share/doc/Xaw3d
.if exists(${X11BASE}/bin/XFree86)
${LN} -sf libXaw3d.so.${XAWVER} ${X11BASE}/lib/libXaw3d.so.6
.endif
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>