Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 May 2014 20:01:30 GMT
From:      Dan Smith <dan@algenta.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/189871: [maintainer update] dns/dnsmax-perl - use staging and shebangfix
Message-ID:  <201405162001.s4GK1UiN012873@cgiserv.freebsd.org>
Resent-Message-ID: <201405162010.s4GKA0qw006064@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         189871
>Category:       ports
>Synopsis:       [maintainer update] dns/dnsmax-perl - use staging and shebangfix
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri May 16 20:10:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Dan Smith
>Release:        8.4-RELEASE-p9
>Organization:
Algenta
>Environment:
8.4-RELEASE-p9 FreeBSD 8.4-RELEASE-p9 #0: Tue Apr 29 20:31:17 UTC 2014     root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
[maintainer update]

Update the dnsmax perl client to use the new staging and fix issue with shebang

use STAGEDIR
Remove code to show pkg-message
USES=shebangfix

>How-To-Repeat:

>Fix:
Apply patch to /ports/dns/dnsmax-perl Makefile

Patch attached with submission follows:

--- Makefile.orig       2014-05-16 14:43:51.000000000 -0500
+++ Makefile    2014-05-16 14:50:31.000000000 -0500
@@ -3,6 +3,7 @@

 PORTNAME=      dnsmax-perl
 PORTVERSION=   1.0.1
+PORTREVISION=  1
 CATEGORIES=    dns
 MASTER_SITES=  SF/dynamicdns/${PORTNAME}/${PORTVERSION}
 DISTNAME=      ${PORTNAME:tl}-${PORTVERSION:S/.p/-pre/:S/.b/-beta/}
@@ -15,20 +16,18 @@
                p5-libwww>=0:${PORTSDIR}/www/p5-libwww

 NO_BUILD=      yes
-USES=          perl5 zip
+USES=          perl5 zip shebangfix
+SHEBANG_FILES= dnsmax.pl

 PLIST_FILES=   bin/dnsmax-perl
 PORTDOCS=      LICENSE INSTALL README

-NO_STAGE=      yes
 do-install:
-       ${INSTALL_SCRIPT} ${WRKDIR}/${DISTNAME}/dnsmax.pl ${PREFIX}/bin/dnsmax-perl
+       ${INSTALL_SCRIPT} ${WRKDIR}/${DISTNAME}/dnsmax.pl ${STAGEDIR}${PREFIX}/bin/dnsmax-perl
 .if !defined(NOPORTDOCS)
-       ${MKDIR} ${DOCSDIR}
-       cd ${WRKDIR}/${DISTNAME} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
+       ${MKDIR} ${STAGEDIR}${DOCSDIR}
+       cd ${WRKDIR}/${DISTNAME} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
 .endif

-post-install:
-       @${CAT} ${PKGMESSAGE}

 .include <bsd.port.mk>


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405162001.s4GK1UiN012873>