openbsd-ports/devel/desktop-file-utils/Makefile
2005-04-27 21:45:58 +00:00

36 lines
871 B
Makefile

# $OpenBSD: Makefile,v 1.4 2005/04/27 21:45:58 alek 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= http://freedesktop.org/software/desktop-file-utils/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>