pkgsrc/misc/xdg-x11-dirs/Makefile
jlam cf4dfe44a5 Use REQD_DIRS instead of MAKE_DIRS for directories under ${PREFIX} so
that these directories will be conditionally removed (based on reference
counts), regardless of the value of PKG_CONFIG.  Bump the PKGREVISION
for packages that were modified as a result.
2005-08-20 19:16:21 +00:00

37 lines
750 B
Makefile

# $NetBSD: Makefile,v 1.8 2005/08/20 19:16:21 jlam Exp $
#
DISTNAME= xdg-x11-dirs-1.2
PKGREVISION= 1
CATEGORIES= misc gnome kde
MASTER_SITES= # empty
DISTFILES= # empty
MAINTAINER= jmmv@NetBSD.org
HOMEPAGE= # empty
COMMENT= Shared XDG directories under the X11 tree
CONFLICTS= gnome2-dirs<=1.2
NO_BUILD= # defined
NO_CONFIGURE= # defined
NO_CHECKSUM= # defined
NO_EXTRACT= # defined
USE_LANGUAGES= # empty
USE_PKGINSTALL= yes
USE_X11BASE= yes
WRKSRC= ${WRKDIR}
.include "dirs.mk"
.include "../../mk/bsd.prefs.mk"
.if ${X11PREFIX} == ${LOCALBASE}
DEPENDS+= xdg-dirs>=1.1:../../misc/xdg-dirs
.else
REQD_DIRS+= ${XDG_X11_DIRS:O:S/^/${PREFIX}\//}
.endif
do-install: # nothing
.include "../../mk/x11.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"