pkgsrc/misc/gnome2-dirs/Makefile
jlam ae9b935fd0 * If PLIST_SRC is explicitly set to an empty value in a package Makefile,
then automatically generate a PLIST that says "${PKGNAME} has no files".

* If PLIST_SRC and GENERATE_PLIST are not set in a package Makefile,
  and no PLIST files exist, then fail during the package build with
  PKG_FAIL_REASON.

* Remove "intentionally empty" PLISTs again.

Now, the easy way to say that a package installs no files is to just
add the following to the package Makefile:

	PLIST_SRC=	# empty
2007-10-25 22:00:39 +00:00

37 lines
732 B
Makefile

# $NetBSD: Makefile,v 1.28 2007/10/25 22:01:01 jlam Exp $
#
DISTNAME= gnome2-dirs-1.6
CATEGORIES= misc gnome
MASTER_SITES= # empty
DISTFILES= # empty
MAINTAINER= jmmv@NetBSD.org
HOMEPAGE= # empty
COMMENT= Shared GTK/GNOME (v2) directories
PKG_DESTDIR_SUPPORT= user-destdir
WRKSRC= ${WRKDIR}
USE_LANGUAGES= # empty
NO_EXTRACT= yes
NO_CHECKSUM= yes
NO_CONFIGURE= yes
NO_BUILD= yes
PLIST_SRC= # empty
.include "dirs.mk"
.include "../../mk/bsd.prefs.mk"
.if ${X11PREFIX} == ${LOCALBASE}
DEPENDS+= gnome-dirs>=1.6:../../misc/gnome-dirs
ALL_GNOME_DIRS= ${GNOME2_DIRS}
.else
ALL_GNOME_DIRS= ${GNOME_DIRS} ${GNOME2_DIRS}
.endif
REQD_DIRS+= ${ALL_GNOME_DIRS:O:S/^/${PREFIX}\//}
do-install: # nothing
.include "../../mk/bsd.pkg.mk"