diff options
author | mat <mat@FreeBSD.org> | 2015-11-30 23:10:35 +0800 |
---|---|---|
committer | mat <mat@FreeBSD.org> | 2015-11-30 23:10:35 +0800 |
commit | cb3427c8748966dbde7a7c077d76f9abbb3b3d68 (patch) | |
tree | 482ba9ff85775e17fe4cc14be08e0d6385d0970c /dns | |
parent | 9bda411e683187f12db79dc32bda295241943f0f (diff) | |
download | freebsd-ports-gnome-cb3427c8748966dbde7a7c077d76f9abbb3b3d68.tar.gz freebsd-ports-gnome-cb3427c8748966dbde7a7c077d76f9abbb3b3d68.tar.zst freebsd-ports-gnome-cb3427c8748966dbde7a7c077d76f9abbb3b3d68.zip |
Fix runtime problem[1], use options helpers.
1: Cannot open %%PREFIX%%/etc/rbllookup.conf at /usr/local/bin/rbllookup line 61.
Sponsored by: Absolight
Diffstat (limited to 'dns')
-rw-r--r-- | dns/rbllookup-ng/Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/dns/rbllookup-ng/Makefile b/dns/rbllookup-ng/Makefile index c4b42355dad3..c2ad4a82c574 100644 --- a/dns/rbllookup-ng/Makefile +++ b/dns/rbllookup-ng/Makefile @@ -3,6 +3,7 @@ PORTNAME= rbllookup-ng PORTVERSION= 1.1 +PORTREVISION= 1 CATEGORIES= dns mail MASTER_SITES= http://www.mavetju.org/download/ @@ -23,6 +24,10 @@ CONFLICTS= rbllookup-0.* OPTIONS_DEFINE= DOCS +post-patch: + ${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' \ + ${WRKSRC}/rbllookup.pl + do-install: ${INSTALL_SCRIPT} ${WRKSRC}/rbllookup.pl \ ${STAGEDIR}${PREFIX}/bin/rbllookup @@ -30,6 +35,8 @@ do-install: ${STAGEDIR}${PREFIX}/bin/getmoensted ${INSTALL_DATA} ${WRKSRC}/rbllookup.conf \ ${STAGEDIR}${PREFIX}/etc/rbllookup.conf-sample + +do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} |