1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-07 02:06:57 +00:00
freebsd-ports/misc/getopt/Makefile
Sergei Kolobov ed23bb060b - Update to 1.1.4
- Chase MASTER_SITE URL change [1]
- Add SHA256 checksum

Prompted by:	fenner's portsurvey [1]
2005-11-21 13:15:48 +00:00

34 lines
728 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.4
CATEGORIES= misc
MASTER_SITES= http://software.frodo.looijaard.name/getopt/files/
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>