aboutsummaryrefslogtreecommitdiffstats
path: root/net/netatalk/Makefile
blob: b4e51a07dc1ba05245b7bd4d1d4067cb18ed12b1 (plain) (blame)
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
generated by cgit  (git 2.34.1) at 2024-12-18 09:58:30 +0800
 


single2bin macbinary \
        binheader nadheader
MAN1=       achfile.1 aecho.1 afile.1 afppasswd.1 getzones.1 \
        megatron.1 nbp.1 pap.1 psorder.1 hqx2bin.1 macbinary.1 \
        nbplkup.1 nbprgstr.1 nbpunrgstr.1 papstatus.1 \
        single2bin.1 unbin.1 unhex.1 unsingle.1 acleandir.1 \
        netatalk-config.1 timeout.1
MAN3=       atalk_aton.3 nbp_name.3
MAN4=       atalk.4
MAN5=       AppleVolumes.default.5 afpd.conf.5 atalkd.conf.5 \
        netatalk.conf.5 papd.conf.5
MAN8=       afpd.8 atalkd.8 pap.8 papd.8 papstatus.8 psf.8

post-extract:
    @${SED} -e "s=%%PREFIX%%=${PREFIX}=g" ${FILESDIR}/netatalk.sh \
        > ${WRKSRC}/netatalk.sh

post-configure:
    @${TOUCH} ${WRKSRC}/config/Makefile.in

post-install:
    @${RM} -f ${PREFIX}/bin/nu ${PREFIX}/bin/lp2pap.sh \
        ${PREFIX}/etc/netatalk.pamd.dist ${PREFIX}/bin/test_parse_mtab \
        ${PREFIX}/bin/afpd-mtab.pl ${PREFIX}/etc/netatalk.conf.dist
    ${INSTALL_SCRIPT} ${WRKSRC}/netatalk.sh ${PREFIX}/etc/rc.d/netatalk.sh
    ${INSTALL_SCRIPT} ${WRKSRC}/contrib/macusers/macusers \
        ${PREFIX}/bin/macusers
.for i in ${FILES}
    [ -f ${PREFIX}/etc/${i} ] || \
        ${INSTALL_DATA} -c ${PREFIX}/etc/${i}.dist ${PREFIX}/etc/${i}
.endfor
.for i in ${LINKS}
    ( cd ${PREFIX}/bin && ${LN} -sf megatron ${i} )
.endfor
    @${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>