pkgsrc/x11/Xaw-Xpm/Makefile
jmmv c8cb1c5b0d Drop the disctinction of xdg and xdg-x11 from USE_DIRS POV. We can choose
which one is required in an automatic way by checking USE_X11BASE.  This
simplifies things and avoids possible problems in the future due to confusion.
2004-04-14 19:30:22 +00:00

32 lines
954 B
Makefile

# $NetBSD: Makefile,v 1.21 2004/04/14 19:30:23 jmmv Exp $
#
DISTNAME= Xaw-XPM-1.1
PKGNAME= Xaw-Xpm-1.1
PKGREVISION= 1
CATEGORIES= x11
MASTER_SITES= ${MASTER_SITE_SUNSITE:=libs/X/}
MAINTAINER= root@garbled.net
HOMEPAGE= http://www.zip.com.au/~bb/XawXpm/
COMMENT= Enhanced 3-D widgets based on the Athena Widget set and Xaw3d
CONFLICTS= Xaw3d-[0-9]*
WRKSRC= ${WRKDIR}/XawXpm
USE_BUILDLINK3= YES
USE_DIRS+= xdg-1.1
USE_IMAKE= YES
PLIST_SRC= ${WRKDIR}/.PLIST_SRC
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/Xaw-Xpm
${INSTALL_DATA_DIR} ${PREFIX}/share/pixmaps
${INSTALL_DATA} ${WRKSRC}/README-XPM ${PREFIX}/share/doc/Xaw-Xpm
${INSTALL_DATA} ${WRKSRC}/defaults-XawXpm ${PREFIX}/share/doc/Xaw-Xpm
${INSTALL_DATA} ${WRKSRC}/pixmaps/*.xpm ${PREFIX}/share/pixmaps
${CP} ${PKGDIR}/PLIST ${PLIST_SRC}
cd ${PREFIX} && ${LS} lib/libXaw3d* >> ${PLIST_SRC}
.include "../../graphics/xpm/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"