3f651573ad
Begin autotools sanitization sequence by requiring ports to explicitly specify which version of {libtool,autoconf,automake} they need, erasing the concept of a "system default". For ports-in-waiting: USE_LIBTOOL=YES -> USE_LIBTOOL_VER=13 USE_AUTOCONF=YES -> USE_AUTOCONF_VER=213 USE_AUTOMAKE=YES -> USE_AUTOMAKE_VER=14 Ports attempting to use the old style system after June 1st 2004 will be sorely disappointed.
36 lines
890 B
Makefile
36 lines
890 B
Makefile
# New ports collection makefile for: popt
|
|
# Date Created: 29 Dec 1999
|
|
# Whom: Yuan-Chen Cheng <ycheng@sinica.edu.tw>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= popt
|
|
PORTVERSION= 1.6.4
|
|
PORTREVISION= 2
|
|
CATEGORIES= devel
|
|
MASTER_SITES= ftp://ftp.rpm.org/pub/rpm/dist/rpm-4.0.x/ \
|
|
ftp://ftp.mirror.ac.uk/sites/ftp.rpm.org/pub/rpm/dist/rpm-4.0.x/
|
|
|
|
MAINTAINER= lioux@FreeBSD.org
|
|
COMMENT= A getopt(3) like library with a number of enhancements, from Redhat
|
|
|
|
USE_GETTEXT= yes
|
|
USE_LIBTOOL_VER= 13
|
|
USE_REINPLACE= yes
|
|
USE_SIZE= yes
|
|
INSTALLS_SHLIB= yes
|
|
CONFIGURE_ARGS= --with-libiconv-prefix=${LOCALBASE}
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
LIBS="-L${LOCALBASE}/lib"
|
|
|
|
MAN3= popt.3
|
|
|
|
post-patch:
|
|
# avoid installing both charset.alias and locale.alias which conflict
|
|
# with libiconv
|
|
@${REINPLACE_CMD} -E -e 's|(SUBDIRS[[:space:]]+=.*)intl|\1|' \
|
|
${WRKSRC}/Makefile.in
|
|
|
|
.include <bsd.port.mk>
|