2001-10-31 20:27:55 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.9 2001/11/01 01:27:55 brad Exp $
|
2001-05-05 20:12:42 -04:00
|
|
|
|
|
|
|
COMMENT= "getopt(3)-like library with a number of enhancements"
|
2000-09-10 04:28:55 -04:00
|
|
|
|
2000-12-03 20:49:22 -05:00
|
|
|
DISTNAME= popt-1.5.1
|
2000-09-10 04:28:55 -04:00
|
|
|
CATEGORIES= devel
|
2001-10-31 20:27:55 -05:00
|
|
|
NEED_VERSION= 1.475
|
2000-09-10 04:28:55 -04:00
|
|
|
MASTER_SITES= ftp://ftp.rpm.org/pub/rpm/dist/rpm-3.0.x/
|
|
|
|
|
2001-10-24 21:58:54 -04:00
|
|
|
MODULES= gettext
|
2000-09-10 04:28:55 -04:00
|
|
|
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2000-12-07 09:14:21 -05:00
|
|
|
MAKE_FLAGS= libpopt_la_LDFLAGS="-version-info 0:1:0"
|
|
|
|
|
2001-10-31 20:27:55 -05:00
|
|
|
WRKDIST= ${WRKDIR}/popt-1.5
|
|
|
|
|
2000-09-10 04:28:55 -04:00
|
|
|
SEPARATE_BUILD= concurrent
|
|
|
|
CONFIGURE_STYLE= gnu
|
|
|
|
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
|
|
|
|
CONFIGURE_ARGS+= --enable-static
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
|
2001-10-31 20:27:55 -05:00
|
|
|
PATCH_LIST= ${PORTSDIR}/infrastructure/patches/patch-lt1.3.5-ltconfig \
|
|
|
|
${PORTSDIR}/infrastructure/patches/patch-lt1.3.5-ltmain_sh \
|
|
|
|
patch-*
|
|
|
|
|
2000-09-10 04:28:55 -04:00
|
|
|
.include <bsd.port.mk>
|