openbsd-ports/news/trn/Makefile

37 lines
883 B
Makefile
Raw Normal View History

2001-02-12 15:33:21 -05:00
# $OpenBSD: Makefile,v 1.2 2001/02/12 20:33:21 naddy Exp $
2000-12-23 07:11:37 -05:00
CATEGORIES=news
MAINTAINER= Marc Espie <espie@openbsd.org>
NEED_VERSION=1.346
MASTER_SITES=${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=trn
V=74
DISTNAME=trn4-test$V
PKGNAME=trn-4.0.$V
PERMIT_PACKAGE_FTP=Yes
PERMIT_DISTFILES_FTP=Yes
PERMIT_DISTFILES_CDROM=Yes
# Technically, we could put trn on CD-Rom, provided we include the distfile
# as well...
PERMIT_PACKAGE_CDROM=No
CONFIGURE_STYLE=simple
CONFIGURE_SCRIPT=Configure
2001-02-12 15:33:21 -05:00
CONFIGURE_ARGS=-dse -Doptimize="${CFLAGS}" -Dlocal=${PREFIX}
2000-12-23 07:11:37 -05:00
SEPARATE_BUILD=concurrent
pre-configure:
cp ${FILESDIR}/openbsd-hints ${WRKSRC}/hints/openbsd.sh
FAKE_FLAGS= \
rnbin=${WRKINST}${PREFIX}/bin \
rnlib=${WRKINST}${PREFIX}/lib/trn \
inewsbin=${WRKINST}${PREFIX}/bin \
mansrc=${WRKINST}${PREFIX}/man/man1 \
installfilexp=${WRKINST}${PREFIX}/lib/trn/filexp
.include <bsd.port.mk>