From be78ae1d0a14f9c2e0f60fed33e45e852854fc00 Mon Sep 17 00:00:00 2001 From: jperkin Date: Fri, 17 May 2013 19:38:59 +0000 Subject: Fix packaging on SunOS. --- wm/enlightenment/Makefile | 18 +++++++++++++----- wm/enlightenment/PLIST | 3 ++- wm/enlightenment/PLIST.DragonFly | 2 -- 3 files changed, 15 insertions(+), 8 deletions(-) delete mode 100644 wm/enlightenment/PLIST.DragonFly (limited to 'wm') diff --git a/wm/enlightenment/Makefile b/wm/enlightenment/Makefile index bc9f38c4f90..e6ce3bbf07f 100644 --- a/wm/enlightenment/Makefile +++ b/wm/enlightenment/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.56 2013/02/16 11:24:45 wiz Exp $ +# $NetBSD: Makefile,v 1.57 2013/05/17 19:38:59 jperkin Exp $ DISTNAME= e16-0.16.8.8 PKGNAME= ${DISTNAME:S/e16/enlightenment/} @@ -36,11 +36,19 @@ SUBST_SED.paths= -e 's,@LOCALBASE@,${LOCALBASE},g' SUBST_SED.paths+= -e 's,@PREFIX@,${PREFIX},g' SUBST_SED.paths+= -e 's,@X11BASE@,${X11BASE},g' +PLIST_VARS+= libhack + +.include "../../mk/bsd.prefs.mk" + +.if ${OPSYS} == "DragonFly" || ${OPSYS} == "SunOS" +PLIST.libhack= yes +.endif + post-install: - ${FIND} ${PREFIX}/share/e16/themes -type d -print | \ - ${XARGS} ${CHMOD} ${BINMODE} - ${FIND} ${PREFIX}/share/e16/themes -type f -print | \ - ${XARGS} ${CHMOD} ${SHAREMODE} + ${FIND} ${DESTDIR}${PREFIX}/share/e16/themes -type d -print | \ + ${XARGS} ${CHMOD} ${BINMODE} + ${FIND} ${DESTDIR}${PREFIX}/share/e16/themes -type f -print | \ + ${XARGS} ${CHMOD} ${SHAREMODE} .include "../../audio/esound/buildlink3.mk" .include "../../converters/libiconv/buildlink3.mk" diff --git a/wm/enlightenment/PLIST b/wm/enlightenment/PLIST index 257171605d6..b7018a44672 100644 --- a/wm/enlightenment/PLIST +++ b/wm/enlightenment/PLIST @@ -1,9 +1,10 @@ -@comment $NetBSD: PLIST,v 1.13 2009/06/14 18:18:57 joerg Exp $ +@comment $NetBSD: PLIST,v 1.14 2013/05/17 19:38:59 jperkin Exp $ bin/e16 bin/edox bin/eesh bin/epp bin/starte16 +${PLIST.libhack}lib/libe16_hack.la share/e16/E-docs/exit1.png share/e16/E-docs/exit2.png share/e16/E-docs/next1.png diff --git a/wm/enlightenment/PLIST.DragonFly b/wm/enlightenment/PLIST.DragonFly deleted file mode 100644 index 3a71a72c0d0..00000000000 --- a/wm/enlightenment/PLIST.DragonFly +++ /dev/null @@ -1,2 +0,0 @@ -@comment $NetBSD: PLIST.DragonFly,v 1.1 2012/05/21 12:49:54 marino Exp $ -lib/libe16_hack.la -- cgit v1.2.3