1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00
freebsd-ports/devel/popt/Makefile
Dmitry Marakasov 6f6fbe4bdf - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
2011-09-23 22:26:39 +00:00

38 lines
782 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.16
CATEGORIES= devel
MASTER_SITES= http://rpm5.org/files/popt/
MAINTAINER= jpaetzel@FreeBSD.org
COMMENT= A getopt(3) like library with a number of enhancements, from Redhat
CONFIGURE_ARGS= --with-libiconv-prefix=${LOCALBASE} \
--program-prefix=""
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
GNU_CONFIGURE= yes
USE_AUTOTOOLS= libtool
USE_GNOME= gnomehack
USE_ICONV= yes
USE_LDCONFIG= yes
MAN3= popt.3
.if defined(WITHOUT_NLS)
CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+= NLS="@comment "
.else
CONFIGURE_ARGS+=--enable-nls
PLIST_SUB+= NLS=""
USE_GETTEXT= yes
.endif
.include <bsd.port.mk>