mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-14 23:46:10 +00:00
96bc8048c3
shell loops to make loops. Use EXTRA_PKG_FLAGS to add install scripts instead of adding it to PKG_FLAGS after bsd.port.mk.
34 lines
789 B
Makefile
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>
|