|
Lines 2-36
Link Here
|
| 2 |
# $FreeBSD: head/misc/hello/Makefile 389300 2015-06-12 20:58:13Z erwin $ |
2 |
# $FreeBSD: head/misc/hello/Makefile 389300 2015-06-12 20:58:13Z erwin $ |
| 3 |
|
3 |
|
| 4 |
PORTNAME= hello |
4 |
PORTNAME= hello |
| 5 |
PORTVERSION= 2.9 |
5 |
PORTVERSION= 2.10 |
| 6 |
CATEGORIES= misc |
6 |
CATEGORIES= misc |
| 7 |
MASTER_SITES= GNU |
7 |
MASTER_SITES= GNU |
| 8 |
|
8 |
|
| 9 |
MAINTAINER= ports@FreeBSD.org |
9 |
MAINTAINER= ports@FreeBSD.org |
| 10 |
COMMENT= Utility for saying hello to the world and reading email |
10 |
COMMENT= Utility for saying hello to the world and reading email |
| 11 |
|
11 |
|
| 12 |
USES= charsetfix perl5 |
12 |
LICENSE= GPLv3 # (or later) |
|
|
13 |
|
| 14 |
USES= charsetfix gmake perl5 |
| 13 |
USE_PERL5= build |
15 |
USE_PERL5= build |
| 14 |
GNU_CONFIGURE= YES |
16 |
GNU_CONFIGURE= yes |
| 15 |
|
17 |
|
| 16 |
INFO= hello |
18 |
INFO= hello |
| 17 |
|
19 |
|
| 18 |
OPTIONS_DEFINE= NLS |
20 |
OPTIONS_DEFINE= NLS |
| 19 |
|
21 |
OPTIONS_SUB= yes |
| 20 |
.include <bsd.port.options.mk> |
|
|
| 21 |
|
| 22 |
.if ${PORT_OPTIONS:MNLS} |
| 23 |
USES+= gettext |
| 24 |
CPPFLAGS+= -I${LOCALBASE}/include |
| 25 |
LDFLAGS+= -L${LOCALBASE}/lib |
| 26 |
|
| 27 |
PLIST_SUB+= NLS="" |
| 28 |
.else |
| 29 |
CONFIGURE_ARGS+= --disable-nls |
| 30 |
PLIST_SUB+= NLS="@comment " |
| 31 |
.endif |
| 32 |
|
22 |
|
| 33 |
pre-install: |
23 |
NLS_USES= gettext |
| 34 |
${CHMOD} a+x ${WRKSRC}/build-aux/install-sh |
24 |
NLS_CONFIGURE_ENABLE= nls |
|
|
25 |
NLS_CPPFLAGS= -I${LOCALBASE}/include |
| 26 |
NLS_LDFLAGS= -L${LOCALBASE}/lib |
| 35 |
|
27 |
|
| 36 |
.include <bsd.port.mk> |
28 |
.include <bsd.port.mk> |