Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 09 Jun 2014 21:08:00 +0200
From:      Rainer Hurling <rhurlin@gwdg.de>
To:        "A.J. 'Fonz' van Werven" <freebsd@skysmurf.nl>,  FreeBSD ports mailing list <freebsd-ports@freebsd.org>
Subject:   Re: [Stagedir] x11-fonts/sgifonts pending issues
Message-ID:  <53960610.7040004@gwdg.de>
In-Reply-To: <20140609184153.GA97049@spectrum.skysmurf.nl>
References:  <20140609184153.GA97049@spectrum.skysmurf.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
Am 09.06.2014 20:41, schrieb A.J. 'Fonz' van Werven:
> Attempting to stagify x11-fonts/sgifonts I'm still stuck with two issues:
> 
> -1-
> 
> No license is specified. There's no clue in the distfile and the WWW only
> reveals that this port is part of a collection of things that are either
> GPL or LGPL, but it doesn't specify which is which. And the authors can
> only be contacted by registering and requesting a support ticket.
> 
> So, is it permissible-although-undesirable to leave LICENSE unspecified?
> Or is there another recommended solution?

One possibility could be

LICENSE=        GPLv2 LGPL21
LICENSE_COMB=   dual

'dual' means OR, 'multi' means AND, see Mk/bsd.licenses.mk


> 
> -2-
> 
> # portmaster x11-fonts/sgifonts
> still results in pkg-message being displayed twice. So there must be
> *something* I'm doing wrong, but I can't seem to figure out what. Any
> advice?
> 
> The Makefile as I have it now locally follows below and I've attached a
> patch for those who want it because I had to replace manual creation of
> pkg-message (using ${ECHO_CMD} stuff in the Makefile) with use of
> files/pkg-message.in.

Hmm, I am not sure. But did you really need SUB_FILES=pkg-message ?

Regards,
Rainer

> 
> Thanks in advance,
> 
> AvW
> 
> [/usr/ports/x11-fonts/sgifonts/Makefile]
> # Created by: trevor
> # $FreeBSD: head/x11-fonts/sgifonts/Makefile 327781 2013-09-20 23:51:14Z bapt $
> 
> PORTNAME=	sgifonts
> PORTVERSION=	1.0.1
> PORTREVISION=	2
> CATEGORIES=	x11-fonts
> MASTER_SITES=	ftp://patches-europe.sgi.com/pub/linux/ProPack1.4/SRPMS/ \
> 		ftp://ftp.rediris.es/sites/patches-europe.sgi.com/pub/linux/ProPack1.4/SRPMS/ \
> 		http://www.skysmurf.nl/comp/FreeBSD/distfiles/
> DISTNAME=	sgi-fonts-1.0-1.src
> EXTRACT_SUFX=	.rpm
> 
> MAINTAINER=	freebsd@skysmurf.nl
> COMMENT=	Fonts from the SGI ProPack 1.4 (originally for Linux)
> 
> BUILD_DEPENDS=		bdftopcf:${PORTSDIR}/x11-fonts/bdftopcf \
> 			mkfontdir:${PORTSDIR}/x11-fonts/mkfontdir
> 
> SUB_FILES=	pkg-message
> SUB_LIST=	FONTDIR=${FONTDIR}
> FONTDIR=	lib/X11/fonts/local/sgi
> PLIST=		${WRKDIR}/pkg-plist
> PLIST_DIRS=	${FONTDIR}
> USES=		imake
> EXTRACT_CMD=	${TAR}
> EXTRACT_BEFORE_ARGS=	-O -xf
> EXTRACT_AFTER_ARGS=	sgi-fonts.tar.gz | ${TAR} -xf -
> WRKSRC=		${WRKDIR}/sgi-fonts
> 
> post-build:
> 	@${RM} -f ${PLIST}
> 	@cd ${WRKSRC}; \
> 		for foo in `${LS} *gz fonts.alias fonts.dir|${SORT}`; \
> 		do ${ECHO_CMD} ${FONTDIR}/$${foo} >> ${PLIST}; done
> 
> do-install:
> 	${MKDIR} ${STAGEDIR}${PREFIX}/${FONTDIR}
> 	${INSTALL_DATA} ${WRKSRC}/*gz ${STAGEDIR}${PREFIX}/${FONTDIR}
> 	${INSTALL_DATA} ${WRKSRC}/fonts* ${STAGEDIR}${PREFIX}/${FONTDIR}
> 
> .include <bsd.port.mk>
> [eof]




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53960610.7040004>