pkgsrc/x11/Xaw3d/Makefile
tron 23e0063766 Completely replace "MASTER_SITE_SUBDIR" and "PATCH_SITE_SUBDIR" with
variable substituition of "MASTER_SITES" and "PATCH_SITES".
1999-04-15 20:39:38 +00:00

29 lines
653 B
Makefile

# $NetBSD: Makefile,v 1.19 1999/04/15 20:39:48 tron Exp $
#
DISTNAME= Xaw3d-1.5
CATEGORIES= x11
MASTER_SITES= ${MASTER_SITE_XCONTRIB:=widgets/Xaw3d/R6.3/}
MAINTAINER= tron@netbsd.org
CONFLICTS= Xaw-Xpm-*
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"