blob: 60500aadd3e5a01507e6989da15c8f3c9ef32257 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# $NetBSD: Makefile,v 1.6 2000/01/10 00:57:16 wiz Exp $
#
DISTNAME= nocol-4.2.2beta4
PKGNAME= nocol-4.2.2b4
CATEGORIES= net
MASTER_SITES= ftp://ftp.navya.com/pub/vikas/
MAINTAINER= packages@netbsd.org
HOMEPAGE= http://www.netplex-tech.com/software/nocol/
USE_PERL= yes
INSTALL_TARGET= install root
post-patch:
@(hostname=`/bin/hostname`; \
dir=""; \
for d in /usr/bin /usr/sbin `${ECHO} $$PATH | ${TR} ':' ' '`; do \
if [ -x $$d/host ]; then \
dir=$$d; \
break; \
fi \
done; \
if [ "X$$dir" = "X" ]; then \
${ECHO} "host program not found"; \
exit 1; \
fi; \
fqdn=`$$dir/host $$hostname | ${AWK} '{ print $$1; exit }'`; \
${SED} -e 's|@prefix@|${PREFIX}|g' -e "s|@FQDN@|$$fqdn|g" \
${FILESDIR}/answers > ${WRKSRC}/answers)
do-configure:
(cd ${WRKSRC}; ./Configure < answers)
.include "../../mk/bsd.pkg.mk"
|