find dbz.h and libcnews.a under ${PREFIX}/{include,lib}

This commit is contained in:
Adam David 1995-04-18 14:37:45 +00:00
parent 9adc029bfb
commit b7bb2b8db1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=1458

View file

@ -3,7 +3,7 @@
# Date created: 29 September 1994
# Whom: adam
#
# $Id: Makefile,v 1.3 1995/04/01 12:49:11 jkh Exp $
# $Id: Makefile,v 1.4 1995/04/11 23:29:45 asami Exp $
#
DISTNAME= nntp-t5
@ -11,6 +11,10 @@ PKGNAME= nntp-1.5.11.4
CATEGORIES+= news
MASTER_SITES= ftp://nic.sura.net/pub/news/software/nntp/
.if !exists(${PREFIX}/include/dbz.h) || !exists(${PREFIX}/lib/libcnews.a)
DEPENDS+= ${PORTSDIR}/news/cnews
.endif
pre-patch:
@cp ${WRKSRC}/conf.h.dist ${WRKSRC}/conf.h