diff options
author | petef <petef@FreeBSD.org> | 2003-01-23 21:32:09 +0800 |
---|---|---|
committer | petef <petef@FreeBSD.org> | 2003-01-23 21:32:09 +0800 |
commit | f344a70abc515bd6554aec5e8314a5765cbc428b (patch) | |
tree | fae4ca2c7bdc890215c11d75db1a926c682b961f /mail/qmhandle/Makefile | |
parent | 394df135e7bddb13d6fb3b9c87aea3bc270b0551 (diff) | |
download | freebsd-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/Makefile | 5 |
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 |