Lines 9-26
Link Here
|
9 |
# |
9 |
# |
10 |
|
10 |
|
11 |
PORTNAME= vodmr |
11 |
PORTNAME= vodmr |
12 |
PORTVERSION= 0.10 |
12 |
PORTVERSION= 0.12 |
13 |
CATEGORIES= mail perl5 |
13 |
CATEGORIES= mail perl5 |
14 |
MASTER_SITES= http://romana.now.ie/software/ \ |
14 |
MASTER_SITES= http://romana.now.ie/software/ \ |
15 |
http://www.lecter.phlegethon.org/vodmr/ |
15 |
http://www.lecter.phlegethon.org/vodmr/ |
16 |
|
16 |
|
17 |
MAINTAINER= james@now.ie |
17 |
MAINTAINER= james@now.ie |
|
|
18 |
COMMENT= An ODMR/ATRN server for vpopmail+qmail |
18 |
|
19 |
|
19 |
RUN_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/CDB_File.pm:${PORTSDIR}/databases/p5-CDB_File \ |
20 |
RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/CDB_File.pm:${PORTSDIR}/databases/p5-CDB_File \ |
20 |
${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64 \ |
21 |
${SITE_PERL}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64 \ |
21 |
${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Mail/Header.pm:${PORTSDIR}/mail/p5-Mail-Tools \ |
22 |
${SITE_PERL}/${PERL_ARCH}/vpopmail.pm:${PORTSDIR}/mail/p5-vpopmail \ |
22 |
${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Digest/HMAC_MD5.pm:${PORTSDIR}/security/p5-Digest-HMAC \ |
23 |
${SITE_PERL}/Mail/Header.pm:${PORTSDIR}/mail/p5-Mail-Tools \ |
23 |
${LOCALBASE}/vpopmail/lib/libvpopmail.a:${PORTSDIR}/mail/vpopmail-stable |
24 |
${SITE_PERL}/Digest/HMAC_MD5.pm:${PORTSDIR}/security/p5-Digest-HMAC |
24 |
|
25 |
|
25 |
.if !defined(WITHOUT_TCPSERVER) |
26 |
.if !defined(WITHOUT_TCPSERVER) |
26 |
RUN_DEPENDS+= tcpserver:${PORTSDIR}/sysutils/ucspi-tcp |
27 |
RUN_DEPENDS+= tcpserver:${PORTSDIR}/sysutils/ucspi-tcp |
Lines 39-53
Link Here
|
39 |
|
40 |
|
40 |
post-install: |
41 |
post-install: |
41 |
.if !defined(NOPORTDOCS) |
42 |
.if !defined(NOPORTDOCS) |
42 |
${MKDIR} ${PREFIX}/share/doc/vodmr |
43 |
${MKDIR} ${DOCSDIR} |
43 |
${INSTALL_MAN} ${WRKSRC}/FAQ ${PREFIX}/share/doc/vodmr |
44 |
.for doc in FAQ README INSTALL INTERNALS TODO sample-odmrd.rules |
44 |
${INSTALL_MAN} ${WRKSRC}/README ${PREFIX}/share/doc/vodmr |
45 |
${INSTALL_MAN} ${WRKSRC}/${doc} ${DOCSDIR} |
45 |
${INSTALL_MAN} ${WRKSRC}/INSTALL ${PREFIX}/share/doc/vodmr |
46 |
.endfor |
46 |
${INSTALL_MAN} ${WRKSRC}/INTERNALS ${PREFIX}/share/doc/vodmr |
|
|
47 |
${INSTALL_MAN} ${WRKSRC}/TODO ${PREFIX}/share/doc/vodmr |
48 |
${INSTALL_MAN} ${WRKSRC}/sample-odmrd.rules ${PREFIX}/share/doc/vodmr |
49 |
.endif |
47 |
.endif |
50 |
@${REINPLACE_CMD} -e 's|DOCSDIR|${PREFIX}/share/doc/vodmr|' \ |
48 |
@${REINPLACE_CMD} -e 's|DOCSDIR|${DOCSDIR}|' \ |
51 |
-e 's|SCRIPT|${PREFIX}/sbin/odmrd|' ${PKGMESSAGE} |
49 |
-e 's|SCRIPT|${PREFIX}/sbin/odmrd|' ${PKGMESSAGE} |
52 |
|
50 |
|
53 |
.include <bsd.port.mk> |
51 |
.include <bsd.port.mk> |