pkgsrc/emulators/simh/Makefile
reed 5abef9be14 Over 1200 files touched but no revisions bumped :)
RECOMMENDED is removed. It becomes ABI_DEPENDS.

BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo.

BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo.

BUILDLINK_DEPENDS does not change.

IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS
which defaults to "yes".

Added to obsolete.mk checking for IGNORE_RECOMMENDED.

I did not manually go through and fix any aesthetic tab/spacing issues.

I have tested the above patch on DragonFly building and packaging
subversion and pkglint and their many dependencies.

I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I
have used IGNORE_RECOMMENDED for a long time). I have been an active user
of IGNORE_RECOMMENDED since it was available.

As suggested, I removed the documentation sentences suggesting bumping for
"security" issues.

As discussed on tech-pkg.

I will commit to revbump, pkglint, pkg_install, createbuildlink separately.

Note that if you use wip, it will fail!  I will commit to pkgsrc-wip
later (within day).
2006-04-06 06:21:32 +00:00

47 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.25 2006/04/06 06:21:59 reed Exp $
#
DISTNAME= simhv33-0
PKGNAME= simh-3.3.0
PKGREVISION= 1
CATEGORIES= emulators
MASTER_SITES= http://simh.trailing-edge.com/sources/
EXTRACT_SUFX= .zip
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://simh.trailing-edge.com/
COMMENT= Bob Supnik's historical computer simulator
BUILDLINK_API_DEPENDS.libpcap+= libpcap>=0.6
EXTRACT_OPTS_ZIP= -aoq
WRKSRC= ${WRKDIR}
.include "../../mk/bsd.prefs.mk"
.if (${MACHINE_ARCH} == "arm")
.if (${CFLAGS:M-O2} == "-O2")
CFLAGS:= ${CFLAGS:S/-O2//}
.endif
.endif
INSTALLATION_DIRS= bin
post-extract:
${MKDIR} ${WRKSRC}/BIN
${MV} ${WRKSRC}/makefile ${WRKSRC}/Makefile
do-install:
(cd ${WRKSRC}/BIN && for BIN in *; do \
${INSTALL_PROGRAM} $$BIN ${PREFIX}/bin/simh-$$BIN; \
done)
${INSTALL_DATA_DIR} ${PREFIX}/share/simh
${INSTALL_DATA} ${WRKSRC}/VAX/ka655.bin ${PREFIX}/share/simh
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/simh
(cd ${WRKSRC} && for TXT in *.txt */*.txt; do \
${INSTALL_DATA} $$TXT ${PREFIX}/share/doc/simh; \
done)
.include "../../net/libpcap/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"