aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2008-03-20 17:15:57 +0800
committerdanfe <danfe@FreeBSD.org>2008-03-20 17:15:57 +0800
commitb5e317f4981d7f7eb4fa298aaacfa87684509ca8 (patch)
tree2cc872453a0e90f3670310112c484a372b6010a1
parent05d2933729bf7cbed4ba41ec5c10a47225639df0 (diff)
downloadfreebsd-ports-gnome-b5e317f4981d7f7eb4fa298aaacfa87684509ca8.tar.gz
freebsd-ports-gnome-b5e317f4981d7f7eb4fa298aaacfa87684509ca8.tar.zst
freebsd-ports-gnome-b5e317f4981d7f7eb4fa298aaacfa87684509ca8.zip
- Update to version 1.4
- Install examples - Clean up Makefile - Pacify portlint
-rw-r--r--devel/tpasm/Makefile20
-rw-r--r--devel/tpasm/distinfo6
-rw-r--r--devel/tpasm/files/patch-Makefile4
-rw-r--r--devel/tpasm/pkg-plist2
4 files changed, 16 insertions, 16 deletions
diff --git a/devel/tpasm/Makefile b/devel/tpasm/Makefile
index 70c7f9ac6e9a..2c71fb59e8f2 100644
--- a/devel/tpasm/Makefile
+++ b/devel/tpasm/Makefile
@@ -6,31 +6,33 @@
#
PORTNAME= tpasm
-PORTVERSION= 1.2
-PORTREVISION= 1
+PORTVERSION= 1.4
CATEGORIES= devel
MASTER_SITES= ftp://ftp.ct0.com/pub/
DISTNAME= ${PORTNAME}${PORTVERSION}
EXTRACT_SUFX= .tgz
MAINTAINER= danfe@FreeBSD.org
-COMMENT= Cross-assembler for 680x, 68hc11, 6502, Sunplus, 8051, Z80, PIC, AVR
-
-WRKSRC= ${WRKDIR}/${PORTNAME}
+COMMENT= Cross-assembler for 680x, 68HC11, 6502, Sunplus, 8051, Z80, PIC, AVR
USE_GMAKE= yes
+PORTDOCS= *
+PORTEXAMPLES= *
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
-
@${MKDIR} ${PREFIX}/libdata/${PORTNAME}
.for file in 8051 8052 80c390 avr p16c505 picmacros
- ${INSTALL_DATA} ${WRKSRC}/include/${file}.inc ${PREFIX}/libdata/${PORTNAME}
+ ${INSTALL_DATA} ${WRKSRC}/include/${file}.inc \
+ ${PREFIX}/libdata/${PORTNAME}
.endfor
-
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/MANUAL.TXT ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/MANUAL.TXT ${WRKSRC}/README*.TXT ${DOCSDIR}
+.endif
+.if !defined(NOPORTEXAMPLES)
+ @${MKDIR} ${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/samples/* ${EXAMPLESDIR}
.endif
.include <bsd.port.mk>
diff --git a/devel/tpasm/distinfo b/devel/tpasm/distinfo
index 738e8fa0a4b1..34efcb134ec1 100644
--- a/devel/tpasm/distinfo
+++ b/devel/tpasm/distinfo
@@ -1,3 +1,3 @@
-MD5 (tpasm1.2.tgz) = 9f4ca5d18a99aae5e9074e1a0bc0d32e
-SHA256 (tpasm1.2.tgz) = 6e55aaa1c51020d1fd537aa4fe3ecc32248cc0f5b676a1aafa28f66001941252
-SIZE (tpasm1.2.tgz) = 152141
+MD5 (tpasm1.4.tgz) = 9a1f6db0b045123eaaf58d73da372a9c
+SHA256 (tpasm1.4.tgz) = 894266745514ca3874e812ce5f2784fb159d7c00c832d2679cea55c9f41a220a
+SIZE (tpasm1.4.tgz) = 188451
diff --git a/devel/tpasm/files/patch-Makefile b/devel/tpasm/files/patch-Makefile
index 94629960fa94..ef7cbd2deb42 100644
--- a/devel/tpasm/files/patch-Makefile
+++ b/devel/tpasm/files/patch-Makefile
@@ -4,9 +4,9 @@
# new gnu compilers have a really annoying default behavior of wrapping
# error message lines. The default should be NO-WRAPPING.
--OPTIONS=-O2 -Wall -x c++ -fmessage-length=0
+-OPTIONS=-O2 -Wall -x c++ -fmessage-length=0 -fno-exceptions
-CFLAGS=$(INCLUDES) $(OPTIONS)
-+OPTIONS=-x c++
++OPTIONS=-x c++ -fmessage-length=0 -fno-exceptions
+CFLAGS+=$(INCLUDES) $(OPTIONS)
OBJECTS = \
diff --git a/devel/tpasm/pkg-plist b/devel/tpasm/pkg-plist
index 5d1daa03d08a..a178e7f1e9cf 100644
--- a/devel/tpasm/pkg-plist
+++ b/devel/tpasm/pkg-plist
@@ -6,5 +6,3 @@ libdata/tpasm/avr.inc
libdata/tpasm/p16c505.inc
libdata/tpasm/picmacros.inc
@dirrm libdata/tpasm
-%%PORTDOCS%%%%DOCSDIR%%/MANUAL.TXT
-%%PORTDOCS%%@dirrm share/doc/tpasm