[Stagedir] x11-fonts/sgifonts pending issues
A.J. 'Fonz' van Werven
freebsd at skysmurf.nl
Mon Jun 9 18:41:57 UTC 2014
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?
-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.
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]
--
I'm not completely useless, I can be used as a bad example.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sgifonts.patch
Type: text/x-diff
Size: 2729 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20140609/33214b61/attachment.patch>
More information about the freebsd-ports
mailing list