summaryrefslogtreecommitdiffstats
path: root/misc/hello/Makefile
blob: 3df01682dbdfd6d935ecee4a6dcf3e786e577f11 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Created by: shipley@dis.org
# $FreeBSD$

PORTNAME=	hello
PORTVERSION=	2.9
CATEGORIES=	misc
MASTER_SITES=	${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR=	hello

MAINTAINER=	dhn@FreeBSD.org
COMMENT=	A utility for saying hello to the world and reading email

USES=		charsetfix perl5
USE_PERL5=	build
GNU_CONFIGURE=	YES

INFO=		hello

OPTIONS_DEFINE=	NLS 

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MNLS}
USES+=		gettext
CPPFLAGS+=	-I${LOCALBASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib

PLIST_SUB+=	NLS=""
.else
CONFIGURE_ARGS+=	--disable-nls
PLIST_SUB+=	NLS="@comment "
.endif

pre-install:
	${CHMOD} a+x ${WRKSRC}/build-aux/install-sh

.include <bsd.port.mk>
OpenPOWER on IntegriCloud