ports/148048: lang/nbc : update to 1.2.1.r1
Rene Ladan
rene at FreeBSD.org
Mon Jun 21 19:50:02 UTC 2010
>Number: 148048
>Category: ports
>Synopsis: lang/nbc : update to 1.2.1.r1
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Mon Jun 21 19:50:01 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Rene Ladan
>Release: 8.1-RC1/i386
>Organization:
>Environment:
FreeBSD clang 8.1-RC1 FreeBSD 8.1-RC1 #0: Mon Jun 14 14:44:53 UTC 2010 root at almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
>Description:
Update lang/nbc to version 1.2.1.r1, the latest version 1.2.1.r2 has an incomplete distfile (uDebugLogging.pas), or our lang/fpc is getting too old.
Further changes:
- use "SF" for MASTER_SITES
- don't install nbc.1 , this manual page does not exist in this release
- use MAKEFILE variable to specify that the work/NXT/Makefile is called work/NXT/nbcunix.mak in this release
Patch tested with ports-mgmt/portlint and in a tinderbox:
http://rene-ladan.nl/tb/logs/8-FreeBSD/nbc-1.2.1.r1.log
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/lang/nbc/Makefile,v
retrieving revision 1.8
diff -u -r1.8 Makefile
--- Makefile 26 Apr 2010 18:59:34 -0000 1.8
+++ Makefile 21 Jun 2010 19:33:28 -0000
@@ -6,10 +6,11 @@
#
PORTNAME= nbc
-PORTVERSION= 1.0.1.b36
+PORTVERSION= 1.2.1.r1
CATEGORIES= lang
-MASTER_SITES= http://bricxcc.sourceforge.net/nbc/beta/
-DISTNAME= ${PORTNAME}-${PORTVERSION}.unix-src
+MASTER_SITES= SF
+MASTER_SITE_SUBDIR= bricxcc/NBC_NXC/NBC%20release%20${PORTVERSION:S/.r/%20r/}
+DISTNAME= ${PORTNAME}-${PORTVERSION}.src
EXTRACT_SUFX= .tgz
MAINTAINER= rambiusparkisanius at gmail.com
@@ -45,13 +47,10 @@
Readme
.endif
-.if !defined(NO_INSTALL_MANPAGES)
-MAN1= nbc.1
-.endif
-
+MAKEFILE= nbcunix.mak
post-patch:
- @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' ${WRKSRC}/Makefile
- @${REINPLACE_CMD} -e 's|/usr/bin|${LOCALBASE}/bin|' ${WRKSRC}/Makefile
+ @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' ${WRKSRC}/${MAKEFILE}
+ @${REINPLACE_CMD} -e 's|/usr/bin|${LOCALBASE}/bin|' ${WRKSRC}/${MAKEFILE}
do-install:
${MKDIR} ${PREFIX}/include/nbc
@@ -62,9 +61,6 @@
${INSTALL_DATA} ${WRKDIR}/doc/Changelog ${DOCSDIR}
${INSTALL_DATA} ${WRKDIR}/doc/Readme ${DOCSDIR}
.endif
-.if !defined(NO_INSTALL_MANPAGES)
- ${INSTALL_MAN} ${WRKDIR}/doc/nbc.1 ${MANPREFIX}/man/man1
-.endif
post-install:
@${CAT} ${PKGMESSAGE}
Index: distinfo
===================================================================
RCS file: /home/pcvs/ports/lang/nbc/distinfo,v
retrieving revision 1.3
diff -u -r1.3 distinfo
--- distinfo 26 Apr 2010 18:59:34 -0000 1.3
+++ distinfo 21 Jun 2010 19:33:28 -0000
@@ -1,3 +1,3 @@
-MD5 (nbc-1.0.1.b36.unix-src.tgz) = 16c63352b6d05aec4ab619b88649b978
-SHA256 (nbc-1.0.1.b36.unix-src.tgz) = ea3f47de9be7fdb317a2363250e2f5a63d1a58ca67e06f13766ef808324e4e34
-SIZE (nbc-1.0.1.b36.unix-src.tgz) = 361112
+MD5 (nbc-1.2.1.r1.src.tgz) = 2c0052e802e469fc4dfd8de54ec97d37
+SHA256 (nbc-1.2.1.r1.src.tgz) = a986bced4479d647fb87e798fa04c2acca721c167a8075dae28e5503b0015dae
+SIZE (nbc-1.2.1.r1.src.tgz) = 627396
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list