1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-15 03:14:23 +00:00
freebsd-ports/misc/getopt/Makefile
Sergey A. Osokin 445d53b2d1 A getopt(1) replacement that supports GNU-style long options
Submitted by:	Sergei Kolobov <sergei@kolobov.com>
PR:		53174
Approved by:	fjoe (implicit)
2003-06-13 23:56:42 +00:00

35 lines
734 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
CATEGORIES= misc
MASTER_SITES= http://huizen.dds.nl/~frodol/
MAINTAINER= sergei@kolobov.com
COMMENT= A getopt(1) replacement that supports GNU-style long options
LIB_DEPENDS= intl:${PORTSDIR}/devel/gettext
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>