- Update to 20121202 - Take maintainership Removed file(s): - files/fontfiles Makefile changed: +DIST_SUBDIR= figlet +DATADIR= ${PREFIX}/share/figlet +PLIST_SUB= DATADIR=${DATADIR:S|^${PREFIX}/||} +post-extract: Changed and refined: do-install: Generated and tested manually, tested with port test, sent with FreeBSD Port Tools 0.99_6 (mode: update, diff: ports) How-To-Repeat: portlint -A looks fine. port test: clean
copied from PR 174064: On Tue, Dec 04, 2012 at 11:31:54AM +0100, nemysis wrote: > Yes PkgNG is better but normally binary packages not have Options, and this > is needed to install additional Fonts, for this i have made an other PR > > ports/174063 : [PATCH] misc/figlet-fonts: update to 20121202, take maintainership I took a quick look at PR 174063: -RUN_DEPENDS= figlet:${PORTSDIR}/misc/figlet You may want to leave that in. I won't be adding a RUN_DEPENDS for figlet on the optional figlet-fonts. -- -- David (obrien@FreeBSD.org)
-# Generate pkg-plist from files/fontfiles. - -makelist: - ${CAT} ${FILESDIR}/fontfiles | ${SED} 's;^[^/]*/;share/figlet/;' \ - > ${PLIST} I may have missed someting, but why remove this helper? The "share/figlet/" should be "%%DATADIR%%" instead. But otherwise this is a very useful function.
Add RUN_DEPENDS= figlet:${PORTSDIR}/misc/figlet
On Tue, 4 Dec 2012 09:53:21 -0800 David O'Brien <obrien@FreeBSD.org> wrote: > -# Generate pkg-plist from files/fontfiles. > - > -makelist: > - ${CAT} ${FILESDIR}/fontfiles | ${SED} 's;^[^/]*/;share/figlet/;' \ > - > ${PLIST} > > I may have missed someting, but why remove this helper? > The "share/figlet/" should be "%%DATADIR%%" instead. Yes this was faulty in old Port i use %%DATADIR%% in all mine Ports. > But otherwise this is a very useful function. Please look there is now pkg-plist %%DATADIR%%/1943____.flf ...
On Tue, Dec 04, 2012 at 07:05:28PM +0100, nemysis wrote: > On Tue, 4 Dec 2012 09:53:21 -0800 David O'Brien <obrien@FreeBSD.org> wrote: > > -# Generate pkg-plist from files/fontfiles. > > - > > -makelist: > > - ${CAT} ${FILESDIR}/fontfiles | ${SED} 's;^[^/]*/;share/figlet/;' \ > > - > ${PLIST} > > > > I may have missed someting, but why remove this helper? > > The "share/figlet/" should be "%%DATADIR%%" instead. > > Yes this was faulty in old Port i use %%DATADIR%% in all mine Ports. I believe you're missing my point. Rather than delete all those lines, just make this change: - ${CAT} ${FILESDIR}/fontfiles | ${SED} 's;^[^/]*/;share/figlet/;' \ + ${CAT} ${FILESDIR}/fontfiles | ${SED} 's;^[^/]*/;%%DATADIR%%/;' \ -- -- David (obrien@FreeBSD.org)
Responsible Changed From-To: freebsd-ports-bugs->beech I'll take it
State Changed From-To: open->closed Committed, Thanks!