openbsd-ports/sysutils/e2fsprogs/Makefile

54 lines
1.3 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.26 2012/05/20 21:42:50 sthen Exp $
# $FreeBSD: ports/sysutils/e2fsprogs/Makefile,v 1.8 2003/02/20 19:00:47 knu Exp $
2012-05-20 17:39:22 -04:00
COMMENT= utilities to manipulate ext2 filesystems
2012-05-20 17:39:22 -04:00
DISTNAME= e2fsprogs-1.41.4
REVISION= 8
2012-05-20 17:39:22 -04:00
CATEGORIES= sysutils devel
SHARED_LIBS= blkid 0.0 \
e2p 3.0 \
ext2fs 3.0 \
ext2fs_com_err 3.0 \
ss 3.0 \
e2fs-uuid 0.0
2012-05-20 17:39:22 -04:00
HOMEPAGE= http://e2fsprogs.sourceforge.net/
# GPLv2/LGPLv2/BSD/MIT
2012-05-20 17:39:22 -04:00
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
2012-05-20 17:39:22 -04:00
WANTLIB += c
2012-05-20 17:39:22 -04:00
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=e2fsprogs/}
2012-05-20 17:39:22 -04:00
MODULES= devel/gettext
2012-05-20 17:39:22 -04:00
SEPARATE_BUILD= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= --enable-elf-shlibs --disable-tls
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -D_EXT2_USE_C_VERSIONS_"
2012-05-20 17:39:22 -04:00
USE_GMAKE= Yes
USE_GROFF= Yes
2012-05-20 17:39:22 -04:00
MAKE_FLAGS= LIBblkid_VERSION=${LIBblkid_VERSION} \
LIBe2p_VERSION=${LIBe2p_VERSION} \
LIBext2fs_VERSION=${LIBext2fs_VERSION} \
LIBext2fs_com_err_VERSION=${LIBext2fs_com_err_VERSION} \
LIBss_VERSION=${LIBss_VERSION} \
LIBe2fs-uuid_VERSION=${LIBe2fs-uuid_VERSION}
2006-02-04 13:37:36 -05:00
2012-05-20 17:39:22 -04:00
FAKE_FLAGS= root_sysconfdir=${PREFIX}/share/examples/e2fsprogs
INSTALL_TARGET= install install-libs
post-install:
cd ${PREFIX}/sbin && mv fsck fsck_ext2fs
cd ${PREFIX}/man/man8 && mv fsck.8 fsck_ext2fs.8
cd ${PREFIX}/man/man3 && mv uuid.3 e2fs-uuid.3
.include <bsd.port.mk>