mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-13 03:03:15 +00:00
5005b67362
OPTIONS_DEFINE. This policy has been implemented only recently that's why we have many ports violating this policy. This patch adds the default options specified in the Porter's Handbook to OPTIONS_DEFINE where they are being used. Ports maintained by gnome@FreeBSD.org, kde@FreeBSD.org and x11@FreeBSD.org have been excluded. Approved by: portmgr (bapt)
38 lines
657 B
Makefile
38 lines
657 B
Makefile
# 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>
|