# $OpenBSD: Makefile,v 1.9 2007/09/15 21:14:01 merdely Exp $ # $FreeBSD: ports/sysutils/e2fsprogs/Makefile,v 1.8 2003/02/20 19:00:47 knu Exp $ COMMENT-main= utilities to manipulate ext2 filesystems COMMENT-uuid= unique id generator library DISTNAME= e2fsprogs-1.27 PKGNAME-main= ${DISTNAME}p5 PKGNAME-uuid= e2fs-uuid-1.27 CATEGORIES-uuid= devel CATEGORIES= sysutils SHARED_LIBS= e2p 2.3 \ ext2fs 2.4 \ ext2fs_com_err 2.0 \ ss 2.0 \ uuid 1.2 HOMEPAGE= http://e2fsprogs.sourceforge.net/ MAINTAINER= Laurent Corbes \ Sebastien Bombal MULTI_PACKAGES= -main -uuid # GPL PERMIT_PACKAGE_CDROM= Yes PERMIT_PACKAGE_FTP= Yes PERMIT_DISTFILES_CDROM= Yes PERMIT_DISTFILES_FTP= Yes WANTLIB= c MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=e2fsprogs/} SEPARATE_BUILD= concurrent CONFIGURE_STYLE= gnu CONFIGURE_ARGS+= --enable-elf-shlibs USE_GMAKE= Yes MAKE_FLAGS= LIBe2p_VERSION=${LIBe2p_VERSION} \ LIBext2fs_VERSION=${LIBext2fs_VERSION} \ LIBext2fs_com_err_VERSION=${LIBext2fs_com_err_VERSION} \ LIBss_VERSION=${LIBss_VERSION} \ LIBuuid_VERSION=${LIBuuid_VERSION} FAKE_FLAGS= ${MAKE_FLAGS} LIB_DEPENDS-main= lib/uuid/uuid::${BUILD_PKGPATH},-uuid post-install: ${INSTALL_DATA_DIR} ${PREFIX}/include/ext2fs ${INSTALL_DATA_DIR} ${PREFIX}/include/uuid ${INSTALL_DATA} ${WRKSRC}/lib/ext2fs/*.h ${PREFIX}/include/ext2fs ${INSTALL_DATA} ${WRKSRC}/lib/uuid/*.h ${PREFIX}/include/uuid @cd ${PREFIX}/sbin && mv fsck pfsck @cd ${PREFIX}/man/man8 && mv fsck.8 pfsck.8 @${INSTALL_DATA_DIR} ${PREFIX}/lib/uuid @mv ${PREFIX}/lib/libuuid.* ${PREFIX}/lib/uuid if [ -f ${PREFIX}/lib/uuid/libuuid.so.${LIBuuid_VERSION} ]; then \ ln -s uuid/libuuid.so.${LIBuuid_VERSION} ${PREFIX}/lib; \ fi .include