aboutsummaryrefslogtreecommitdiffstats
path: root/mail/qmhandle/Makefile
diff options
context:
space:
mode:
authorpetef <petef@FreeBSD.org>2003-01-23 21:32:09 +0800
committerpetef <petef@FreeBSD.org>2003-01-23 21:32:09 +0800
commitf344a70abc515bd6554aec5e8314a5765cbc428b (patch)
treefae4ca2c7bdc890215c11d75db1a926c682b961f /mail/qmhandle/Makefile
parent394df135e7bddb13d6fb3b9c87aea3bc270b0551 (diff)
downloadfreebsd-ports-gnome-f344a70abc515bd6554aec5e8314a5765cbc428b.tar.gz
freebsd-ports-gnome-f344a70abc515bd6554aec5e8314a5765cbc428b.tar.zst
freebsd-ports-gnome-f344a70abc515bd6554aec5e8314a5765cbc428b.zip
- add a patch so we have sensible defaults for freebsd
- bump PORTREVISION PR: 47137 Submitted by: Marco Molteni <molter@tin.it>
Diffstat (limited to 'mail/qmhandle/Makefile')
-rw-r--r--mail/qmhandle/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/mail/qmhandle/Makefile b/mail/qmhandle/Makefile
index ff331832a24e..cc618a1fbbb4 100644
--- a/mail/qmhandle/Makefile
+++ b/mail/qmhandle/Makefile
@@ -7,6 +7,7 @@
PORTNAME= qmHandle
PORTVERSION= 1.0.0
+PORTREVISION= 1
CATEGORIES= mail
MASTER_SITES= http://www.italpro.net/mb/soft/
@@ -17,6 +18,7 @@ RUN_DEPENDS= ${QMAIL_DIR}/bin/qmail-qstat:${PORTSDIR}/mail/qmail
NO_WRKSUBDIR= yes
NO_BUILD= yes
USE_BZIP2= yes
+USE_PERL5= yes
.if exists(${LOCALBASE}/qmail/bin/qmail-qstat)
QMAIL_DIR?= ${LOCALBASE}/qmail
@@ -25,7 +27,8 @@ QMAIL_DIR?= /var/qmail
.endif
post-patch:
- @${PERL} -pi -e 's,^#!/usr/bin/perl,#!${PERL},' ${WRKSRC}/qmHandle
+ @${PERL} -pi -e 's,^#!/usr/bin/perl,#!${PERL},; \
+ s,%%LOCALBASE%%,${LOCALBASE},g' ${WRKSRC}/qmHandle
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/qmHandle ${PREFIX}/bin