1996-12-01 07:08:47 -05:00
|
|
|
# New ports collection makefile for: cap
|
|
|
|
# Version required: 6.0PL198
|
|
|
|
# Date created: 09 Nov 1996
|
1999-08-31 02:53:31 -04:00
|
|
|
# Whom: Masafumi NAKANE <max@FreeBSD.org>
|
1996-12-01 07:08:47 -05:00
|
|
|
#
|
1999-08-30 10:24:37 -04:00
|
|
|
# $FreeBSD$
|
1996-12-01 07:08:47 -05:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= cap60.pl100
|
|
|
|
PKGNAME= cap-6.0.198
|
|
|
|
CATEGORIES= net
|
|
|
|
MASTER_SITES= ftp://ftp-ns.rutgers.edu/pub/cap/ \
|
|
|
|
ftp://ftp-ns.rutgers.edu/pub/cap/cap.patches/ \
|
|
|
|
ftp://munnari.OZ.AU/mac/ \
|
|
|
|
ftp://munnari.OZ.AU/mac/cap.patches/ \
|
|
|
|
ftp://ftp.kuis.kyoto-u.ac.jp/net/cap/ \
|
|
|
|
ftp://ftp.kuis.kyoto-u.ac.jp/net/cap/cap60.patches/
|
|
|
|
DISTFILES= ${DISTNAME}.tar.Z patches.101-126.tar.Z patches.127-143.tar.Z \
|
|
|
|
patches.144-154.tar.Z patches.155-162.tar.Z \
|
|
|
|
patches.163-182.tar.Z patches.183-192.tar.Z
|
|
|
|
|
|
|
|
PATCH_SITES= ftp://ftp-ns.rutgers.edu/pub/cap/cap.patches/ \
|
|
|
|
ftp://munnari.OZ.AU/mac/cap.patches/
|
|
|
|
PATCHFILES= cap60.patch193 cap60.patch194 cap60.patch195 cap60.patch196 \
|
|
|
|
cap60.patch197 cap60.patch198
|
|
|
|
|
1999-09-08 14:17:05 -04:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
|
|
|
1996-12-01 07:08:47 -05:00
|
|
|
NO_CDROM= "Don't sell for profit"
|
|
|
|
WRKSRC= ${WRKDIR}/cap60
|
|
|
|
DIST_SUBDIR= cap60
|
|
|
|
ALL_TARGET= libsmade dummy-libinstall programs
|
|
|
|
INSTALL_TARGET= include libinstall install
|
|
|
|
|
|
|
|
MAN1= AUFS.1 ash.1 atlook.1 atprint.1 cvt2apple.1 getzones.1 \
|
|
|
|
instappl.1 snitch.1
|
|
|
|
MAN3= CAP.3
|
|
|
|
MAN5= atalk.local.5 etalk.local.5
|
|
|
|
MAN8= AUFS.8 CAP.8 UAB.8 aarpd.8 atis.8 lwsrv.8 papif.8
|
|
|
|
.if !defined(NOMANCOMPRESS)
|
|
|
|
GZ= .gz
|
|
|
|
.endif
|
|
|
|
ETC_SAMPLES= etc/start-cap-servers extras/lib.cap.macusers \
|
|
|
|
etc/list-cap-servers etc/kill-cap-servers \
|
|
|
|
applications/papif/cap.printers
|
|
|
|
LIB_SAMPLES= extras/afpfile applications/lwsrv/DBfile \
|
|
|
|
applications/lwsrv/LWFonts applications/lwsrv/LWIIfgFonts \
|
|
|
|
applications/lwsrv/LWPlusFonts applications/lwsrv/query.ps \
|
|
|
|
applications/aufs/afpvols
|
|
|
|
DOCDIR= ${PREFIX}/share/doc/cap
|
|
|
|
DOCS1= abmisc.doc asp.notes atp.notes cap.auth.doc cap.notes \
|
|
|
|
glossary install.ms iptalk.cookbook nbp.ext pap.notes \
|
|
|
|
print.cookbook sched.notes uab.desc.ms uar.cookbook
|
|
|
|
DOCS2= CAP.faq CAP60.README NOTICE README
|
|
|
|
READMES= applications/papif applications/lwsrv applications/aufs \
|
|
|
|
doc applications support/uab support/ethertalk
|
|
|
|
|
|
|
|
pre-patch:
|
|
|
|
@(cd ${WRKSRC}; \
|
|
|
|
for f in ../cap60.patch* ; do ${PATCH} -s -p < $$f ; done)
|
|
|
|
|
|
|
|
pre-install:
|
|
|
|
@${RM} -f ${WRKSRC}/libinstall
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
@${MKDIR} ${PREFIX}/etc/cap
|
|
|
|
.for f in ${ETC_SAMPLES}
|
1999-08-22 19:33:47 -04:00
|
|
|
@${INSTALL_DATA} ${WRKSRC}/$f ${PREFIX}/etc/cap/`${BASENAME} $f`.sample
|
1996-12-01 07:08:47 -05:00
|
|
|
.endfor
|
|
|
|
@${MKDIR} ${PREFIX}/lib/cap
|
|
|
|
.for f in ${LIB_SAMPLES}
|
1999-08-22 19:33:47 -04:00
|
|
|
@${INSTALL_DATA} ${WRKSRC}/$f ${PREFIX}/lib/cap/`${BASENAME} $f`.sample
|
1996-12-01 07:08:47 -05:00
|
|
|
.endfor
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${ECHO_MSG} "===> Installing relevant documentation into ${DOCDIR}."
|
|
|
|
@${MKDIR} ${DOCDIR}
|
|
|
|
.for f in ${DOCS1}
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/doc/$f ${DOCDIR}
|
|
|
|
.endfor
|
|
|
|
.for f in ${DOCS2}
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/$f ${DOCDIR}
|
|
|
|
.endfor
|
|
|
|
.for f in ${READMES}
|
1999-08-22 19:33:47 -04:00
|
|
|
@${INSTALL_DATA} ${WRKSRC}/$f/README ${DOCDIR}/`${BASENAME} $f`.README
|
1996-12-01 07:08:47 -05:00
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
@${ECHO_MSG} "===> Installing manual pages."
|
|
|
|
.for sect in 1 3 5 8
|
|
|
|
.for man in ${MAN${sect}}
|
|
|
|
@${INSTALL_MAN} ${WRKSRC}/man/${man} ${PREFIX}/man/man${sect}
|
|
|
|
.endfor
|
|
|
|
.endfor
|
1999-08-27 21:58:05 -04:00
|
|
|
@${LN} -fs ${PREFIX}/man/man1/cvt2apple.1${GZ} ${PREFIX}/man/man1/cvt2cap.1${GZ}
|
1996-12-01 07:08:47 -05:00
|
|
|
.for f in atpinger atlooklws
|
1999-08-27 21:58:05 -04:00
|
|
|
@${LN} -fs ${PREFIX}/man/man1/atlook.1${GZ} ${PREFIX}/man/man1/${f}.1${GZ}
|
1996-12-01 07:08:47 -05:00
|
|
|
.endfor
|
|
|
|
.for f in tlw lwpr isrv iwpr
|
1999-08-27 21:58:05 -04:00
|
|
|
@${LN} -fs ${PREFIX}/man/man1/atprint.1${GZ} ${PREFIX}/man/man1/${f}.1${GZ}
|
1996-12-01 07:08:47 -05:00
|
|
|
.endfor
|
|
|
|
.for f in libcap libafpc libafp
|
1999-08-27 21:58:05 -04:00
|
|
|
@${LN} -fs ${PREFIX}/man/man3/CAP.3${GZ} ${PREFIX}/man/man3/${f}.3${GZ}
|
1996-12-01 07:08:47 -05:00
|
|
|
.endfor
|
1999-08-27 21:58:05 -04:00
|
|
|
@${LN} -fs ${PREFIX}/man/man8/papif.8${GZ} ${PREFIX}/man/man8/papof.8${GZ}
|
1997-07-13 14:49:31 -04:00
|
|
|
@${SH} ${PKGDIR}/INSTALL ${PKGNAME} POST-INSTALL
|
1996-12-01 07:08:47 -05:00
|
|
|
|
|
|
|
.include "bsd.port.mk"
|