69f205360c
This is for PR 37610 to fix internationalized text bug. This fix was already in XFree86 and Xorg libXaw versions since at least Nov. 2004 and in Fedora for Xaw3d since 2002.
51 lines
1.3 KiB
Makefile
51 lines
1.3 KiB
Makefile
# $NetBSD: Makefile,v 1.54 2007/12/27 14:14:24 reed Exp $
|
|
#
|
|
|
|
DISTNAME= Xaw3d-1.5E
|
|
PKGREVISION= 4
|
|
CATEGORIES= x11
|
|
MASTER_SITES= ftp://ftp.visi.com/users/hawkeyd/X/
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
#HOMEPAGE= http://www.visi.com/~hawkeyd/xaw3d.html
|
|
COMMENT= 3-D widgets based on the Athena Widget set
|
|
|
|
CONFLICTS= Xaw-Xpm-[0-9]*
|
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
WRKSRC= ${WRKDIR}/xc/lib/Xaw3d
|
|
USE_IMAKE= YES
|
|
USE_TOOLS+= lex yacc
|
|
PLIST_SRC= ${WRKDIR}/PLIST-src
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
.if empty(X11BASE:M*openwin)
|
|
post-extract:
|
|
@(cd ${WRKSRC}; ${LN} -s .. X11)
|
|
.else
|
|
IMAKE_FLAGS+= -DXISOPENWIN
|
|
.endif
|
|
|
|
XMKMF_FLAGS+= ${IMAKE_FLAGS}
|
|
|
|
PLIST_SUBST+= INCDIR=include/X11
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/Xaw3d
|
|
${INSTALL_DATA} ${WRKSRC}/README.XAW3D ${DESTDIR}${PREFIX}/share/doc/Xaw3d
|
|
${CP} ${PKGDIR}/PLIST ${PLIST_SRC}
|
|
.if ${OPSYS} == "IRIX"
|
|
${INSTALL_DATA} /usr/lib${ABI}/libXaw3d* ${DESTDIR}${PREFIX}/lib/
|
|
${RM} -f /usr/lib${ABI}/libXaw3d*
|
|
.endif
|
|
cd ${DESTDIR}${PREFIX} && ${LS} lib/libXaw3d* >>${PLIST_SRC}
|
|
|
|
.include "../../x11/libXext/buildlink3.mk"
|
|
.include "../../x11/libXmu/buildlink3.mk"
|
|
.include "../../x11/libXpm/buildlink3.mk"
|
|
.include "../../x11/libXp/buildlink3.mk"
|
|
.include "../../x11/xextproto/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|