svn commit: r310483 - in head/devel/tpasm: . files

Marcelo Araujo araujo at FreeBSD.org
Wed Jan 16 08:17:54 UTC 2013


Author: araujo
Date: Wed Jan 16 08:17:53 2013
New Revision: 310483
URL: http://svnweb.freebsd.org/changeset/ports/310483

Log:
  - Update to 1.8.
  - Trim header.
  
  PR:		ports/174183
  Submitted by:	KATO Tsuguru <tkato432 at yahoo.com>

Deleted:
  head/devel/tpasm/files/patch-Makefile
Modified:
  head/devel/tpasm/Makefile   (contents, props changed)
  head/devel/tpasm/distinfo   (contents, props changed)

Modified: head/devel/tpasm/Makefile
==============================================================================
--- head/devel/tpasm/Makefile	Wed Jan 16 08:16:20 2013	(r310482)
+++ head/devel/tpasm/Makefile	Wed Jan 16 08:17:53 2013	(r310483)
@@ -1,12 +1,8 @@
-# New ports collection makefile for:	tpasm
-# Date created:				13 Feb 2003
-# Whom:					Alexey Dokuchaev <danfe at regency.nsu.ru>
-#
+# Created by: Alexey Dokuchaev <danfe at regency.nsu.ru>
 # $FreeBSD$
-#
 
 PORTNAME=	tpasm
-PORTVERSION=	1.6
+PORTVERSION=	1.8
 CATEGORIES=	devel
 MASTER_SITES=	ftp://ftp.ct0.com/pub/
 DISTNAME=	${PORTNAME}${PORTVERSION}
@@ -18,21 +14,32 @@ COMMENT=	Cross-assembler for variety of 
 LICENSE=	GPLv2
 
 USE_GMAKE=	yes
+MAKE_JOBS_SAFE=	yes
+
 PORTDOCS=	*
 PORTEXAMPLES=	*
 
+post-patch:
+	@${REINPLACE_CMD} -e \
+		's|-O2|| ; \
+		 s|CFLAGS=|CFLAGS+=| ; \
+		 s|$$(CC) -O|$$(CXX) $$(LDFLAGS)| ; \
+		 s|-lstdc++||' ${WRKSRC}/Makefile
+
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
+	(cd ${WRKSRC} && ${INSTALL_PROGRAM} ${PORTNAME} ${PREFIX}/bin)
 	@${MKDIR} ${PREFIX}/libdata/${PORTNAME}
-	${INSTALL_DATA} ${WRKSRC}/include/* ${PREFIX}/libdata/${PORTNAME}
+	(cd ${WRKSRC}/include \
+		&& ${INSTALL_DATA} * ${PREFIX}/libdata/${PORTNAME})
 .if !defined(NOPORTDOCS)
 	@${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/CONVERSION_C166.TXT ${WRKSRC}/MANUAL.TXT \
-		${WRKSRC}/README*.TXT ${DOCSDIR}
+.for i in CONVERSION_C166.TXT MANUAL.TXT README*.TXT
+	(cd ${WRKSRC} && ${INSTALL_DATA} ${i} ${DOCSDIR})
+.endfor
 .endif
 .if !defined(NOPORTEXAMPLES)
 	@${MKDIR} ${EXAMPLESDIR}
-	${INSTALL_DATA} ${WRKSRC}/samples/* ${EXAMPLESDIR}
+	(cd ${WRKSRC}/samples && ${INSTALL_DATA} * ${EXAMPLESDIR})
 .endif
 
 .include <bsd.port.mk>

Modified: head/devel/tpasm/distinfo
==============================================================================
--- head/devel/tpasm/distinfo	Wed Jan 16 08:16:20 2013	(r310482)
+++ head/devel/tpasm/distinfo	Wed Jan 16 08:17:53 2013	(r310483)
@@ -1,2 +1,2 @@
-SHA256 (tpasm1.6.tgz) = eab97ef41e8b63c2d05d384cefe9fc89fad4890f904a9f6acf14a10728fa7e63
-SIZE (tpasm1.6.tgz) = 188901
+SHA256 (tpasm1.8.tgz) = 2664b76a5eccd5ee8d32a712cadb074f3d94f95cfaff729980e5626fd95c1921
+SIZE (tpasm1.8.tgz) = 191556


More information about the svn-ports-all mailing list