[Stagedir] x11-fonts/sgifonts pending issues

Rainer Hurling rhurlin at gwdg.de
Mon Jun 9 19:33:14 UTC 2014


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 at 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]



More information about the freebsd-ports mailing list