svn commit: r352091 - head/devel/xa65

Alexey Dokuchaev danfe at FreeBSD.org
Fri Apr 25 07:33:12 UTC 2014


Author: danfe
Date: Fri Apr 25 07:33:11 2014
New Revision: 352091
URL: http://svnweb.freebsd.org/changeset/ports/352091
QAT: https://qat.redports.org/buildarchive/r352091/

Log:
  - Define LICENSE (GPLv2), convert PLIST_FILES into traditional pkg-plist,
    as staging would make it long enough to warrant dedicated file
  - Stagify, amend pkg-descr, trim COMMENT, and generally clean the port up

Added:
  head/devel/xa65/pkg-plist   (contents, props changed)
Modified:
  head/devel/xa65/Makefile
  head/devel/xa65/pkg-descr

Modified: head/devel/xa65/Makefile
==============================================================================
--- head/devel/xa65/Makefile	Fri Apr 25 07:23:15 2014	(r352090)
+++ head/devel/xa65/Makefile	Fri Apr 25 07:33:11 2014	(r352091)
@@ -8,53 +8,32 @@ MASTER_SITES=	http://www.floodgap.com/re
 PKGNAMESUFFIX=	65
 
 MAINTAINER=	uffe at uffe.org
-COMMENT=	MOS-6502 two-pass cross-assembler for MOS 6502 and compatible CPUs
+COMMENT=	Two-pass cross-assembler for MOS 6502 and compatible CPUs
 
-OPTIONS_DEFINE=	DOCS EXAMPLES
-
-USES=	gmake
+LICENSE=	GPLv2
 
-MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" LD="${CC}" LDFLAGS="${LDFLAGS}"
+USES=		gmake
 
-MAN1=	file65.1 ldo65.1 printcbm.1 reloc65.1 uncpk.1 xa.1
-MLINKS=	xa.1 xa65.1
+MAKE_ARGS=	CC="${CC}" CFLAGS="${CFLAGS}" LD="${CC}" LDFLAGS="${LDFLAGS}"
 
 PORTDOCS=	*
 PORTEXAMPLES=	*
 
-PLIST_FILES=	bin/xa65 \
-		bin/file65 \
-		bin/ldo65 \
-		bin/reloc65 \
-		bin/printcbm \
-		bin/uncpk
-
-NO_STAGE=	yes
+OPTIONS_DEFINE=	DOCS EXAMPLES
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/xa ${PREFIX}/bin/xa65
+	${INSTALL_PROGRAM} ${WRKSRC}/xa ${STAGEDIR}${PREFIX}/bin/xa65
 .for file in file65 ldo65 reloc65 printcbm uncpk
-	${INSTALL_PROGRAM} ${WRKSRC}/${file} ${PREFIX}/bin
+	${INSTALL_PROGRAM} ${WRKSRC}/${file} ${STAGEDIR}${PREFIX}/bin
 .endfor
-
-.for man in ${MAN1}
-	${INSTALL_MAN} ${WRKSRC}/man/${man} ${MAN1PREFIX}/man/man1
+	${INSTALL_MAN} ${WRKSRC}/man/*.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
+	${LN} -sf xa.1 ${STAGEDIR}${MAN1PREFIX}/man/man1/xa65.1
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+.for doc in ChangeLog README.1st TODO
+	${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR}
 .endfor
-
-.include <bsd.port.options.mk>
-
-post-install:
-.if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
-.for doc in COPYING ChangeLog README.1st TODO
-	${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
-.endfor
-	${INSTALL_DATA} ${WRKSRC}/doc/* ${DOCSDIR}
-.endif
-
-.if ${PORT_OPTIONS:MEXAMPLES}
-	@${MKDIR} ${EXAMPLESDIR}
-	${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR}
-.endif
+	${INSTALL_DATA} ${WRKSRC}/doc/* ${STAGEDIR}${DOCSDIR}
+	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+	${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR}
 
 .include <bsd.port.mk>

Modified: head/devel/xa65/pkg-descr
==============================================================================
--- head/devel/xa65/pkg-descr	Fri Apr 25 07:23:15 2014	(r352090)
+++ head/devel/xa65/pkg-descr	Fri Apr 25 07:33:11 2014	(r352091)
@@ -1,6 +1,17 @@
-xa is a high-speed, two-pass portable cross-assembler.
-It understands mnemonics and generates code for:
-NMOS 6502s (such as 6502A, 6504, 6507, 6510, 7501, 8500, 8501, 8502 ...)
-CMOS 6502s (65C02 and Rockwell R65C02) and the 65816. 
+xa is a high-speed, two-pass portable cross-assembler.  It understands
+mnemonics and generates code for:
+
+  NMOS 6502s (such as 6502A, 6504, 6507, 6510, 7501, 8500, 8501, 8502, ...)
+  CMOS 6502s (65C02 and Rockwell R65C02) and the 65816
+
+Key amongst its features:
+
+  - C-like preprocessor (understands cpp for additional feature support)
+  - Rich expression syntax and pseudo-op vocabulary
+  - Multiple character sets
+  - Binary linking
+  - Supports o65 relocatable objects with a full linker and relocation
+    suite, as well as "bare" plain binary object files
+  - Block structure for label scoping
 
 WWW: http://www.floodgap.com/retrotech/xa/

Added: head/devel/xa65/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/xa65/pkg-plist	Fri Apr 25 07:33:11 2014	(r352091)
@@ -0,0 +1,13 @@
+bin/file65
+bin/ldo65
+bin/printcbm
+bin/reloc65
+bin/uncpk
+bin/xa65
+man/man1/file65.1.gz
+man/man1/ldo65.1.gz
+man/man1/printcbm.1.gz
+man/man1/reloc65.1.gz
+man/man1/uncpk.1.gz
+man/man1/xa.1.gz
+man/man1/xa65.1.gz


More information about the svn-ports-all mailing list