-
Notifications
You must be signed in to change notification settings - Fork 22
/
Makefile
53 lines (46 loc) · 1.59 KB
/
Makefile
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# New ports collection makefile for: newbie
# Date created: 6 May 1998
# Whom: itojun@itojun.org
# Modified by: doi@sfc.wide.ad.jp (1999/08/16)
#
# $KAME: Makefile,v 1.4 2000/06/25 10:58:40 sumikawa Exp $
#
PORTNAME= newbie
PORTVERSION= 0.22
CATEGORIES= net
MASTER_SITES= http://www.sfc.wide.ad.jp/~doi/softs/newbie/
MAINTAINER= itojun@itojun.org
RESTRICTED= "alpha test period, no redistribution allowed"
WRKSRC= ${WRKDIR}/${DISTNAME}/src
ALL_TARGET= default
GNU_CONFIGURE= yes
USE_AUTOCONF= yes
HTDOCS= aaaa-L.gif contrib.html copyrights.txt features-j.html \
features.html guide.html index-j.html index.html \
install-j.html install.html libnewres.html ncl.html \
nconsole.html newbie.html newkey.html template-j.html \
template.html todo.html whatisnew.html zone2db.html
SAMPLE= newbie.boot res_core.conf root.cache
do-install:
for i in newbie cnameupd zone2db nconsole ncl nsdump newkey; do \
${INSTALL_PROGRAM} ${WRKSRC}/$$i ${PREFIX}/sbin; \
done
for i in newbie.kill; do \
${INSTALL_SCRIPT} ${WRKSRC}/$$i ${PREFIX}/sbin; \
done
for i in libnewres.a; do \
${INSTALL_DATA} ${WRKSRC}/$$i ${PREFIX}/lib; \
done
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/newbie
${MKDIR} ${PREFIX}/share/doc/newbie/html
${MKDIR} ${PREFIX}/share/doc/newbie/sample
for i in ${HTDOCS}; do \
${INSTALL_DATA} ${WRKSRC}/../docs/html/$$i ${PREFIX}/share/doc/newbie/html; \
done
for i in ${SAMPLE}; do \
${INSTALL_DATA} ${WRKSRC}/../sample/$$i ${PREFIX}/share/doc/newbie/sample; \
done
@${SED} -e "s#/usr/local#${PREFIX}#" ${PKGDIR}/MESSAGE
.endif
.include <bsd.port.mk>