openbsd-ports/devel/xdg-user-dirs/Makefile

43 lines
1.2 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.10 2011/04/10 10:26:19 ajacoutot Exp $
COMMENT= utilities to manage well know user directories
DISTNAME= xdg-user-dirs-0.13
CATEGORIES= devel
REVISION= 0
HOMEPAGE= http://freedesktop.org/wiki/Software/xdg-user-dirs/
2009-07-12 16:28:41 -04:00
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= http://user-dirs.freedesktop.org/releases/
WANTLIB= c
MODULES= devel/gettext
CONFIGURE_STYLE= gnu
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
FAKE_FLAGS= sysconfdir=${PREFIX}/share/examples/xdg-user-dirs
# Under OpenBSD, we don't have generic directories containing login
# scripts (e.g. /etc/X11/xinit/xinitrc.d/) that login managers would
# check, so use the xdg autostart directory which is standard amongst
# fd.o Desktops. It us up to the Desktop package maintainer to add a
# RUN_DEPENDS on xdg-user-dirs{|-gtk} if he/she wants to enable this.
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/xdg-user-dirs/xdg/autostart/
${INSTALL_DATA} ${FILESDIR}/user-dirs-update.desktop \
${PREFIX}/share/examples/xdg-user-dirs/xdg/autostart/user-dirs-update.desktop
.include <bsd.port.mk>