Annotation of pkgsrc/ham/gnuradio-core/Nocore.mk, Revision 1.3
1.3 ! mef 1: # $NetBSD: Nocore.mk,v 1.2 2014/10/17 09:51:56 mef Exp $
1.1 mef 2: # Default list for reducing PLIST
3: PLIST_MINUS= core
4: DEPENDS+= gnuradio-core-[0-9]*:../../ham/gnuradio-core
5:
6: # Remove the same files gnuradio-core installs
7: # Do a part of PLIST_SUBST and remove non real file listings
8: #.if empty(PKGBASE:Mgnuradio-core) && !empty(PLIST_MINUS)
9: post-install:
10: # Take care CONF_FILES stuff
11: ${MV} ${DESTDIR}${PREFIX}/etc/gnuradio/conf.d/* \
12: ${DESTDIR}${PREFIX}/${EGDIR}/
13: # to avoid sh: /bin/rm: argument list too long in case repeated..
14: ${RM} -f ${WRKDIR}/.PLIST.minus;
15: for i in ${PLIST_MINUS} ; do \
16: sed -e 's,$${PYSITELIB},${PYSITELIB},' \
1.3 ! mef 17: -e 's,$${PKGVERSION_NOREV},${PKGVERSION_NOREV},' \
1.1 mef 18: -e '/^@comment/d' \
19: -e '/^@pkgdir/d' \
20: ${PKGDIR}/../../ham/gnuradio-$$i/PLIST \
21: >> ${WRKDIR}/.PLIST.minus; \
22: done; \
23: (cd ${WRKDIR}/.destdir/${PREFIX}; \
24: ${RM} -f `cat ${WRKDIR}/.PLIST.minus` );
CVSweb <webmaster@jp.NetBSD.org>