if xdg-utils are installed already, grc_setup_freedesktop is installed. (gnuradio-companion/Makefile) (gnuradio-companion/PLIST) - Add DEPENDS misc/xdg-utils - Add REPLACE_BASH for above newly installed script - Bump PKGREVISION Related changes, problem was hidden if PKGREVISION was empty. (gnuradio-core/Makefile.common) -> PLIST_SUBST (gnuradio-core/Nocore.mk) -> sed STRING (gnuradio-core/PLIST) - shared library was suffixed as ${PKGVERSION}, but this should be ${PKGVERSION_NOREV} instead. Above files are affected. (gnuradio-core/files/REPLACE_PYTHON) - Add one file grc/python/flow_graph.tmpl
24 lines
943 B
Makefile
24 lines
943 B
Makefile
# $NetBSD: Nocore.mk,v 1.3 2014/10/28 06:41:20 mef Exp $
|
|
# Default list for reducing PLIST
|
|
PLIST_MINUS= core
|
|
DEPENDS+= gnuradio-core-[0-9]*:../../ham/gnuradio-core
|
|
|
|
# Remove the same files gnuradio-core installs
|
|
# Do a part of PLIST_SUBST and remove non real file listings
|
|
#.if empty(PKGBASE:Mgnuradio-core) && !empty(PLIST_MINUS)
|
|
post-install:
|
|
# Take care CONF_FILES stuff
|
|
${MV} ${DESTDIR}${PREFIX}/etc/gnuradio/conf.d/* \
|
|
${DESTDIR}${PREFIX}/${EGDIR}/
|
|
# to avoid sh: /bin/rm: argument list too long in case repeated..
|
|
${RM} -f ${WRKDIR}/.PLIST.minus;
|
|
for i in ${PLIST_MINUS} ; do \
|
|
sed -e 's,$${PYSITELIB},${PYSITELIB},' \
|
|
-e 's,$${PKGVERSION_NOREV},${PKGVERSION_NOREV},' \
|
|
-e '/^@comment/d' \
|
|
-e '/^@pkgdir/d' \
|
|
${PKGDIR}/../../ham/gnuradio-$$i/PLIST \
|
|
>> ${WRKDIR}/.PLIST.minus; \
|
|
done; \
|
|
(cd ${WRKDIR}/.destdir/${PREFIX}; \
|
|
${RM} -f `cat ${WRKDIR}/.PLIST.minus` );
|