2006-07-11 05:20:23 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.14 2006/07/11 09:20:23 steven Exp $
|
2001-05-05 20:12:42 -04:00
|
|
|
|
2003-07-15 12:50:22 -04:00
|
|
|
COMMENT= "getopt(3)-like library with a number of enhancements"
|
2000-09-10 04:28:55 -04:00
|
|
|
|
2003-07-15 12:50:22 -04:00
|
|
|
DISTNAME= popt-1.7
|
2006-01-06 13:52:12 -05:00
|
|
|
PKGNAME= ${DISTNAME}p0
|
|
|
|
SHARED_LIBS= popt 0.3
|
2003-07-15 12:50:22 -04:00
|
|
|
CATEGORIES= devel
|
2006-07-11 05:20:23 -04:00
|
|
|
MASTER_SITES= ftp://ftp.mirrorservice.org/sites/ftp.rpm.org/pub/rpm/dist/rpm-4.1.x/ \
|
|
|
|
ftp://ftp.sunfreeware.com/pub/freeware/SOURCES/ \
|
|
|
|
ftp://ftp.rpm.org/pub/rpm/dist/rpm-4.1.x/
|
2000-09-10 04:28:55 -04:00
|
|
|
|
2003-07-15 12:50:22 -04:00
|
|
|
# BSD-like
|
2000-09-10 04:28:55 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2003-07-15 12:50:22 -04:00
|
|
|
MAKE_FLAGS= libpopt_la_LDFLAGS="-version-info 0:3"
|
2000-09-10 04:28:55 -04:00
|
|
|
|
2003-07-15 12:50:22 -04:00
|
|
|
USE_GMAKE= Yes
|
2006-01-06 13:52:12 -05:00
|
|
|
USE_LIBTOOL= Yes
|
2003-07-15 12:50:22 -04:00
|
|
|
SEPARATE_BUILD= concurrent
|
|
|
|
CONFIGURE_STYLE= gnu
|
|
|
|
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
|
|
|
|
CONFIGURE_ARGS+= --with-included-gettext
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
2001-10-31 20:27:55 -05:00
|
|
|
|
2000-09-10 04:28:55 -04:00
|
|
|
.include <bsd.port.mk>
|