1PORTNAME= popt 2PORTVERSION= 1.19 3CATEGORIES= devel 4MASTER_SITES= https://ftp.osuosl.org/pub/rpm/popt/releases/popt-1.x/ \ 5 http://ftp.rpm.org/popt/releases/popt-1.x/ 6 7MAINTAINER= ports@MidnigghtBSD.org 8COMMENT= Getopt(3) like library with a number of enhancements, from Redhat 9WWW= https://github.com/rpm-software-management/popt 10 11LICENSE= mit 12LICENSE_FILE= ${WRKSRC}/COPYING 13 14OPTIONS_DEFINE= NLS 15 16CONFIGURE_ARGS= --with-libiconv-prefix=${LOCALBASE} \ 17 --program-prefix="" 18CPPFLAGS+= -I${LOCALBASE}/include 19LDFLAGS+= -L${LOCALBASE}/lib 20INSTALL_TARGET= install-strip 21GNU_CONFIGURE= yes 22USES= cpe libtool pathfix iconv 23USE_LDCONFIG= yes 24CPE_VENDOR= popt_project 25 26NLS_CONFIGURE_ENABLE= nls 27NLS_USES= gettext-runtime localbase 28OPTIONS_SUB= yes 29 30.include <bsd.port.mk> 31