# Created by: Ben Kaduk # $FreeBSD: head/devel/e2fsprogs-libss/Makefile 474369 2018-07-10 13:48:31Z mandree $ PORTREVISION= 0 CATEGORIES= devel PKGNAMESUFFIX= -libss MAINTAINER= kaduk-fbsd@mit.edu COMMENT= Command-line interface parsing library from e2fsprogs LICENSE= MIT LICENSE_FILE= ${INSTALL_WRKSRC}/ss.h OPTIONS_EXCLUDE= DOCS EXAMPLES IPV6 NLS CONFIGURE_ARGS= --enable-elf-shlibs MASTERDIR= ${.CURDIR}/../../sysutils/e2fsprogs GNU_CONFIGURE= yes USE_LDCONFIG= yes BUILD_WRKSRC= ${WRKSRC}/lib/ss INSTALL_WRKSRC= ${WRKSRC}/lib/ss FILESDIR= ${.CURDIR}/files PKGDIR= ${.CURDIR} pre-build: (cd ${WRKSRC}/lib/ss && compile_et ss_err.et && \ ${REINPLACE_CMD} -f ${FILESDIR}/fix-ss_err.h.sed ss_err.h) .include "${MASTERDIR}/Makefile"