freebsd-ports/x11-toolkits/Xaw3d/Makefile
Satoshi Asami 96bc8048c3 Use bsd.port.{pre,post}.mk to move PORTOBJFORMAT to front, or change
shell loops to make loops.  Use EXTRA_PKG_FLAGS to add install scripts
instead of adding it to PKG_FLAGS after bsd.port.mk.
1998-11-14 09:43:39 +00:00

34 lines
789 B
Makefile

# New ports collection makefile for: Xaw3d
# Version required: 1.3
# Date created: 18 November 1994
# Whom: asami
#
# $Id: Makefile,v 1.19 1998/09/21 21:29:23 steve Exp $
#
DISTNAME= Xaw3d-1.3
CATEGORIES= x11-toolkits
MASTER_SITES= ${MASTER_SITE_XCONTRIB}
MASTER_SITE_SUBDIR= widgets/Xaw3d/R6.1
MAINTAINER= ports@FreeBSD.ORG
WRKSRC= ${WRKDIR}/xc/lib/Xaw3d
USE_IMAKE= yes
.include <bsd.port.pre.mk>
post-extract:
${MKDIR} ${WRKSRC}/X11/Xaw3d
cd ${WRKSRC}/X11/Xaw3d; ln -sf ../../*.h .
post-install:
.if ${PORTOBJFORMAT} == "aout"
${LN} -sf libXaw3d.so.6.1 ${PREFIX}/lib/libXaw3d.so
.endif
${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>