.desktop files and such. Modified by me to use /var/db/gnome instead or writing 'databases' all over /etc
36 lines
849 B
Makefile
36 lines
849 B
Makefile
# $OpenBSD: Makefile,v 1.1.1.1 2005/04/12 21:09:45 marcm Exp $
|
|
|
|
COMMENT= "utilities for 'desktop' entries"
|
|
|
|
DISTNAME= desktop-file-utils-0.10
|
|
CATEGORIES= devel
|
|
|
|
HOMEPAGE= http://freedesktop.org/wiki/Software_2fdesktop_2dfile_2dutils
|
|
|
|
# GPL
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
WANTLIB= c
|
|
|
|
MASTER_SITES= ${HOMEPAGE}releases/
|
|
|
|
MODULES= devel/gettext
|
|
|
|
LIB_DEPENDS= glib-2.0.0.0::devel/glib2 \
|
|
popt.0.3::devel/popt
|
|
|
|
BUILD_DEPENDS= :pkgconfig-*:devel/pkgconfig
|
|
|
|
CONFIGURE_STYLE= gnu
|
|
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
# This port has "/usr/local" hardcoded, we prefer ${LOCALBASE}
|
|
pre-build:
|
|
perl -pi -e "s,/usr/local,${LOCALBASE},g" ${WRKSRC}/src/eggdirfuncs.c
|
|
|
|
.include <bsd.port.mk>
|