-
Notifications
You must be signed in to change notification settings - Fork 22
/
Makefile
59 lines (51 loc) · 1.75 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
54
55
56
57
58
59
# New ports collection makefile for: newbie
# Version required: 0.22
# Date created: 6 May 1998
# Whom: itojun@itojun.org
# Modified by: doi@sfc.wide.ad.jp (1999/08/16)
#
# $Id: Makefile,v 1.2 1999/08/19 19:12:38 sumikawa Exp $
#
DISTNAME= newbie-0.22
PKGNAME= newbie-0.22
CATEGORIES= net
MASTER_SITES= http://www.sfc.wide.ad.jp/~doi/softs/newbie/
MAINTAINER= itojun@itojun.org
PATCH_DIST_ARGS= -d ${WRKSRC}/.. -E ${PATCH_DIST_STRIP}
.if !defined(PATCH_DEBUG)
PATCH_DIST_ARGS+= --forward --quiet
.endif
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>