ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/mports/trunk/misc/getopt/Makefile
Revision: 24138
Committed: Mon Sep 3 17:28:12 2018 UTC (5 years, 6 months ago) by laffer1
File size: 842 byte(s)
Log Message:
fix build

File Contents

# Content
1 # $MidnightBSD$
2
3 PORTNAME= getopt
4 PORTVERSION= 1.1.6
5 PORTREVISION= 1
6 CATEGORIES= misc
7 MASTER_SITES= http://frodo.looijaard.name/system/files/software/getopt/ \
8 FREEBSD_LOCAL/sunpoet
9
10 MAINTAINER= ports@MidnightBSD.org
11 COMMENT= getopt(1) replacement that supports GNU-style long options
12
13 LICENSE= gpl2 gpl3
14 LICENSE_COMB= dual
15
16 FAKE_OPTS+= trueprefix
17
18 OPTIONS_DEFINE= DOCS NLS
19 OPTIONS_SUB= yes
20
21 FAKE_MAKEENV+= LIGCGETOPT=0
22 FAKE_MAKEARGS+= CC=${CC}
23 MAKE_ARGS= CC=${CC} LIBCGETOPT=0
24 USES= gmake
25
26 PORTDOCS= Changelog README
27
28 NLS_CFLAGS= -I${LOCALBASE}/include
29 NLS_MAKE_ARGS= WITHOUT_GETTEXT=0
30 NLS_MAKE_ARGS_OFF= WITHOUT_GETTEXT=1
31 NLS_LDFLAGS= -L${LOCALBASE}/lib -lintl
32 NLS_USES= gettext
33
34 post-install:
35 ${MKDIR} ${DOCSDIR}/
36 cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}/
37 ${STRIP_CMD} ${PREFIX}/bin/getopt
38
39 .include <bsd.port.mk>

Properties

Name Value
svn:keywords MidnightBSD=%H