pkgsrc/graphics/gnome-pixmaps/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

41 lines
944 B
Makefile

# $NetBSD: Makefile,v 1.10 2004/04/14 19:30:22 jmmv Exp $
#
DISTNAME= gnome-core-1.4.2
PKGNAME= ${DISTNAME:S/core/pixmaps/}
PKGREVISION= 1
CATEGORIES= graphics gnome
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/gnome-core/1.4/}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= rh@NetBSD.org
HOMEPAGE= http://www.gnome.org/
COMMENT= Pixmaps for gnome-core
.include "../../mk/bsd.prefs.mk"
CONFLICTS= gnome-core<1.4.2
.if (${LOCALBASE} == ${X11PREFIX})
CONFLICTS+= gnome2-pixmaps-[0-9]*
.endif
USE_BUILDLINK3= YES
USE_DIRS+= xdg-1.1
USE_X11BASE= YES
NO_CONFIGURE= YES
NO_BUILD= YES
DSTDIR= ${PREFIX}/share/pixmaps
do-install:
${INSTALL_DATA_DIR} ${DSTDIR}/tiles
cd ${WRKSRC}/pixmaps && \
for i in *.png *.xpm ; do \
${INSTALL_DATA} $$i ${DSTDIR} ; \
done && \
for i in tile-* ; do \
${LN} ${DSTDIR}/$$i ${DSTDIR}/tiles ; \
done
.include "../../archivers/bzip2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"