freebsd-ports/misc/dnetc/Makefile
Muhammad Moinur Rahman bbab7f59e9 */*: Sunset 12.4-RELEASE/12-STABLE from ports tree
- Remove all references to defunct ARCH arm
- Remove all references to defunct ARCH sparc64
- Remove x11-drivers/xf86-video-sunffb which requires defunct sparc64
  ARCH
- Remove sysutils/afbinit requires defunct sparc64 ARCH
- Remove all references to bktr driver
- Remove all references to defunct FreeBSD_12
- Remove all references to OSVERSION/OSREL corresponding to 12
- Remove conditionals in Mk/Uses/cabal.mk
- Remove sparc reference from Mk/Uses/qt-dist.mk
- Remove BROKEN_sparc64/NOT_FOR_ARCH=sparc64
- Remove BROKEN_FreeBSD_12* from:
- Remove OpenSSL patches from:
- Remove conditional flags for OSVERSION >= 1300000 to fixed flags.
  Also move conditional flags for non sparc64/arm ARCH to fixed flags.

Reviewed by:	brooks, jbeich, rene, salvadore
Differential Revision: https://reviews.freebsd.org/D42068
2023-12-31 01:37:05 +01:00

61 lines
1.7 KiB
Makefile

PORTNAME= dnetc
PORTVERSION= ${VERSION}
PORTREVISION= ${REVISION:U0}
PORTEPOCH= 1
CATEGORIES= misc
MASTER_SITES= http://http.distributed.net/pub/dcti/v${PORTVERSION:R}/ \
ftp://ftp.distributed.net/pub/dcti/v${PORTVERSION:R}/
# This is architecture dependent
DISTNAME= dnetc${PORTVERSION:E}-freebsd-${ARCH:S/i386/x86/:S/powerpc64/powerpc/}-elf
MAINTAINER= tdb@FreeBSD.org
COMMENT= Distributed.net distributed computing project client
WWW= https://www.distributed.net/
# These are architecture dependent
WRKSRC= ${WRKDIR}/dnetc${PORTVERSION:E}-freebsd-${ARCH:S/i386/x86/:S/powerpc64/powerpc/}-elf
DISTINFO_FILE= ${MASTERDIR}/distinfo.${ARCH:S/powerpc64/powerpc/}
ONLY_FOR_ARCHS= amd64 i386 powerpc powerpc64
USE_RC_SUBR= dnetc
NO_BUILD= yes
BINDIR= ${PREFIX}/distributed.net
USERS= dnetc
GROUPS= dnetc
SUB_FILES= pkg-message
SUB_LIST= BINDIR="${BINDIR}"
.include <bsd.port.pre.mk>
.if ${ARCH} == i386
VERSION= 2.9112.521
DISTNAME= dnetc${PORTVERSION:E}-freebsd9-${ARCH:S/i386/x86/}
WRKSRC= ${WRKDIR}/dnetc${PORTVERSION:E}-freebsd9-${ARCH:S/i386/x86/}
.elif ${ARCH} == amd64
VERSION= 2.9112.521
DISTNAME= dnetc${PORTVERSION:E}-freebsd10-${ARCH}
WRKSRC= ${WRKDIR}/dnetc${PORTVERSION:E}-freebsd10-${ARCH}
.elif ${ARCH} == powerpc || ${ARCH} == powerpc64
VERSION= 2.9109.518
REVISION= 1
DISTNAME= dnetc${PORTVERSION:E}-freebsd8-powerpc
WRKSRC= ${WRKDIR}/dnetc${PORTVERSION:E}-freebsd8-powerpc
.else
# create a backstop for PORTVERSION for unimplemented arches to get a sane PKGNAME
VERSION= 0
.endif
do-install:
@${MKDIR} ${STAGEDIR}${BINDIR}
${INSTALL_PROGRAM} ${WRKSRC}/dnetc ${STAGEDIR}${BINDIR}
${INSTALL_MAN} ${WRKSRC}/dnetc.1 ${STAGEDIR}${PREFIX}/man/man1
${INSTALL_DATA} ${FILESDIR}/dnetc.ini ${STAGEDIR}${BINDIR}/dnetc.ini.sample
.include <bsd.port.post.mk>