ports/163258: [patch] security/bdc: unbreak make readme
Jason Helfman
jhelfman at experts-exchange.com
Tue Dec 13 17:50:14 UTC 2011
>Number: 163258
>Category: ports
>Synopsis: [patch] security/bdc: unbreak make readme
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Tue Dec 13 17:50:13 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Jason Helfman
>Release: FreeBSD 8.2-RELEASE amd64
>Organization:
Experts Exchange, LLC.
>Environment:
System: FreeBSD dormouse.experts-exchange.com 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Thu Feb 17 02:41:51 UTC 2011 root at mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
reassignment of echo_msg breaks make readme
similar to fix in ports/163159
>How-To-Repeat:
>Fix:
Index: Makefile
===================================================================
RCS file: /home/jhelfman/ncvs/ports/security/bdc/Makefile,v
retrieving revision 1.12
diff -u -r1.12 Makefile
--- Makefile 6 Jan 2009 17:59:18 -0000 1.12
+++ Makefile 13 Dec 2011 17:47:18 -0000
@@ -30,8 +30,7 @@
.include <bsd.port.pre.mk>
.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}) && !defined(PACKAGE_BUILDING)
-ECHO_MSG= /usr/bin/printf
-IGNORE= :\n\
+DISTFILE_INSTRUCTIONS=\n\
You have to fetch ${DISTNAME}${EXTRACT_SUFX} manually after\n\
reading and agreeing to the license at:\n\
http://download.bitdefender.com/SMB/Workstation_Security_and_Management/BitDefender_Antivirus_Scanner_for_Unices/Unix/Old/EN/freebsd/Ver_${BDREL}/\n\
@@ -41,6 +40,12 @@
${DISTDIR} and restart the build.\n
.endif
+pre-fetch:
+.if defined(DISTFILE_INSTRUCTIONS)
+ @${PRINTF} "${DISTFILE_INSTRUCTIONS}"
+ @exit 1
+.endif
+
do-install:
@cd ${WRKDIR} && ${TAR} -cf - bdc | ${TAR} -xf - -C ${PREFIX}/
@${CHOWN} -R ${BINOWN}:${BINGRP} ${PREFIX}/bdc
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list