summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjperkin <jperkin>2013-05-17 19:38:59 +0000
committerjperkin <jperkin>2013-05-17 19:38:59 +0000
commit345fb95e2f600f0f1d456fe8731fdee8abb08364 (patch)
treefe33d34e80e19e5f46cc44045031e108a66d71b0
parentd9600b193ddb97a4476cf03a82faada1d211de7c (diff)
downloadpkgsrc-345fb95e2f600f0f1d456fe8731fdee8abb08364.tar.gz
Fix packaging on SunOS.
-rw-r--r--wm/enlightenment/Makefile18
-rw-r--r--wm/enlightenment/PLIST3
-rw-r--r--wm/enlightenment/PLIST.DragonFly2
3 files changed, 15 insertions, 8 deletions
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