openbsd-ports/devel/desktop-file-utils/Makefile
ajacoutot a5cc067d64 Under OpenBSD, desktop files are installed using INSTALL_DATA which is
defined in ports/infrastructure/mk/bsd.port.mk as:
    ${INSTALL} ${INSTALL_COPY} -o ${SHAREOWN} -g ${SHAREGRP} -m ${SHAREMODE}
SHAREMODE is defined under /usr/share/mk/bsd.own.mk as "444".

That means desktop files are installed with mode 444 which is wrong
because fd.o environments use these files to create menu structures,
links to applications... and a user should be able to edit the link icon
or menu he created.

Add a small patch that will give desktop files correct permissions when
update-desktop-database is run.
Consistency with others *nix OS.

While here, specify GPL version.

ok sthen@
2009-08-01 16:06:28 +00:00

33 lines
697 B
Makefile

# $OpenBSD: Makefile,v 1.17 2009/08/01 16:06:28 ajacoutot Exp $
COMMENT= utilities for 'desktop' entries
DISTNAME= desktop-file-utils-0.15
PKGNAME= ${DISTNAME}p0
CATEGORIES= devel
HOMEPAGE= http://freedesktop.org/wiki/Software/desktop-file-utils
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c pcre
MASTER_SITES= http://freedesktop.org/software/desktop-file-utils/releases/
MODULES= devel/gettext
LIB_DEPENDS= glib-2.0::devel/glib2
USE_LIBTOOL= Yes
CONFIGURE_STYLE=gnu
CONFIGURE_ARGS= ${CONFIGURE_SHARED}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
.include <bsd.port.mk>