mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-17 08:01:36 +00:00
3f482f595d
- Use INFO macro - Add proper CFLAGS/LDFLAGS for USE_GETTEXT PR: ports/118311 Submitted by: Philip M. Gollucci <pgollucci at p6m7g8.com> Approved by: maintainer timeout (10 weeks)
41 lines
802 B
Makefile
41 lines
802 B
Makefile
# New ports collection makefile for: hello
|
|
# Date created: Fri Jul 23, 1999
|
|
# Whom: shipley@dis.org
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= hello
|
|
PORTVERSION= 2.3
|
|
CATEGORIES= misc
|
|
MASTER_SITES= ${MASTER_SITE_GNU}
|
|
MASTER_SITE_SUBDIR= hello
|
|
|
|
MAINTAINER= shipley@dis.org
|
|
COMMENT= A utility for saying hello to the world and reading email
|
|
|
|
USE_PERL5_BUILD= YES
|
|
GNU_CONFIGURE= YES
|
|
CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
|
|
|
|
MAN1= hello.1
|
|
INFO= hello
|
|
|
|
.if !defined(WITHOUT_NLS)
|
|
USE_GETTEXT= yes
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" \
|
|
LDFLAGS="${LDFLAGS}"
|
|
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>
|