pkgsrc-wip/netbsd-light-desktop-default-settings/Makefile
Aleksej Saushev 117322ad16 Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.
Mark packages that don't or might probably not have staged installation.
2012-10-03 18:15:31 +00:00

80 lines
3 KiB
Makefile

# $NetBSD: Makefile,v 1.5 2012/10/03 18:15:32 asau Exp $
#
DISTNAME= netbsd-light-desktop-default-settings-0.0
PKGREVISION= 1
CATEGORIES= x11
MASTER_SITES= # none
DISTFILES= # none
MAINTAINER= INSERT_YOUR_MAIL_ADDRESS_HERE
# TODO: point to wiki for this package
HOMEPAGE= http://wiki.NetBSD.org/
COMMENT= Default settings for NetBSD Light Desktop
#LICENSE= # TODO: (see mk/license.mk)
DEPENDS+= lightdm-gtk-greeter>=0:../../wip/lightdm-gtk-greeter
DEPENDS+= lxsession>=0:../../wip/lxsession
DEPENDS+ netbsd-icon-theme>=0:../../wip/netbsd-icon-theme
DEPENDS+= netbsd-light-desktop-artwork>=0:../../wip/netbsd-light-desktop-artwork
DEPENDS+= pcmanfm>=0.5:../../wip/pcmanfm
NO_CHECKSUM= yes
NO_BUILD= yes
USE_LANGUAGES= # none
USE_TOOL+= pax
MAKE_DIRS+= ${PKG_SYSCONFDIR}/xdg/lxsession/NetBSD
MAKE_DIRS+= ${PKG_SYSCONFDIR}/xdg/lxsession/NetBSD-Netbook
MAKE_DIRS+= ${PKG_SYSCONFDIR}/xdg/pcmanfm/netbsd-light-desktop
MAKE_DIRS+= ${PKG_SYSCONFDIR}/xdg/netbsd-light-desktop/menus
MAKE_DIRS+= ${PKG_SYSCONFDIR}/xdg/netbsd-light-desktop/lxdm
MAKE_DIRS+= ${PKG_SYSCONFDIR}/xdg/netbsd-light-desktop/libfm
MAKE_DIRS+= ${PKG_SYSCONFDIR}/xdg/netbsd-light-desktop/applications
EGDIR= ${PREFIX}/share/examples/netbsd-light-desktop
CONF_FILES+= ${EGDIR}/xdg/lxsession/NetBSD/desktop.conf \
${PKG_SYSCONFDIR}/xdg/lxsession/NetBSD/desktop.conf
CONF_FILES+= ${EGDIR}/xdg/lxsession/NetBSD/autostart \
${PKG_SYSCONFDIR}/xdg/lxsession/NetBSD/autostart
CONF_FILES+= ${EGDIR}/xdg/lxsession/NetBSD-Netbook/desktop.conf \
${PKG_SYSCONFDIR}/xdg/lxsession/NetBSD-Netbook/desktop.conf
CONF_FILES+= ${EGDIR}/xdg/lxsession/NetBSD-Netbook/autostart \
${PKG_SYSCONFDIR}/xdg/lxsession/NetBSD-Netbook/autostart
CONF_FILES+= ${EGDIR}/xdg/pcmanfm/netbsd-light-desktop/pcmanfm.conf \
${PKG_SYSCONFDIR}/xdg/pcmanfm/netbsd-light-desktop/pcmanfm.conf
CONF_FILES+= ${EGDIR}/xdg/netbsd-light-desktop/menus/lxde-applications.menu \
${PKG_SYSCONFDIR}/xdg/netbsd-light-desktop/menus/lxde-applications.menu
CONF_FILES+= ${EGDIR}/xdg/netbsd-light-desktop/lxdm/lxdm.conf \
${PKG_SYSCONFDIR}/xdg/netbsd-light-desktop/lxdm/lxdm.conf
CONF_FILES+= ${EGDIR}/xdg/netbsd-light-desktop/libfm/libfm.conf \
${PKG_SYSCONFDIR}/xdg/netbsd-light-desktop/libfm/libfm.conf
CONF_FILES+= ${EGDIR}/xdg/netbsd-light-desktop/applications/defaults.list \
${PKG_SYSCONFDIR}/xdg/netbsd-light-desktop/applications/defaults.list
do-extract:
${MKDIR} -p ${WRKSRC}
@${CP} -R ${FILESDIR}/* ${WRKSRC}
do-configure:
${FIND} ${WRKSRC} -type f -print | while read fn ; do \
mv $${fn} $${fn}.orig ; \
sed -e 's,@PKG_SYSCONFDIR@,${PKG_SYSCONFDIR},g' \
-e 's,@PREFIX@,${PREFIX},g' < $${fn}.orig > $${fn} ; \
done
${CHMOD} 755 ${WRKSRC}/bin/*
do-install:
${INSTALL_DATA_DIR} ${DESTDIR}${EGDIR}
cd ${WRKSRC:Q} && \
pax -rw -s ',.*/CVS.*,,' -s ',.*.orig$$,,' bin share ${DESTDIR}${PREFIX}/
cd ${WRKSRC:Q}/etc && \
pax -rw -s ',.*/CVS.*,,' -s ',.*.orig$$,,' xdg \
${DESTDIR}${PREFIX}/share/examples/netbsd-light-desktop/
# ttf-ubuntu-font-family
#Recommends: amixer,
# scrot,
# galculator
.include "../../mk/bsd.pkg.mk"