- 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
This commit is contained in:
Alexey Dokuchaev 2014-04-25 07:33:11 +00:00
parent 5ccf5e23b2
commit 597ae69166
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=352091
3 changed files with 43 additions and 40 deletions

View file

@ -8,53 +8,32 @@ MASTER_SITES= http://www.floodgap.com/retrotech/xa/dists/
PKGNAMESUFFIX= 65
MAINTAINER= uffe@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
LICENSE= GPLv2
USES= gmake
USES= gmake
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" LD="${CC}" LDFLAGS="${LDFLAGS}"
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>

View file

@ -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/

13
devel/xa65/pkg-plist Normal file
View file

@ -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