aboutsummaryrefslogtreecommitdiff
path: root/mail/vodmr
diff options
context:
space:
mode:
authorJean-Yves Lefort <jylefort@FreeBSD.org>2005-08-30 23:25:03 +0000
committerJean-Yves Lefort <jylefort@FreeBSD.org>2005-08-30 23:25:03 +0000
commit89ffc9bbf9bf49fa41c580a197d5041bd8fc862f (patch)
tree9af9ee4c1a312c1701acb9be75570652c1e342d5 /mail/vodmr
parent1d8a39aea4bfc2103960554480bb160bd500e18a (diff)
downloadports-89ffc9bbf9bf49fa41c580a197d5041bd8fc862f.tar.gz
ports-89ffc9bbf9bf49fa41c580a197d5041bd8fc862f.zip
Notes
Diffstat (limited to 'mail/vodmr')
-rw-r--r--mail/vodmr/Makefile25
-rw-r--r--mail/vodmr/distinfo4
-rw-r--r--mail/vodmr/files/pkg-message.in5
-rw-r--r--mail/vodmr/pkg-message5
4 files changed, 18 insertions, 21 deletions
diff --git a/mail/vodmr/Makefile b/mail/vodmr/Makefile
index 7bf93379e003..171fb1f7968a 100644
--- a/mail/vodmr/Makefile
+++ b/mail/vodmr/Makefile
@@ -9,7 +9,7 @@
#
PORTNAME= vodmr
-PORTVERSION= 0.12
+PORTVERSION= 0.13
CATEGORIES= mail perl5
MASTER_SITES= http://romana.now.ie/software/ \
http://www.lecter.phlegethon.org/vodmr/
@@ -27,30 +27,27 @@ RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/CDB_File.pm:${PORTSDIR}/databases/p5-CDB_
RUN_DEPENDS+= tcpserver:${PORTSDIR}/sysutils/ucspi-tcp
.endif
-NO_BUILD= YES
-USE_PERL5_RUN= YES
-USE_REINPLACE= YES
+NO_BUILD= yes
+USE_PERL5_RUN= yes
+USE_REINPLACE= yes
-PKGMESSAGE= ${WRKDIR}/pkg-message
+SUB_FILES= pkg-message
+SUB_LIST= SCRIPT="${PREFIX}/sbin/odmrd"
-post-extract:
- @${SED} -e 's|DOCSDIR|${PREFIX}/share/doc/vodmr|' \
- -e 's|SCRIPT|${PREFIX}/sbin/odmrd|' ${MASTERDIR}/pkg-message \
- > ${WRKDIR}/pkg-message
+PORTDOCS= FAQ README INSTALL INTERNALS TODO sample-odmrd.rules
do-configure:
- ${REINPLACE_CMD} -e 's|^\#!/usr/bin/perl|\#!${PERL}|' ${WRKSRC}/odmrd
+ @${REINPLACE_CMD} -e 's|^\#!/usr/bin/perl|\#!${PERL}|' ${WRKSRC}/odmrd
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/odmrd ${PREFIX}/sbin
${INSTALL_SCRIPT} ${FILESDIR}/odmrd.sh-sample ${PREFIX}/etc/rc.d
-.if !defined(NOPORTDOCS)
-PORTDOCS= FAQ README INSTALL INTERNALS TODO sample-odmrd.rules
-
post-install:
+.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
- ${INSTALL_MAN} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
.endif
+ @${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
diff --git a/mail/vodmr/distinfo b/mail/vodmr/distinfo
index b34552d87c8d..ae47dcffaec1 100644
--- a/mail/vodmr/distinfo
+++ b/mail/vodmr/distinfo
@@ -1,2 +1,2 @@
-MD5 (vodmr-0.12.tar.gz) = 8337fdc480e09034fc0ceb097ce9a08f
-SIZE (vodmr-0.12.tar.gz) = 22898
+MD5 (vodmr-0.13.tar.gz) = d51b823e974c1e0be44f6015d21694af
+SIZE (vodmr-0.13.tar.gz) = 23150
diff --git a/mail/vodmr/files/pkg-message.in b/mail/vodmr/files/pkg-message.in
new file mode 100644
index 000000000000..53636d9f5774
--- /dev/null
+++ b/mail/vodmr/files/pkg-message.in
@@ -0,0 +1,5 @@
+
+o Documentation has been installed in %%DOCSDIR%%.
+
+o Be sure to verify the configuration settings in %%SCRIPT%%
+ before starting the program.
diff --git a/mail/vodmr/pkg-message b/mail/vodmr/pkg-message
deleted file mode 100644
index 4c6057c20768..000000000000
--- a/mail/vodmr/pkg-message
+++ /dev/null
@@ -1,5 +0,0 @@
-
-o Documentation has been installed in DOCSDIR.
-
-o Be sure to verify the configuration settings in SCRIPT
- before starting the program.