aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorjylefort <jylefort@FreeBSD.org>2005-08-31 07:25:03 +0800
committerjylefort <jylefort@FreeBSD.org>2005-08-31 07:25:03 +0800
commit3c9052db8e6d02468b9866e716487a9bfbb6c53b (patch)
tree0594960f05a19b178e477b33682ccb17c08f48f9 /mail
parent3642add12c5bd7f5e8db76f9e05a821cd6c01227 (diff)
downloadfreebsd-ports-gnome-3c9052db8e6d02468b9866e716487a9bfbb6c53b.tar.gz
freebsd-ports-gnome-3c9052db8e6d02468b9866e716487a9bfbb6c53b.tar.zst
freebsd-ports-gnome-3c9052db8e6d02468b9866e716487a9bfbb6c53b.zip
- Update to 0.13 [1]
- Also display pkg-message when installing from the port - Install documentation with ${INSTALL_DATA}, not ${INSTALL_MAN} - Patch silently - Use ${SUB_FILES} - s/YES/yes/ [1]: PR: ports/85487 Submitted by: maintainer
Diffstat (limited to 'mail')
-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.