freebsd-ports/misc/getopt/Makefile
Joe Marcus Clarke 186b8ba82f Add USE_GETTEXT and bump PORTREVISION.
Submitted by:	trevor
Tested by:	bento
2004-02-04 04:36:30 +00:00

35 lines
723 B
Makefile

# New ports collection makefile for: getopt
# Date created: 2003-06-05
# Whom: Sergei Kolobov <sergei@kolobov.com>
#
# $FreeBSD$
#
PORTNAME= getopt
PORTVERSION= 1.1.3
PORTREVISION= 1
CATEGORIES= misc
MASTER_SITES= http://huizen.dds.nl/~frodol/
MAINTAINER= sergei@FreeBSD.org
COMMENT= A getopt(1) replacement that supports GNU-style long options
USE_GETTEXT= yes
USE_GMAKE= yes
USE_GETOPT_LONG= yes
CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib -lintl
MAKE_ENV= LIBCGETOPT=0 CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
MAN1= getopt.1
DOCS= Changelog README
.if !defined(NOPORTDOCS)
post-install:
@${MKDIR} ${DOCSDIR}
@cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
.endif
.include <bsd.port.mk>