Lines 7-12
Link Here
|
7 |
|
7 |
|
8 |
PORTNAME= freenet6 |
8 |
PORTNAME= freenet6 |
9 |
PORTVERSION= 0.9.5 |
9 |
PORTVERSION= 0.9.5 |
|
|
10 |
PORTREVISION= 1 |
10 |
CATEGORIES= net ipv6 |
11 |
CATEGORIES= net ipv6 |
11 |
MASTER_SITES= # fetch manually |
12 |
MASTER_SITES= # fetch manually |
12 |
EXTRACT_SUFX= .tgz |
13 |
EXTRACT_SUFX= .tgz |
Lines 50-74
Link Here
|
50 |
@${INSTALL_SCRIPT} ${WRKSRC}/template/freebsd4.sh ${PREFIX}/bin/tspc-freebsd4.sh |
51 |
@${INSTALL_SCRIPT} ${WRKSRC}/template/freebsd4.sh ${PREFIX}/bin/tspc-freebsd4.sh |
51 |
@${INSTALL_MAN} ${WRKSRC}/man/man8/tspc.8 ${PREFIX}/man/man8 |
52 |
@${INSTALL_MAN} ${WRKSRC}/man/man8/tspc.8 ${PREFIX}/man/man8 |
52 |
@${INSTALL_MAN} ${WRKSRC}/man/man5/tspc.conf.5 ${PREFIX}/man/man5 |
53 |
@${INSTALL_MAN} ${WRKSRC}/man/man5/tspc.conf.5 ${PREFIX}/man/man5 |
53 |
@${INSTALL_SCRIPT} ${FILESDIR}/freenet6.sh ${PREFIX}/etc/rc.d/ |
54 |
@${INSTALL_SCRIPT} ${WRKSRC}/freenet6.sh ${PREFIX}/etc/rc.d/ |
54 |
|
55 |
|
55 |
post-install: |
56 |
post-install: |
56 |
@${CAT} pkg-message |
57 |
@${CAT} ${WRKSRC}/pkg-message |
57 |
|
58 |
|
58 |
post-patch: |
59 |
post-patch: |
59 |
@${MV} ${WRKSRC}/src/tspc.c ${WRKSRC}/src/tspc.c.orig |
60 |
@${MV} ${WRKSRC}/src/tspc.c ${WRKSRC}/src/tspc.c.orig |
60 |
@${SED} -e "s|tspc.conf|${PREFIX}/etc/tspc.conf|" < ${WRKSRC}/src/tspc.c.orig > ${WRKSRC}/src/tspc.c |
61 |
@${SED} -e "s|tspc.conf|${PREFIX}/etc/tspc.conf|" < ${WRKSRC}/src/tspc.c.orig > ${WRKSRC}/src/tspc.c |
61 |
|
62 |
|
62 |
@${SED} -e "s|@@PREFIX@@|${PREFIX}|g" < ${FILESDIR}/freenet6.sh.in > ${FILESDIR}/freenet6.sh |
63 |
@${SED} -e "s|@@PREFIX@@|${PREFIX}|g" < ${FILESDIR}/freenet6.sh.in > ${WRKSRC}/freenet6.sh |
63 |
@${SED} -e "s|@@PREFIX@@|${PREFIX}|g" < ${FILESDIR}/pkg-message.in > pkg-message |
64 |
@${SED} -e "s|@@PREFIX@@|${PREFIX}|g" < ${FILESDIR}/pkg-message.in > ${WRKSRC}/pkg-message |
64 |
|
65 |
|
65 |
@${MV} ${WRKSRC}/man/man8/tspc.8 ${WRKSRC}/man/man8/tspc.8.orig |
66 |
@${MV} ${WRKSRC}/man/man8/tspc.8 ${WRKSRC}/man/man8/tspc.8.orig |
66 |
@${SED} -e "s|@@PREFIX@@|${PREFIX}|g" < ${WRKSRC}/man/man8/tspc.8.orig > ${WRKSRC}/man/man8/tspc.8 |
67 |
@${SED} -e "s|@@PREFIX@@|${PREFIX}|g" < ${WRKSRC}/man/man8/tspc.8.orig > ${WRKSRC}/man/man8/tspc.8 |
67 |
|
68 |
|
68 |
@${MV} ${WRKSRC}/man/man5/tspc.conf.5 ${WRKSRC}/man/man5/tspc.conf.5.orig |
69 |
@${MV} ${WRKSRC}/man/man5/tspc.conf.5 ${WRKSRC}/man/man5/tspc.conf.5.orig |
69 |
@${SED} -e "s|@@PREFIX@@|${PREFIX}|g" < ${WRKSRC}/man/man5/tspc.conf.5.orig > ${WRKSRC}/man/man5/tspc.conf.5 |
70 |
@${SED} -e "s|@@PREFIX@@|${PREFIX}|g" < ${WRKSRC}/man/man5/tspc.conf.5.orig > ${WRKSRC}/man/man5/tspc.conf.5 |
70 |
|
|
|
71 |
post-clean: |
72 |
@${RM} -f ${FILESDIR}/freenet6.sh |
73 |
|
71 |
|
74 |
.include <bsd.port.post.mk> |
72 |
.include <bsd.port.post.mk> |