1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-09 02:22:18 +00:00
freebsd-ports/news/c-nocem/Makefile
Jun Kuriyama 265500d7d8 - Since security/gnupg (2.x) installs symlink $PREFIX/bin/gpg,
depending on $PREFIX/bin/gpg for security/gnupg1 (1.4.x) is not
  correct.  To work around this, change dependency line from bin/gpg
  to bin/gpgv which exists in security/gnupg1 port only.

Spotted by:	ume
2006-12-22 02:51:16 +00:00

39 lines
1.0 KiB
Makefile

# New ports collection makefile for: c-nocem
# Date created: 19.May 1999
# Whom: dirk.meyer@dinoex.sub.org
#
# $FreeBSD$
PORTNAME= c-nocem
PORTVERSION= 3.7
PORTREVISION= 3
CATEGORIES= news security
MASTER_SITES= http://sites.inka.de/~bigred/sw/ \
ftp://ftp.dinoex.de/pub/FreeBSD/distfiles/
MAINTAINER= dinoex@FreeBSD.org
COMMENT= NoCeM for C News and INN
BUILD_DEPENDS= ${CNEWSWRK}/conf/substitutions:${PORTSDIR}/${CNEWS_PORT}:configure
BUILD_DEPENDS+= ${LOCALBASE}/lib/libcnews.a:${PORTSDIR}/${CNEWS_PORT} \
gpgv:${PORTSDIR}/security/gnupg1
WRKSRC= ${WRKDIR}/c-nocem
CNEWS_PORT?= news/cnews
#CNEWSWRK?= ${WRKDIRPREFIX}${PORTSDIR}/${CNEWS_PORT}/work
# ${.CURDIR}/../.. can be diffrent from ${PORTSDIR}
CNEWSWRK?= ${WRKDIRPREFIX}${.CURDIR}/../../${CNEWS_PORT}/work
NEWSBIN?= ${PREFIX}/libexec/cnews
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-cnews=${CNEWSWRK}
PLIST_SUB+= NEWSBIN=${NEWSBIN:S=${PREFIX}/==}
.include <bsd.port.pre.mk>
.if ${OSVERSION} > 500000
USE_PERL5= yes
.endif
.include <bsd.port.post.mk>