mirror of
https://git.freebsd.org/ports.git
synced 2025-05-07 03:16:44 -04:00
It has been common practice to have one or more URLs at the end of the ports' pkg-descr files, one per line and prefixed with "WWW:". These URLs should point at a project website or other relevant resources. Access to these URLs required processing of the pkg-descr files, and they have often become stale over time. If more than one such URL was present in a pkg-descr file, only the first one was tarnsfered into the port INDEX, but for many ports only the last line did contain the port specific URL to further information. There have been several proposals to make a project URL available as a macro in the ports' Makefiles, over time. This commit implements such a proposal and moves one of the WWW: entries of each pkg-descr file into the respective port's Makefile. A heuristic attempts to identify the most relevant URL in case there is more than one WWW: entry in some pkg-descr file. URLs that are not moved into the Makefile are prefixed with "See also:" instead of "WWW:" in the pkg-descr files in order to preserve them. There are 1256 ports that had no WWW: entries in pkg-descr files. These ports will not be touched in this commit. The portlint port has been adjusted to expect a WWW entry in each port Makefile, and to flag any remaining "WWW:" lines in pkg-descr files as deprecated. Approved by: portmgr (tcberner)
70 lines
1.8 KiB
Makefile
70 lines
1.8 KiB
Makefile
PORTNAME= asmx
|
|
PORTVERSION= 1.8.2
|
|
PORTREVISION= 2
|
|
CATEGORIES= devel
|
|
MASTER_SITES= http://xi6.com/files/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Multi-CPU macro assembler for many major 8-bit and 16-bit CPUs
|
|
WWW= http://xi6.com/projects/asmx/
|
|
|
|
USES= zip
|
|
NO_WRKSUBDIR= yes
|
|
|
|
PORTDOCS= README.txt
|
|
|
|
OPTIONS_DEFINE= 1802 6502 6809 68HC11 68HC16 68000 8051 8085 F8 Z80 DOCS
|
|
OPTIONS_DEFAULT=1802 6502 6809 68HC11 68HC16 68000 8051 8085 F8 Z80
|
|
|
|
1802_DESC= RCA 1802
|
|
6502_DESC= MOS Technology 6502, 65C02 and 6502
|
|
6809_DESC= Motorola 6809
|
|
68HC11_DESC= Motorola 6800/6801/68HC11 and Hitachi 6303
|
|
68HC16_DESC= Motorola 68HC16
|
|
68000_DESC= Motorola 68000/68010
|
|
8051_DESC= Intel 8051
|
|
8085_DESC= Intel 8080 and 8085
|
|
F8_DESC= Fairchild F8
|
|
Z80_DESC= Zilog Z-80 and Nintendo Gameboy Z-80 variant
|
|
|
|
1802_ALL_TARGET= asmx-1802
|
|
1802_PLIST_FILES= bin/asmx-1802
|
|
6502_ALL_TARGET= asmx-6502
|
|
6502_PLIST_FILES= bin/asmx-6502
|
|
6809_ALL_TARGET= asmx-6809
|
|
6809_PLIST_FILES= bin/asmx-6809
|
|
68HC11_ALL_TARGET= asmx-68hc11
|
|
68HC11_PLIST_FILES= bin/asmx-68hc11
|
|
68HC16_ALL_TARGET= asmx-68hc16
|
|
68HC16_PLIST_FILES= bin/asmx-68hc16
|
|
68000_ALL_TARGET= asmx-68k
|
|
68000_PLIST_FILES= bin/asmx-68k
|
|
8051_ALL_TARGET= asmx-8051
|
|
8051_PLIST_FILES= bin/asmx-8051
|
|
8085_ALL_TARGET= asmx-8085
|
|
8085_PLIST_FILES= bin/asmx-8085
|
|
F8_ALL_TARGET= asmx-f8
|
|
F8_PLIST_FILES= bin/asmx-f8
|
|
Z80_ALL_TARGET= asmx-z80
|
|
Z80_PLIST_FILES= bin/asmx-z80
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
post-patch:
|
|
@${ECHO_CMD} >> ${WRKSRC}/asmguts.h
|
|
|
|
do-build:
|
|
.for f in ${ALL_TARGET}
|
|
(cd ${BUILD_WRKSRC} && ${CC} ${CFLAGS} ${f:S/asmx-/asm/}.c -o ${f})
|
|
.endfor
|
|
|
|
do-install:
|
|
.for f in ${ALL_TARGET}
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${f} ${STAGEDIR}${PREFIX}/bin
|
|
.endfor
|
|
|
|
do-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/README.txt ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|