30 lines
682 B
Makefile
30 lines
682 B
Makefile
# $NetBSD: Makefile,v 1.17 1998/07/15 10:45:35 agc Exp $
|
|
#
|
|
|
|
DISTNAME= Xaw3d-1.5
|
|
CATEGORIES= x11
|
|
MASTER_SITES= ${MASTER_SITE_XCONTRIB}
|
|
MASTER_SITE_SUBDIR= widgets/Xaw3d/R6.3
|
|
|
|
MAINTAINER= tron@netbsd.org
|
|
|
|
CONFLICTS= Xaw-Xpm-1.1 Xaw3d-1.3
|
|
|
|
USE_IMAKE= yes
|
|
WRKSRC= ${WRKDIR}/xc/lib/Xaw3d
|
|
PLIST_SRC= ${WRKDIR}/PLIST-src
|
|
|
|
post-extract:
|
|
@(cd ${WRKSRC}; ${LN} -s .. X11)
|
|
|
|
post-install:
|
|
${MKDIR} ${PREFIX}/share/doc/Xaw3d
|
|
${CP} ${WRKSRC}/README.XAW3D ${PREFIX}/share/doc/Xaw3d
|
|
@if [ -f ${WRKSRC}/libXaw3d.a ]; then \
|
|
${CP} ${PKGDIR}/PLIST ${PLIST_SRC}; \
|
|
else \
|
|
${SED} -e '/lib\/libXaw3d\.a/d' \
|
|
< ${PKGDIR}/PLIST > ${PLIST_SRC}; \
|
|
fi
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|