freebsd-ports/x11-toolkits/Xaw3d/Makefile
Maxim Sobolev 61ebd322a2 Fix MASSIVE typo INSTALL_SHLIBS --> INSTALLS_SHLIBS, which occured because I
just cun'n'pasted the name from Satoshi's commit message without checking
it.

Hall of shame entry:	sobomax
2000-06-16 08:19:52 +00:00

49 lines
1.1 KiB
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_SHLIBS= yes
.if exists(${X11BASE}/bin/XFree86)
PLIST= ${WRKDIR}/PLIST
.endif
post-extract:
${MKDIR} ${WRKSRC}/X11/Xaw3d
cd ${WRKSRC}/X11/Xaw3d; ${LN} -sf ../../*.h .
.if exists(${X11BASE}/bin/XFree86)
post-build:
${CP} ${PKGDIR}/PLIST ${WRKDIR}/PLIST
${ECHO} "lib/libXaw3d.so.7" >> ${PLIST}
.endif
# 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} ${X11BASE}/lib/libXaw3d.so.7 ${X11BASE}/lib/libXaw3d.so.6
.endif
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>