View | Details | Raw Unified | Return to bug 174183 | Differences between
and this patch

Collapse All | Expand All

(-)devel/tpasm/Makefile (-11 / +18 lines)
Lines 1-12 Link Here
1
# New ports collection makefile for:	tpasm
1
# Created by: Alexey Dokuchaev <danfe@regency.nsu.ru>
2
# Date created:				13 Feb 2003
3
# Whom:					Alexey Dokuchaev <danfe@regency.nsu.ru>
4
#
5
# $FreeBSD: head/devel/tpasm/Makefile 300896 2012-07-14 13:54:48Z beat $
2
# $FreeBSD: head/devel/tpasm/Makefile 300896 2012-07-14 13:54:48Z beat $
6
#
7
3
8
PORTNAME=	tpasm
4
PORTNAME=	tpasm
9
PORTVERSION=	1.6
5
PORTVERSION=	1.8
10
CATEGORIES=	devel
6
CATEGORIES=	devel
11
MASTER_SITES=	ftp://ftp.ct0.com/pub/
7
MASTER_SITES=	ftp://ftp.ct0.com/pub/
12
DISTNAME=	${PORTNAME}${PORTVERSION}
8
DISTNAME=	${PORTNAME}${PORTVERSION}
Lines 18-38 Link Here
18
LICENSE=	GPLv2
14
LICENSE=	GPLv2
19
15
20
USE_GMAKE=	yes
16
USE_GMAKE=	yes
17
MAKE_JOBS_SAFE=	yes
18
21
PORTDOCS=	*
19
PORTDOCS=	*
22
PORTEXAMPLES=	*
20
PORTEXAMPLES=	*
23
21
22
post-patch:
23
	@${REINPLACE_CMD} -e \
24
		's|-O2|| ; \
25
		 s|CFLAGS=|CFLAGS+=| ; \
26
		 s|$$(CC) -O|$$(CXX) $$(LDFLAGS)| ; \
27
		 s|-lstdc++||' ${WRKSRC}/Makefile
28
24
do-install:
29
do-install:
25
	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
30
	(cd ${WRKSRC} && ${INSTALL_PROGRAM} ${PORTNAME} ${PREFIX}/bin)
26
	@${MKDIR} ${PREFIX}/libdata/${PORTNAME}
31
	@${MKDIR} ${PREFIX}/libdata/${PORTNAME}
27
	${INSTALL_DATA} ${WRKSRC}/include/* ${PREFIX}/libdata/${PORTNAME}
32
	(cd ${WRKSRC}/include \
33
		&& ${INSTALL_DATA} * ${PREFIX}/libdata/${PORTNAME})
28
.if !defined(NOPORTDOCS)
34
.if !defined(NOPORTDOCS)
29
	@${MKDIR} ${DOCSDIR}
35
	@${MKDIR} ${DOCSDIR}
30
	${INSTALL_DATA} ${WRKSRC}/CONVERSION_C166.TXT ${WRKSRC}/MANUAL.TXT \
36
.for i in CONVERSION_C166.TXT MANUAL.TXT README*.TXT
31
		${WRKSRC}/README*.TXT ${DOCSDIR}
37
	(cd ${WRKSRC} && ${INSTALL_DATA} ${i} ${DOCSDIR})
38
.endfor
32
.endif
39
.endif
33
.if !defined(NOPORTEXAMPLES)
40
.if !defined(NOPORTEXAMPLES)
34
	@${MKDIR} ${EXAMPLESDIR}
41
	@${MKDIR} ${EXAMPLESDIR}
35
	${INSTALL_DATA} ${WRKSRC}/samples/* ${EXAMPLESDIR}
42
	(cd ${WRKSRC}/samples && ${INSTALL_DATA} * ${EXAMPLESDIR})
36
.endif
43
.endif
37
44
38
.include <bsd.port.mk>
45
.include <bsd.port.mk>
(-)devel/tpasm/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (tpasm1.6.tgz) = eab97ef41e8b63c2d05d384cefe9fc89fad4890f904a9f6acf14a10728fa7e63
1
SHA256 (tpasm1.8.tgz) = 2664b76a5eccd5ee8d32a712cadb074f3d94f95cfaff729980e5626fd95c1921
2
SIZE (tpasm1.6.tgz) = 188901
2
SIZE (tpasm1.8.tgz) = 191556
(-)devel/tpasm/files/patch-Makefile (-13 lines)
Lines 1-13 Link Here
1
--- Makefile.orig	Thu Feb 13 19:58:06 2003
2
+++ Makefile	Thu Feb 13 19:58:18 2003
3
@@ -17,8 +17,8 @@
4
 
5
 # new gnu compilers have a really annoying default behavior of wrapping
6
 # error message lines. The default should be NO-WRAPPING.
7
-OPTIONS=-O2 -Wall -x c++ -fmessage-length=0 -fno-exceptions
8
-CFLAGS=$(INCLUDES) $(OPTIONS)
9
+OPTIONS=-x c++ -fmessage-length=0 -fno-exceptions
10
+CFLAGS+=$(INCLUDES) $(OPTIONS)
11
 
12
 OBJECTS = \
13
 	globals.o \

Return to bug 174183