1999-12-30 12:31:24 +00:00
|
|
|
# New ports collection makefile for: popt
|
|
|
|
# Date Created: 29 Dec 1999
|
|
|
|
# Whom: Yuan-Chen Cheng <ycheng@sinica.edu.tw>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2000-04-11 21:30:15 +00:00
|
|
|
PORTNAME= popt
|
2004-06-24 14:07:07 +00:00
|
|
|
PORTVERSION= 1.7
|
1999-12-30 12:31:24 +00:00
|
|
|
CATEGORIES= devel
|
2004-08-18 22:59:35 +00:00
|
|
|
MASTER_SITES= ftp://ftp.rpm.org/pub/rpm/dist/%SUBDIR%/ \
|
|
|
|
http://rpmfind.net/linux/rpm.org/rpm/dist/%SUBDIR%/ \
|
|
|
|
ftp://ftp.mirror.ac.uk/sites/ftp.rpm.org/pub/rpm/dist/%SUBDIR%/ \
|
|
|
|
http://gd.tuwien.ac.at/utils/rpm.org/dist/%SUBDIR%/ \
|
|
|
|
ftp://sunsite.cnlab-switch.ch/mirror/rpm/dist/%SUBDIR%/ \
|
|
|
|
ftp://ftp.sunfreeware.com/pub/freeware/SOURCES/
|
|
|
|
MASTER_SITE_SUBDIR= rpm-4.1.x
|
1999-12-30 12:31:24 +00:00
|
|
|
|
2004-06-24 16:28:35 +00:00
|
|
|
MAINTAINER= eik@FreeBSD.org
|
2003-02-23 19:58:35 +00:00
|
|
|
COMMENT= A getopt(3) like library with a number of enhancements, from Redhat
|
1999-12-30 12:31:24 +00:00
|
|
|
|
2004-08-18 22:59:35 +00:00
|
|
|
BUILD_DEPENDS= xgettext:${PORTSDIR}/devel/gettext
|
|
|
|
|
|
|
|
USE_LIBTOOL_VER= 15
|
2002-07-11 13:23:29 +00:00
|
|
|
USE_REINPLACE= yes
|
2000-06-16 21:52:40 +00:00
|
|
|
INSTALLS_SHLIB= yes
|
2004-08-18 22:59:35 +00:00
|
|
|
|
|
|
|
MAN3= popt.3
|
|
|
|
|
2004-06-24 14:07:07 +00:00
|
|
|
CONFIGURE_ARGS= --with-libiconv-prefix=${LOCALBASE} \
|
|
|
|
--program-prefix=""
|
1999-12-30 12:31:24 +00:00
|
|
|
|
2004-08-18 22:59:35 +00:00
|
|
|
.if defined(WITHOUT_NLS)
|
|
|
|
CONFIGURE_ARGS+=--disable-nls
|
|
|
|
PLIST_SUB+= NLS="@comment "
|
|
|
|
.else
|
|
|
|
USE_GETTEXT= yes
|
|
|
|
PLIST_SUB+= NLS=""
|
|
|
|
.endif
|
1999-12-30 12:31:24 +00:00
|
|
|
|
2004-08-18 22:59:35 +00:00
|
|
|
CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
|
|
|
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
2002-07-11 13:23:29 +00:00
|
|
|
|
1999-12-30 12:31:24 +00:00
|
|
|
.include <bsd.port.mk>
|