|
Lines 1-4
Link Here
|
| 1 |
# ex:ts=8 |
|
|
| 2 |
# Ports collection makefile for: fwtk |
1 |
# Ports collection makefile for: fwtk |
| 3 |
# Date created: 15th June 1996 |
2 |
# Date created: 15th June 1996 |
| 4 |
# Whom: gpalmer |
3 |
# Whom: gpalmer |
|
Lines 8-19
Link Here
|
| 8 |
|
7 |
|
| 9 |
PORTNAME= fwtk |
8 |
PORTNAME= fwtk |
| 10 |
PORTVERSION= 2.1 |
9 |
PORTVERSION= 2.1 |
|
|
10 |
PORTREVISION= 1 |
| 11 |
CATEGORIES= security |
11 |
CATEGORIES= security |
| 12 |
DISTNAME= ${PORTNAME}${PORTVERSION} |
12 |
DISTNAME= ${PORTNAME}${PORTVERSION} |
| 13 |
EXTRACT_SUFX= .tar.Z |
13 |
EXTRACT_SUFX= .tar.Z |
| 14 |
DISTFILES= fwtk2.1${EXTRACT_SUFX} fwtk-doc-only${EXTRACT_SUFX} |
14 |
DISTFILES= fwtk2.1${EXTRACT_SUFX} fwtk-doc-only${EXTRACT_SUFX} |
| 15 |
|
15 |
|
| 16 |
MAINTAINER= ports@FreeBSD.org |
16 |
.if defined(WITH_JUMBO_PATCH) |
|
|
17 |
PATCHFILES= trg-jumbo-20001114.diff |
| 18 |
PATCH_SITES= http://www.fwtk.org/fwtk/patches/ |
| 19 |
PATCH_DIST_STRIP= -p1. |
| 20 |
.endif |
| 21 |
|
| 22 |
MAINTAINER= a.go@wish.net |
| 17 |
|
23 |
|
| 18 |
RESTRICTED= "No form of redistribution is allowed" |
24 |
RESTRICTED= "No form of redistribution is allowed" |
| 19 |
|
25 |
|
|
Lines 43-48
Link Here
|
| 43 |
IGNORE='Please read http://www.tis.com/research/software/fwtk_readme.html for details of how to obtain the FTWK source. Put the files fwtk2.1${EXTRACT_SUFX} and fwtk-doc-only${EXTRACT_SUFX} into the directory ${DISTDIR} and run make again.' |
49 |
IGNORE='Please read http://www.tis.com/research/software/fwtk_readme.html for details of how to obtain the FTWK source. Put the files fwtk2.1${EXTRACT_SUFX} and fwtk-doc-only${EXTRACT_SUFX} into the directory ${DISTDIR} and run make again.' |
| 44 |
.endif |
50 |
.endif |
| 45 |
|
51 |
|
|
|
52 |
pre-patch: |
| 53 |
.if !defined(WITH_JUMBO_PATCH) |
| 54 |
@${ECHO} "*****************************************************************************" |
| 55 |
@${ECHO} "**** To enable the \"Jumbo\" patch kit, run 'make -DWITH_JUMBO_PATCH'" |
| 56 |
@${ECHO} "**** For information about patches, read http://www.fwtk.org/patches" |
| 57 |
@${ECHO} "*****************************************************************************" |
| 58 |
.endif |
| 59 |
|
| 46 |
pre-configure: |
60 |
pre-configure: |
| 47 |
@${MV} ${WRKSRC}/Makefile.config ${WRKSRC}/Makefile.config.in |
61 |
@${MV} ${WRKSRC}/Makefile.config ${WRKSRC}/Makefile.config.in |
| 48 |
@${SED} -e s:%%FWTKSRCDIR%%:${WRKSRC}: \ |
62 |
@${SED} -e s:%%FWTKSRCDIR%%:${WRKSRC}: \ |
|
Lines 56-65
Link Here
|
| 56 |
post-install: |
70 |
post-install: |
| 57 |
cd ${PREFIX}/libexec ; strip ${SBIN_BINS} ${LIBEXEC_BINS} |
71 |
cd ${PREFIX}/libexec ; strip ${SBIN_BINS} ${LIBEXEC_BINS} |
| 58 |
cd ${PREFIX}/libexec ; ${MV} ${SBIN_BINS} mqueue ../sbin |
72 |
cd ${PREFIX}/libexec ; ${MV} ${SBIN_BINS} mqueue ../sbin |
|
|
73 |
${INSTALL_DATA} ${WRKSRC}/config/netperm-table \ |
| 74 |
${PREFIX}/etc/netperm-table.sample |
| 59 |
if [ ! -f ${PREFIX}/etc/netperm-table ]; then \ |
75 |
if [ ! -f ${PREFIX}/etc/netperm-table ]; then \ |
| 60 |
${INSTALL_DATA} ${WRKSRC}/config/netperm-table \ |
76 |
${INSTALL_DATA} ${WRKSRC}/config/netperm-table \ |
| 61 |
${PREFIX}/etc/netperm-table;\ |
77 |
${PREFIX}/etc/netperm-table;\ |
| 62 |
fi |
78 |
fi |
|
|
79 |
.for file in ${LIBEXEC_BINS} |
| 80 |
@${RM} -f ${PREFIX}/libexec/${file}.old |
| 81 |
.endfor |
| 63 |
.for man in ${MAN3} |
82 |
.for man in ${MAN3} |
| 64 |
@${INSTALL_MAN} ${WRKSRC}/doc/man/${man} ${PREFIX}/man/man3 |
83 |
@${INSTALL_MAN} ${WRKSRC}/doc/man/${man} ${PREFIX}/man/man3 |
| 65 |
.endfor |
84 |
.endfor |