openbsd-ports/devel/popt/Makefile

31 lines
720 B
Makefile

# $OpenBSD: Makefile,v 1.6 2001/05/06 00:13:29 lebel Exp $
COMMENT= "getopt(3)-like library with a number of enhancements"
DISTNAME= popt-1.5.1
CATEGORIES= devel
NEED_VERSION= 1.402
MASTER_SITES= ftp://ftp.rpm.org/pub/rpm/dist/rpm-3.0.x/
LIB_DEPENDS= intl.1::devel/gettext
MAINTAINER= ports@openbsd.org
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WRKDIST= ${WRKDIR}/popt-1.5
MAKE_FLAGS= libpopt_la_LDFLAGS="-version-info 0:1:0"
SEPARATE_BUILD= concurrent
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
CONFIGURE_ARGS+= --enable-static
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
.include <bsd.port.mk>