ports/189971: [maintainer update] dns/dnsmax-perl - use staging and shebangfix
Dan Smith
dan at algenta.com
Mon May 19 20:30:00 UTC 2014
>Number: 189971
>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: Mon May 19 20:30:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator: Dan Smith
>Release: FreeBSD 8.4-RELEASE-p9 i386
>Organization:
Algenta
>Environment:
System: FreeBSD 8.4-RELEASE-p9 FreeBSD 8.4-RELEASE-p9 #0: Tue Apr 29 20:31:17 UTC 2014 root at 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
Sending a second time with an updated Makefile diff
>How-To-Repeat:
>Fix:
--- Makefile.diff begins here ---
--- Makefile.orig 2014-05-19 15:05:56.000000000 -0500
+++ Makefile 2014-05-19 15:07:58.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,17 @@
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>
--- Makefile.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list