2014-08-28 10:26:20 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.25 2014/08/28 10:26:20 ajacoutot Exp $
|
2009-02-09 13:32:10 +00:00
|
|
|
|
2012-04-04 07:54:55 +00:00
|
|
|
# Does _not_ depend on desktop-file-utils, hicolor-icon-theme,
|
|
|
|
# gtk-update-icon-cache, shared-mime-info... on purpose as it should
|
|
|
|
# only use whatever is available on the system at runtime.
|
2008-10-30 14:28:36 +00:00
|
|
|
|
|
|
|
COMMENT= utilities to assist desktop integration tasks
|
|
|
|
|
2014-08-28 10:26:20 +00:00
|
|
|
DISTNAME= xdg-utils-1.1.0-rc2
|
|
|
|
PKGNAME= xdg-utils-1.1.0rc2
|
|
|
|
|
|
|
|
DIST_SUBDIR= xdg-utils
|
|
|
|
MASTER_SITES0= http://cgit.freedesktop.org/xdg/xdg-utils/patch/?id=
|
|
|
|
PATCH_DIST_STRIP=-p1
|
|
|
|
IDS= a983a14293129ea94b634579a46dc69835e88e15 \
|
|
|
|
cba39e7a00abe27b3bff49e2d455bb30ad33dde6 \
|
|
|
|
495fa68306f6f5b0c0bb312e92f0f2a0e35fa567 \
|
|
|
|
50254545a0d2c181bf9bce4c7723044ee7186cb5 \
|
|
|
|
3eaf93ab3303e14813885b6b743b48a1c3b5a6ab \
|
|
|
|
316b9adc05c6d871360afb1195939c5fc975ccff \
|
|
|
|
ba265f969b9061d221915c2528122c44a85ad7c2 \
|
|
|
|
69adcfeb4679f75eb24f357f304715d3c014273b \
|
|
|
|
5913207e625a92b73cd9489aea4b7b10bf3eb855 \
|
|
|
|
34e033845ea6997bc4fdafd9bdd4856bfa5d0d36 \
|
|
|
|
7cd846d62e17f36be2f7d29e56188ddf6a6d72cb
|
|
|
|
.for i in ${IDS}
|
|
|
|
PATCHFILES += $i:0
|
|
|
|
.endfor
|
|
|
|
BUILD_DEPENDS += textproc/xmlto
|
2012-04-04 07:54:55 +00:00
|
|
|
|
2008-10-30 14:28:36 +00:00
|
|
|
CATEGORIES= devel
|
|
|
|
|
2014-08-28 10:26:20 +00:00
|
|
|
HOMEPAGE= http://portland.freedesktop.org/
|
2008-10-30 14:28:36 +00:00
|
|
|
|
2009-07-12 20:28:41 +00:00
|
|
|
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
|
|
|
|
|
2008-10-30 14:28:36 +00:00
|
|
|
# MIT
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
|
2014-08-28 10:26:20 +00:00
|
|
|
MASTER_SITES= http://people.freedesktop.org/~rdieter/xdg-utils/
|
2008-10-30 14:28:36 +00:00
|
|
|
|
2014-08-28 10:26:20 +00:00
|
|
|
PKG_ARCH= *
|
|
|
|
USE_GMAKE= Yes
|
2013-03-11 10:50:00 +00:00
|
|
|
NO_TEST= Yes
|
2012-04-04 07:54:55 +00:00
|
|
|
|
2012-04-09 09:39:15 +00:00
|
|
|
CONFIGURE_STYLE=gnu
|
2014-08-28 10:26:20 +00:00
|
|
|
#CONFIGURE_ENV= ac_cv_path_XMLTO=""
|
2008-10-30 14:28:36 +00:00
|
|
|
|
|
|
|
pre-configure:
|
2014-08-28 10:26:20 +00:00
|
|
|
perl -pi -e 's,/usr/local/share,${LOCALBASE}/share,g;' \
|
|
|
|
-e 's,/etc/xdg,${SYSCONFDIR}/xdg,g' \
|
|
|
|
${WRKSRC}/scripts/xdg-*.in
|
2008-10-30 14:28:36 +00:00
|
|
|
|
2008-11-01 19:30:07 +00:00
|
|
|
post-install:
|
|
|
|
# Official NetBeans does not know about OpenBSD, thus at least
|
|
|
|
# some java apps use 'email' and 'open' as fallbacks.
|
|
|
|
ln -s xdg-email ${PREFIX}/bin/email
|
|
|
|
ln -s xdg-open ${PREFIX}/bin/open
|
|
|
|
|
2008-10-30 14:28:36 +00:00
|
|
|
.include <bsd.port.mk>
|