38 lines
1.1 KiB
Makefile
38 lines
1.1 KiB
Makefile
# $OpenBSD: Makefile,v 1.13 2013/03/11 10:50:31 espie Exp $
|
|
|
|
COMMENT= utilities to manage well known user directories
|
|
|
|
DISTNAME= xdg-user-dirs-0.14
|
|
CATEGORIES= devel
|
|
|
|
HOMEPAGE= http://freedesktop.org/wiki/Software/xdg-user-dirs/
|
|
|
|
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
|
|
|
|
# GPLv2
|
|
PERMIT_PACKAGE_CDROM= 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 is 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>
|