pkgsrc/sysutils/news/Makefile
hans bae9a5fb3a Fix build on SunOS.
- uses fts functions
- use pkgsrc-provided LDFLAGS and LIBS
2012-03-01 16:30:31 +00:00

24 lines
565 B
Makefile

# $NetBSD: Makefile,v 1.11 2012/03/01 16:30:31 hans Exp $
#
DISTNAME= news-0.2
CATEGORIES= sysutils
MASTER_SITES= http://www.netmeister.org/apps/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.netmeister.org/
COMMENT= System V news(1)
PKG_DESTDIR_SUPPORT= user-destdir
USE_FEATURES= utimes fts_open
MAKE_ENV+= LIBS=${LIBS:Q}
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/news ${DESTDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/news.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
.include "../../mk/bsd.pkg.mk"