pkgsrc-wip/util-linux/Makefile
Jeremy C. Reed 02f77bdc91 Use buildlink3 instead of buildlink2.
Fix INFODIR to use PREFIX to it too. (Forgot to mention
in earlier log message, but the info file was removed from PLIST
because it already is handled.)

(Forgot to mention in earlier log message, but gettext-lib buildlink
was added because this used gettext() functions. This probably
doesn't matter since this is used under Linux and Linux doesn't
needed libintl.)
2004-04-01 10:59:29 +00:00

37 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.4 2004/04/01 10:59:29 jeremy-c-reed Exp $
DISTNAME= util-linux-2.11z
CATEGORIES= sysutils
MASTER_SITES= http://www.kernel.org/pub/linux/utils/util-linux/ \
ftp://ftp.fr.kernel.org/pub/linux/utils/util-linux/ \
ftp://ftp.cn.kernel.org/pub/linux/utils/util-linux/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= reed@reedmedia.net
#HOMEPAGE
COMMENT= Miscellaneous essential utilities for Linux systems
ONLY_FOR_PLATFORM= Linux-*-* # Uses Linux kernel headers
USE_BUILDLINK3= YES
USE_PKGINSTALL= YES
USE_GNU_TOOLS+= make
GNU_CONFIGURE= YES
MAKE_ENV+= DESTDIR=${PREFIX}
MAKE_ENV+= ETCDIR=${PREFIX}/share/examples/util-linux
MAKE_ENV+= FDPRMFILE=${PKG_SYSCONFDIR}/fdprm
MAKE_ENV+= INFODIR=${PREFIX}/${INFO_DIR}
INFO_FILES= ipc.info
CONF_FILES= ${PREFIX}/share/examples/util-linux/fdprm ${PKG_SYSCONFDIR}/fdprm
PLIST_SRC= ${PKGDIR}/PLIST
# XXX let maintainer know of your architecture if this breaks
PLIST_SRC+= ${PKGDIR}/PLIST.${MACHINE_ARCH}
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/ncurses/buildlink3.mk"
# zlib used for cramfs
.include "../../devel/zlib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"