Lines 6-12
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= aolserver |
8 |
PORTNAME= aolserver |
9 |
PORTVERSION= 3.4 |
9 |
PORTVERSION= 3.4.2 |
10 |
CATEGORIES= www |
10 |
CATEGORIES= www |
11 |
MASTER_SITES= ftp://ftp.aolserver.com/aolserver/ |
11 |
MASTER_SITES= ftp://ftp.aolserver.com/aolserver/ |
12 |
DISTNAME= ${PORTNAME}-${PORTVERSION}-src |
12 |
DISTNAME= ${PORTNAME}-${PORTVERSION}-src |
Lines 20-28
Link Here
|
20 |
INSTALL_TARGET= install INST=${PREFIX}/${PORTNAME} |
20 |
INSTALL_TARGET= install INST=${PREFIX}/${PORTNAME} |
21 |
|
21 |
|
22 |
post-extract: |
22 |
post-extract: |
23 |
${MV} ${WRKSRC}/include/Makefile.global ${WRKSRC}/include/Makefile.global.orig |
|
|
24 |
${SED} s/tcl83/tcl8.3/ ${WRKSRC}/include/Makefile.global.orig > ${WRKSRC}/include/Makefile.global |
25 |
${RM} ${WRKSRC}/include/Makefile.global.orig |
26 |
find ${WRKSRC} -name CVS | xargs ${RM} -rf |
23 |
find ${WRKSRC} -name CVS | xargs ${RM} -rf |
27 |
|
24 |
|
28 |
post-install: |
25 |
post-install: |
Lines 31-45
Link Here
|
31 |
.for header in nsd/nsd.h |
28 |
.for header in nsd/nsd.h |
32 |
${INSTALL_DATA} ${WRKSRC}/${header} ${PREFIX}/${PORTNAME}/include |
29 |
${INSTALL_DATA} ${WRKSRC}/${header} ${PREFIX}/${PORTNAME}/include |
33 |
.endfor |
30 |
.endfor |
|
|
31 |
${RM} ${PREFIX}/${PORTNAME}/include/*.orig |
34 |
|
32 |
|
35 |
# Other documentation |
33 |
# Other documentation |
36 |
${MKDIR} ${PREFIX}/share/doc/aolserver |
34 |
${MKDIR} ${PREFIX}/share/doc/${PORTNAME} |
37 |
${TAR} -C ${WRKSRC} -c -f - ChangeLog README | ${TAR} -C ${PREFIX}/share/doc/aolserver -x -f - |
35 |
${TAR} -C ${WRKSRC} -c -f - ChangeLog README | ${TAR} -C ${PREFIX}/share/doc/${PORTNAME} -x -f - |
38 |
${TAR} -C ${WRKSRC}/doc -c -f - . | ${TAR} -C ${PREFIX}/share/doc/aolserver -x -f - |
36 |
${TAR} -C ${WRKSRC}/doc -c -f - . | ${TAR} -C ${PREFIX}/share/doc/${PORTNAME} -x -f - |
39 |
|
37 |
|
40 |
# Permissions |
38 |
# Permissions |
41 |
${CHOWN} nobody:nogroup ${PREFIX}/aolserver/servers/server1/modules/nslog |
39 |
${CHOWN} nobody:nogroup ${PREFIX}/${PORTNAME}/servers/server1/modules/nslog |
42 |
${CHOWN} nobody:nogroup ${PREFIX}/aolserver/log |
40 |
${CHOWN} nobody:nogroup ${PREFIX}/${PORTNAME}/log |
43 |
|
41 |
|
44 |
# Startup file |
42 |
# Startup file |
45 |
@if [ ! -f ${PREFIX}/etc/rc.d/aolserver.sh ]; then \ |
43 |
@if [ ! -f ${PREFIX}/etc/rc.d/aolserver.sh ]; then \ |